Example #1
0
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     $this->defineAttribute('showTime', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('defaultNow', false, false, COMPONENT_TYPE_BOOLEAN);
     // call the superclass for validate the attributes
     parent::init();
 }
Example #2
0
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('ajaxController', false, 'org.glizycms.contents.controllers.autocomplete.ajax.PagePicker', COMPONENT_TYPE_STRING);
     $this->defineAttribute('type', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('protocol', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('makeLink', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('multiple', false, false, COMPONENT_TYPE_BOOLEAN);
     parent::init();
 }