xo::db::sql::content_revision proc new (public)
xo::db::sql::content_revision new [ -dbn dbn ] -title title \ [ -description description ] [ -publish_date publish_date ] \ [ -mime_type mime_type ] [ -nls_language nls_language ] \ [ -text text ] -item_id item_id [ -revision_id revision_id ] \ [ -creation_date creation_date ] [ -creation_user creation_user ] \ [ -creation_ip creation_ip ] [ -content_length content_length ] \ [ -package_id package_id ] [ -childof childof ]
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn (optional)
- -title (required)
- -description (optional)
- -publish_date (optional, defaults to
"now()"
)- -mime_type (optional, defaults to
"text/plain"
)- -nls_language (optional)
- -text (optional, defaults to
" "
)- -item_id (required)
- -revision_id (optional)
- -creation_date (optional, defaults to
"now()"
)- -creation_user (optional)
- -creation_ip (optional)
- -content_length (optional)
- -package_id (optional)
- -childof (optional)
- Testcases:
- No testcase defined.