Esempio n. 1
0
    protected function _initialize(KObjectConfig $config)
    {
        $config->append(array(
            'behaviors'          => array('pageable'),
            'template_filters'   => array(
                'com://admin/docman.template.filter.asset',
                'com://site/docman.template.filter.icon'
            )
        ));

        parent::_initialize($config);
    }
Esempio n. 2
0
 protected function _initialize(KObjectConfig $config)
 {
     $config->auto_fetch = false;
     parent::_initialize($config);
 }
Esempio n. 3
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   KObjectConfig $config Configuration options.
  * @return  void
  */
 protected function _initialize(KObjectConfig $config)
 {
     $config->append(array('layout' => 'joomla', 'template_filters' => array('document', 'module', 'style', 'link', 'meta', 'script', 'title', 'message')));
     parent::_initialize($config);
 }
Esempio n. 4
0
 /**
  * Initializes the config for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   KObjectConfig $config Configuration options
  * @return  void
  */
 protected function _initialize(KObjectConfig $config)
 {
     $config->append(array('template_functions' => array('translateComponentName' => array($this, 'translateComponentName'))));
     parent::_initialize($config);
 }
Esempio n. 5
0
 protected function _initialize(KObjectConfig $config)
 {
     $config->append(array('auto_fetch' => false));
     parent::_initialize($config);
 }