- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::content_item
::xo::db::sql::content_item create ...
Defined in
Class Relations
Methods (to be applied on the object)
copy (scripted, public)
xo::db::sql::content_item copy [ -dbn dbn ] -item_id item_id \ -target_folder_id target_folder_id -creation_user creation_user \ [ -creation_ip creation_ip ] [ -name name ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -target_folder_id (required)
- -creation_user (required)
- -creation_ip (optional)
- -name (optional)
- Testcases:
- No testcase defined.
copy2 (scripted, public)
xo::db::sql::content_item copy2 [ -dbn dbn ] -item_id item_id \ -target_folder_id target_folder_id -creation_user creation_user \ [ -creation_ip creation_ip ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -target_folder_id (required)
- -creation_user (required)
- -creation_ip (optional)
- Testcases:
- No testcase defined.
del (scripted, public)
xo::db::sql::content_item del [ -dbn dbn ] -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
delete (scripted, public)
xo::db::sql::content_item delete [ -dbn dbn ] -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
edit_name (scripted, public)
xo::db::sql::content_item edit_name [ -dbn dbn ] -item_id item_id \ -name nameAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -name (required)
- Testcases:
- No testcase defined.
generic_move (scripted, public)
xo::db::sql::content_item generic_move [ -dbn dbn ] -item_id item_id \ -target_item_id target_item_id -name nameAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -target_item_id (required)
- -name (required)
- Testcases:
- No testcase defined.
get_best_revision (scripted, public)
xo::db::sql::content_item get_best_revision [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
get_content_type (scripted, public)
xo::db::sql::content_item get_content_type [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
get_context (scripted, public)
xo::db::sql::content_item get_context [ -dbn dbn ] -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
get_id (scripted, public)
xo::db::sql::content_item get_id [ -dbn dbn ] -item_path item_path \ [ -root_folder_id root_folder_id ] \ [ -resolve_index resolve_index ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_path (required)
- -root_folder_id (optional)
- -resolve_index (optional, defaults to
"f"
)- Testcases:
- No testcase defined.
get_latest_revision (scripted, public)
xo::db::sql::content_item get_latest_revision [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
get_live_revision (scripted, public)
xo::db::sql::content_item get_live_revision [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
get_parent_folder (scripted, public)
xo::db::sql::content_item get_parent_folder [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
get_path (scripted, public)
xo::db::sql::content_item get_path [ -dbn dbn ] -item_id item_id \ [ -root_folder_id root_folder_id ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -root_folder_id (optional)
- Testcases:
- No testcase defined.
get_publish_date (scripted, public)
xo::db::sql::content_item get_publish_date [ -dbn dbn ] \ -item_id item_id [ -is_live is_live ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -is_live (optional, defaults to
"f"
)- Testcases:
- No testcase defined.
get_revision_count (scripted, public)
xo::db::sql::content_item get_revision_count [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
get_root_folder (scripted, public)
xo::db::sql::content_item get_root_folder [ -dbn dbn ] \ [ -item_id item_id ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (optional)
- Testcases:
- No testcase defined.
get_template (scripted, public)
xo::db::sql::content_item get_template [ -dbn dbn ] -item_id item_id \ -use_context use_contextAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -use_context (required)
- Testcases:
- No testcase defined.
get_title (scripted, public)
xo::db::sql::content_item get_title [ -dbn dbn ] -item_id item_id \ [ -is_live is_live ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -is_live (optional, defaults to
"f"
)- Testcases:
- No testcase defined.
get_virtual_path (scripted, public)
xo::db::sql::content_item get_virtual_path [ -dbn dbn ] \ -item_id item_id [ -root_folder_id root_folder_id ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -root_folder_id (optional)
- Testcases:
- No testcase defined.
is_index_page (scripted, public)
xo::db::sql::content_item is_index_page [ -dbn dbn ] -item_id item_id \ -folder_id folder_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -folder_id (required)
- Testcases:
- No testcase defined.
is_publishable (scripted, public)
xo::db::sql::content_item is_publishable [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
is_published (scripted, public)
xo::db::sql::content_item is_published [ -dbn dbn ] -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
is_subclass (scripted, public)
xo::db::sql::content_item is_subclass [ -dbn dbn ] \ -object_type object_type -supertype supertypeAutomatically generated method
- Switches:
- -dbn (optional)
- -object_type (required)
- -supertype (required)
- Testcases:
- No testcase defined.
is_valid_child (scripted, public)
xo::db::sql::content_item is_valid_child [ -dbn dbn ] \ -item_id item_id -content_type content_type \ -relation_tag relation_tagAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -content_type (required)
- -relation_tag (required)
- Testcases:
- No testcase defined.
move (scripted, public)
xo::db::sql::content_item move [ -dbn dbn ] -item_id item_id \ -target_folder_id target_folder_id -name nameAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -target_folder_id (required)
- -name (required)
- Testcases:
- No testcase defined.
new (scripted, 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 ]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
register_template (scripted, public)
xo::db::sql::content_item register_template [ -dbn dbn ] \ -item_id item_id -template_id template_id \ -use_context use_contextAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -template_id (required)
- -use_context (required)
- Testcases:
- No testcase defined.
relate (scripted, public)
xo::db::sql::content_item relate [ -dbn dbn ] -item_id item_id \ -object_id object_id [ -relation_tag relation_tag ] \ [ -order_n order_n ] [ -relation_type relation_type ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -object_id (required)
- -relation_tag (optional, defaults to
"generic"
)- -order_n (optional)
- -relation_type (optional, defaults to
"cr_item_rel"
)- Testcases:
- No testcase defined.
set_live_revision (scripted, public)
xo::db::sql::content_item set_live_revision [ -dbn dbn ] \ -revision_id revision_id [ -publish_status publish_status ] \ [ -publish_date publish_date ] [ -is_latest is_latest ]Automatically generated method
- Switches:
- -dbn (optional)
- -revision_id (required)
- -publish_status (optional, defaults to
"ready"
)- -publish_date (optional, defaults to
"now()"
)- -is_latest (optional, defaults to
"f"
)- Testcases:
- xotcl_core_tutorial_4
set_release_period (scripted, public)
xo::db::sql::content_item set_release_period [ -dbn dbn ] \ -item_id item_id [ -start_when start_when ] \ [ -end_when end_when ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -start_when (optional)
- -end_when (optional)
- Testcases:
- No testcase defined.
unregister_template (scripted, public)
xo::db::sql::content_item unregister_template [ -dbn dbn ] \ -item_id item_id [ -template_id template_id ] \ [ -use_context use_context ]Automatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -template_id (optional)
- -use_context (optional)
- Testcases:
- No testcase defined.
unrelate (scripted, public)
xo::db::sql::content_item unrelate [ -dbn dbn ] -rel_id rel_idAutomatically generated method
- Switches:
- -dbn (optional)
- -rel_id (required)
- Testcases:
- No testcase defined.
unset_live_revision (scripted, public)
xo::db::sql::content_item unset_live_revision [ -dbn dbn ] \ -item_id item_idAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- Testcases:
- No testcase defined.
write_to_file (scripted, public)
xo::db::sql::content_item write_to_file [ -dbn dbn ] -item_id item_id \ -root_path root_pathAutomatically generated method
- Switches:
- -dbn (optional)
- -item_id (required)
- -root_path (required)
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables