/** * @access public * @param array Array of tag attributes */ function processAttribs($attribs) { parent::processAttribs($attribs); if (isset($attribs['value'])) { $this->setValue($attribs['value']); } }
function processAttribs($attribs) { parent::processAttribs($attribs); if (isset($attribs['cols'])) { $this->setCols($attribs['cols']); } if (isset($attribs['rows'])) { $this->setRows($attribs['rows']); } }
function processAttribs($attribs) { parent::processAttribs($attribs); if (isset($attribs['size'])) { $this->setSize($attribs['size']); } // do the auto fillin // FIXME /*if ($this->_autofillin && isset($_REQUEST[$this->_name]) ) $this->setValue($_REQUEST[$this->_name]);*/ }
function processAttribs($attribs) { parent::processAttribs($attribs); if (isset($attribs['type'])) { if (strtolower($attribs['type']) == 'password') { $this->_type = 'password'; } } if (isset($attribs['value'])) { $this->setValue($attribs['value']); } if (isset($attribs['maxlength'])) { $this->setMaxlength($attribs['maxlength']); } if (isset($attribs['size'])) { $this->setSize($attribs['size']); } }