Esempio n. 1
0
    /**
     * Constructor.
     *
     * @param   object  An optional KConfig object with configuration options.
     */
    protected function  _initialize(KConfig $config) 
  	{        
		$config->append(array(
			//'behaviors'	 =>  array('cacheable')
		));
	
      	parent::_initialize($config);
  	}
Esempio n. 2
0
 	/**
     * Initializes the default configuration for the object
     *
     * Called from {@link __construct()} as a first step of object instantiation.
     *
     * @param 	object 	An optional KConfig object with configuration options.
     * @return void
     */
    protected function _initialize(KConfig $config)
    {
    	$config->append(array(
    		'persistable' => false,
    		'behaviors'  => array('discoverable', 'editable'),
    	    'readonly'   => false, 
        ));

        parent::_initialize($config);
    }
 /**
  * Constructor.
  *
  * @param   object  An optional KConfig object with configuration options.
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array());
     parent::_initialize($config);
 }
Esempio n. 4
0
 /**
  * Constructor.
  *
  * @param   object  An optional KConfig object with configuration options.
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array('toolbars' => array('menubar', $this->getIdentifier()->name)));
     parent::_initialize($config);
 }