Beispiel #1
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'activities', 'behaviors' => array('creatable', 'identifiable')));
     parent::_initialize($config);
 }
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'attachments', 'behaviors' => array('creatable', 'modifiable', 'lockable'), 'filters' => array('description' => array('html', 'tidy'))));
     parent::_initialize($config);
 }
Beispiel #3
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'pages', 'behaviors' => array('creatable', 'lockable', 'sluggable', 'assignable', 'typable', 'com:pages.database.behavior.orderable' => array('strategy' => 'closure', 'table' => 'com:pages.database.table.orderings', 'columns' => array('title', 'custom')), 'com:pages.database.behavior.closurable' => array('table' => 'com:pages.database.table.closures')), 'filters' => array('params' => 'ini')));
     parent::_initialize($config);
 }
Beispiel #4
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'users', 'behaviors' => array('modifiable', 'creatable', 'lockable', 'identifiable', 'authenticatable'), 'column_map' => array('role_id' => 'users_role_id', 'group_id' => 'users_group_id')));
     parent::_initialize($config);
 }
Beispiel #5
0
 public function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'extensions', 'filters' => array('params' => 'ini')));
     parent::_initialize($config);
 }
Beispiel #6
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'revisions', 'behaviors' => array('creatable'), 'filters' => array('data' => array('json'))));
     parent::_initialize($config);
 }
Beispiel #7
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'tags', 'behaviors' => array('creatable', 'modifiable', 'lockable', 'sluggable')));
     parent::_initialize($config);
 }
Beispiel #8
0
 public function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'categories', 'behaviors' => array('creatable', 'modifiable', 'lockable', 'sluggable', 'cascadable', 'nestable', 'orderable' => array('parent_column' => 'parent_id'), 'com:attachments.database.behavior.attachable')));
     parent::_initialize($config);
 }
Beispiel #9
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('filters' => array('slug' => 'cmd', 'path' => 'com:files.filter.path', 'parameters' => 'json'), 'behaviors' => array('sluggable' => array('columns' => array('id', 'title')))));
     parent::_initialize($config);
 }
Beispiel #10
0
 public function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('behaviors' => array('creatable', 'modifiable', 'lockable', 'com:pages.database.behavior.orderable' => array('strategy' => 'flat')), 'filters' => array('content' => array('html', 'tidy'), 'params' => 'ini')));
     parent::_initialize($config);
 }
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('column_map' => array('group_id' => 'users_group_id', 'user_id' => 'users_user_id')));
     parent::_initialize($config);
 }
Beispiel #12
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('identity_column' => 'users_session_id'));
     parent::_initialize($config);
 }
Beispiel #13
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'clients_clients'));
     parent::_initialize($config);
 }
Beispiel #14
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('behaviors' => array('expirable')));
     parent::_initialize($config);
 }
Beispiel #15
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'contacts', 'behaviors' => array('creatable', 'modifiable', 'lockable', 'orderable' => array('strategy' => 'flat'), 'sluggable' => array('columns' => array('name')), 'com:attachments.database.behavior.attachable'), 'filters' => array('misc' => array('html', 'tidy'), 'params' => 'ini')));
     parent::_initialize($config);
 }
Beispiel #16
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('name' => 'articles', 'behaviors' => array('creatable', 'modifiable', 'lockable', 'sluggable', 'revisable', 'publishable', 'orderable' => array('strategy' => 'flat'), 'com:languages.database.behavior.translatable', 'com:attachments.database.behavior.attachable', 'com:tags.database.behavior.taggable'), 'filters' => array('introtext' => array('html', 'tidy'), 'fulltext' => array('html', 'tidy'))));
     parent::_initialize($config);
 }