/** * Init * * @return void * @access public */ function init() { // define the custom attributes $this->defineAttribute('makeLink', false, false, COMPONENT_TYPE_BOOLEAN); // call the superclass for validate the attributes parent::init(); }
/** * Init * * @return void * @access public */ function init() { // define the custom attributes $this->defineAttribute('label', false, '', COMPONENT_TYPE_STRING); $this->defineAttribute('forceP', false, false, COMPONENT_TYPE_BOOLEAN); $this->defineAttribute('paginate', false, NULL, COMPONENT_TYPE_OBJECT); $this->defineAttribute('parseInternalLinks', false, true, COMPONENT_TYPE_BOOLEAN); $this->defineAttribute('adm:rows', false, '', COMPONENT_TYPE_STRING); $this->defineAttribute('adm:cols', false, '', COMPONENT_TYPE_STRING); $this->defineAttribute('adm:disabled', false, false, COMPONENT_TYPE_BOOLEAN); $this->defineAttribute('adm:htmlEditor', false, false, COMPONENT_TYPE_BOOLEAN); $this->defineAttribute('adm:maxLength', false, NULL, COMPONENT_TYPE_STRING); $this->defineAttribute('adm:required', false, false, COMPONENT_TYPE_BOOLEAN); $this->defineAttribute('adm:tinyMCEplugin', false, NULL, COMPONENT_TYPE_STRING); $this->defineAttribute('adm:validationType', false, NULL, COMPONENT_TYPE_STRING); $this->defineAttribute('adm:validationMessage', false, NULL, COMPONENT_TYPE_STRING); // call the superclass for validate the attributes parent::init(); }