- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::Package
::xo::Package create ... \
[ -context (default "::xo::cc") ] \
[ -force_refresh_login (default "false") ] \
[ -id:integer id:integer ] \
[ -package_url package_url ] \
[ -url url ]
Defined in
Class Relations
- class: ::xo::PackageMgr
- superclass: ::xo::db::Object
- subclass: ::xo::oauth::Package, ::xowiki::Package
Methods (to be applied on instances)
context (setter)
default_locale (setter)
exists_form_parameter (forward)
exists_query_parameter (forward)
force_refresh_login (setter)
form_parameter (forward)
get_parameter (scripted)
handle_http_caching (scripted)
id (setter)
init (scripted)
initialize (scripted)
<instance of xo::Package> initialize
- Testcases:
- create_form_with_form_instance, xowiki
insert (scripted)
instance_name (setter)
instantiate_forms (scripted)
package_id (setter)
package_key (setter)
package_url (setter)
process_init_parameter (scripted)
query_parameter (forward)
reply_to_user (scripted)
<instance of xo::Package> reply_to_userrequire_root_folder (scripted, public)
<instance of xo::Package> require_root_folder \ [ -parent_id parent_id ] [ -content_types content_types ] \ -name nameMake sure, the root folder for the given package exists. If not, create it and register all allowed content types. Note that xowiki (and derived packages) define their own version of "require_root_folder" based on form pages. Therefore, this function is just for packages not based on xowiki.
- Switches:
- -parent_id (optional, defaults to
"-100"
)- -content_types (optional)
- -name (required)
- Returns:
- folder_id
- Testcases:
- xowiki_test_cases
return_page (scripted)
returnredirect (forward)
set_url (scripted)
update (scripted)
url (setter)
Variables
::xo::Package set __default_metaclass ::xotcl::Class ::xo::Package set __default_superclass ::xotcl::Object ::xo::Package set abstract_p f ::xo::Package set auto_save false ::xo::Package array set db_constraints {} ::xo::Package array set db_slot \ {default_locale ::xo::Package::slot::default_locale package_key \ ::xo::Package::slot::package_key package_id ::xo::Package::slot::package_id instance_name \ ::xo::Package::slot::instance_name} ::xo::Package set default_package_parameter_page_info {} ::xo::Package set default_package_parameters {} ::xo::Package set id_column package_id ::xo::Package set name_method {} ::xo::Package set object_type apm_package ::xo::Package set object_type_key 0000000000000101 ::xo::Package set package_key apm_package ::xo::Package set pretty_name Package ::xo::Package set pretty_plural Package ::xo::Package set security_inherit_p t ::xo::Package set site_wide_package_parameter_page_info {} ::xo::Package set site_wide_package_parameters {} ::xo::Package set site_wide_pages {} ::xo::Package set sql_package_name ::xo::Package ::xo::Package set supertype acs_object ::xo::Package set table_name apm_packages ::xo::Package set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables