*/ class Varien_Data_Form_Element_Multiline extends Varien_Data_Form_Element_Abstract { public function __construct($attributes=array()) { parent::__construct($attributes); $this->setType('text'); $this->setLineCount(2); } public function getHtmlAttributes() { return array('type', 'title', 'class', 'style', 'onclick', 'onchange', 'disabled', 'maxlength'); } public function getLabelHtml($suffix = 0) { return parent::getLabelHtml($suffix); } public function getElementHtml() { $html = ''; $lineCount = $this->getLineCount(); for ($i=0; $i<$lineCount; $i++){ if ($i==0 && $this->getRequired()){ $this->setClass('input-text required-entry'); } else { $this->setClass('input-text'); } $html.= '