Ejemplo n.º 1
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('priority' => Library\Command::PRIORITY_LOWEST, 'actions' => array('after.edit', 'after.add', 'after.delete'), 'title_column' => array('title', 'name')));
     parent::_initialize($config);
 }
Ejemplo n.º 2
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('container' => 'attachments-attachments', 'file_controller' => 'com:files.controller.file', 'attachment_controller' => 'com:attachments.controller.attachment', 'populate_from_request' => true, 'attachment_limit' => false));
     parent::_initialize($config);
 }
Ejemplo n.º 3
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('filter' => 'alnum'));
     parent::_initialize($config);
 }
Ejemplo n.º 4
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $params = $this->getObject('application.extensions')->users->params;
     $config->append(array('auto_mixin' => true, 'captcha' => array('private_key' => $params->get('recaptcha_private_key', null), 'remote_ip' => $this->getObject('application')->getRequest()->getAddress(), 'verify_server' => array('host' => 'www.google.com', 'path' => '/recaptcha/api/verify', 'port' => 80))));
     parent::_initialize($config);
 }