- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::Object
::xowiki::Object create ...
Class Relations
::xo::db::CrClass create ::xowiki::Object \ -superclass ::xowiki::PlainPageMethods (to be applied on instances)
get_payload (scripted)
set payload [self]::payload if {![nsf::is object $payload]} { ::xo::Context create $payload -requireNamespace } expr {[$payload exists $var] ? [$payload set $var] : $default}initialize_loaded_object (scripted)
:set_payload ${:text} nextmime_type (setter)
render_content (scripted)
if {[[self]::payload info methods content] ne ""} { set html [[self]::payload content] #:log render-adp=[:render_adp] if {[:render_adp]} { set html [:adp_subst $html] return [:substitute_markup $html] } else { #return "<pre>[string map {> > < <} ${:text}]</pre>" return $html } }set_payload (scripted)
set payload [self]::payload if {[nsf::is object $payload]} {$payload destroy} ::xo::Context create $payload -requireNamespace -actual_query [::xo::cc actual_query] $payload set package_id ${:package_id} ad_try { $payload contains $cmd $payload init } on error {errorMsg} { ad_log error "xowiki::Object set_payload: content $cmd lead to error: $errorMsg" ::xo::xotcl_object_cache flush ${:item_id} }xowiki_object_id (setter)
Variables
::xowiki::Object set __default_metaclass ::xotcl::Class ::xowiki::Object set __default_superclass ::xotcl::Object ::xowiki::Object set abstract_p f ::xowiki::Object set auto_save false ::xowiki::Object array set db_constraints {} ::xowiki::Object array set db_slot \ {page_order ::xowiki::Page::slot::page_order creator ::xowiki::Page::slot::creator ppage_id \ ::xowiki::PlainPage::slot::ppage_id page_id ::xowiki::Page::slot::page_id creation_date \ ::xo::db::Object::slot::creation_date creation_user ::xo::db::Object::slot::creation_user \ object_id ::xo::db::Object::slot::object_id description ::xowiki::Page::slot::description \ xowiki_object_id ::xowiki::Object::slot::xowiki_object_id text ::xowiki::Page::slot::text \ creation_ip ::xo::db::Object::slot::creation_ip nls_language \ ::xo::db::CrItem::slot::nls_language package_id ::xo::db::Object::slot::package_id \ object_title ::xo::db::Object::slot::object_title security_inherit_p \ ::xo::db::Object::slot::security_inherit_p context_id ::xo::db::Object::slot::context_id \ mime_type ::xo::db::CrItem::slot::mime_type name ::xo::db::CrItem::slot::name title \ ::xowiki::Page::slot::title item_id ::xo::db::CrItem::slot::item_id revision_id \ ::xo::db::CrItem::slot::revision_id publish_date ::xowiki::Page::slot::publish_date \ modifying_user ::xo::db::Object::slot::modifying_user last_modified \ ::xo::db::Object::slot::last_modified modifying_ip ::xo::db::Object::slot::modifying_ip} ::xowiki::Object set folder_id -100 ::xowiki::Object set form ::xowiki::ObjectForm ::xowiki::Object set id_column xowiki_object_id ::xowiki::Object set mime_type text/plain ::xowiki::Object set name_method {} ::xowiki::Object set non_cached_instance_var_patterns __* ::xowiki::Object set object_type ::xowiki::Object ::xowiki::Object set object_type_key 0000000000001111000110010000000000000000 ::xowiki::Object set pretty_name {#xowiki.Object_pretty_name#} ::xowiki::Object set pretty_plural {#xowiki.Object_pretty_plural#} ::xowiki::Object set security_inherit_p t ::xowiki::Object set sql_package_name ::xowiki::Object ::xowiki::Object set storage_type text ::xowiki::Object set supertype content_revision ::xowiki::Object set table_name xowiki_object ::xowiki::Object set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables