xo::db::sql::content_item proc new (public)
xo::db::sql::content_item new [ -dbn dbn ] -name name \ [ -parent_id parent_id ] [ -item_id item_id ] [ -locale locale ] \ [ -creation_date creation_date ] [ -creation_user creation_user ] \ [ -context_id context_id ] [ -creation_ip creation_ip ] \ [ -item_subtype item_subtype ] [ -content_type content_type ] \ [ -title title ] [ -description description ] \ [ -mime_type mime_type ] [ -nls_language nls_language ] \ [ -text text ] [ -data data ] [ -relation_tag relation_tag ] \ [ -is_live is_live ] [ -storage_type storage_type ] \ [ -package_id package_id ] [ -with_child_rels with_child_rels ] \ [ -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)
- -locale (optional)
- -creation_date (optional, defaults to
"now"
)- -creation_user (optional)
- -context_id (optional)
- -creation_ip (optional)
- -item_subtype (optional, defaults to
"content_item"
)- -content_type (optional, defaults to
"content_revision"
)- -title (optional)
- -description (optional)
- -mime_type (optional, defaults to
"text/plain"
)- -nls_language (optional)
- -text (optional)
- -data (optional)
- -relation_tag (optional)
- -is_live (optional, defaults to
"f"
)- -storage_type (optional)
- -package_id (optional)
- -with_child_rels (optional, defaults to
"t"
)- -childof (optional)
- Testcases:
- xotcl_core_tutorial_4