xo::db::sql::image proc new (public)
xo::db::sql::image new [ -dbn dbn ] -name name \ [ -parent_id parent_id ] [ -item_id item_id ] \ [ -revision_id revision_id ] [ -mime_type mime_type ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -relation_tag relation_tag ] [ -title title ] \ [ -description description ] [ -is_live is_live ] \ [ -publish_date publish_date ] -path path -file_size file_size \ -height height -width width [ -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)
- -name (required)
- -parent_id (optional)
- -item_id (optional)
- -revision_id (optional)
- -mime_type (optional, defaults to
"jpeg"
)- -creation_user (optional)
- -creation_ip (optional)
- -relation_tag (optional)
- -title (optional)
- -description (optional)
- -is_live (optional, defaults to
"f"
)- -publish_date (optional, defaults to
"now()"
)- -path (required)
- -file_size (required)
- -height (required)
- -width (required)
- -package_id (optional)
- -childof (optional)
- Testcases:
- No testcase defined.