xo::db::sql::acs_message proc new_file (public)

 xo::db::sql::acs_message[i] new_file [ -dbn dbn ] -message_id message_id  \
    [ -file_id file_id ] -file_name file_name  [ -title title ] \
    [ -description description ] [ -mime_type mime_type ] \
    [ -data data ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -is_live is_live ] [ -storage_type storage_type ] \
    [ -package_id package_id ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl

Automatically generated method

Switches:
-dbn (optional)
-message_id (required)
-file_id (optional)
-file_name (required)
-title (optional)
-description (optional)
-mime_type (optional, defaults to "text/plain")
-data (optional)
-creation_date (optional, defaults to "sysdate")
-creation_user (optional)
-creation_ip (optional)
-is_live (optional, defaults to "t")
-storage_type (optional, defaults to "file")
-package_id (optional)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: