- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::CrClass
::xo::db::CrClass create ... \
[ -edit_form edit_form ] \
[ -folder_id (default "-100") ] \
[ -form form ] \
[ -mime_type (default "text/plain") ] \
[ -non_cached_instance_var_patterns (default "__*") ] \
[ -storage_type (default "text") ] \
[ -supertype (default "content_revision") ]
The meta class CrClass serves for a class of applications that mostly store information in the content repository and that use a few attributes adjoining this information. The class handles the open acs object_type creation and the automatic creation of the necessary tables based on instances of this meta-class.
The definition of new types is handled in the constructor of CrType through the method create_object_type, the removal of the object type is handled through the method drop_object_type (requires that all instances of this type are deleted).
Each content item can be retrieved either through the general method CrClass get_instance_from_db or through the "get_instance_from_db" method of every subclass of CrItem.
This Class is a meta-class providing methods for Classes managing CrItems.
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/cr-procs.tcl
Class Relations
- class: ::xotcl::Class
- superclass: ::xo::db::Class
- instmixin: ::xo::db::CrCache
- mixin: ::xo::db::CrCache::Class
::xotcl::Class create ::xo::db::CrClass \ -superclass ::xo::db::Class \ -instmixin ::xo::db::CrCache \ -mixin ::xo::db::CrCache::Class
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables