5, 'class' => array('form-control' => true) ); public function __construct($name, $title, $value) { parent::__construct($name, $title, null); $this->_value = $value; } public function setRows($size) { $this->_attributes['rows'] = $size; return $this; } public function setNoWrap() { $this->_attributes['style'] = 'white-space: pre;'; return $this; } protected function _getInput() { $element = parent::_getInput(); $value = htmlspecialchars($this->_value); return << EOT; } }