Home
The Toolkit for Online Communities
15903 Community Members, 0 members online, 1941 visitors today
Log In Register

file-procs.tcl

OpenACS Home : ACS API Browser : ACS Templating 5.5.1 : file-procs.tcl
Publicity:
[Public Only | All]

file-procs.tcl


Procedures in this file

Detailed information

template::data::validate::file (public)

template::data::validate::file value_ref message_ref
Our file widget can't fail

Parameters:
value_ref
message_ref
Returns:
true
 

template::util::file::get_property (public)

template::util::file::get_property what file_list
Return a property from a file datatype structure.

Parameters:
what - Which property to return (filename, etc).
file_list - The file datatype structure.
Returns:
The requested property from the file datatype structure.
 

template::util::file_transform (public)

template::util::file_transform element_id
Helper proc, which gets AOLserver's variables from the query/form, and returns it as a 'file' datatype value.

Parameters:
element_id
Returns:
the list { file_name temp_file_name content_mime_type }.