Example #1
0
 /**
  * Init
  *
  * @return  void
  * @access  public
  */
 public function init()
 {
     $this->defineAttribute('global', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('adm:cssClass', false, __Config::get('glizy.formElement.admCssClass'), COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
Example #2
0
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 public function init()
 {
     $this->defineAttribute('mode', false, 'container', COMPONENT_TYPE_STRING);
     $this->defineAttribute('initialState', false, 'empty', COMPONENT_TYPE_STRING);
     $this->defineAttribute('editState', false, 'edit', COMPONENT_TYPE_STRING);
     $this->defineAttribute('editUrl', false, __Config::get('glizycms.speakingUrl'), COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('adm:cssClass', false, __Config::get('glizy.formElement.admCssClass'), COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }