<?php
goweb::loadClass('Zend_View_Helper_FormTextarea');
/**
 * Goweb Sitemanager 5 Framework
 *
 * Helper para truncate de texto
 *
 * @version    5.0.0
 * @category   Goweb
 * @package    Goweb_View_Helper_FormRte
 * @author     I&D <dev@goweb.pt>, Pedro Pinto <ppinto@goweb.pt>
 * @copyright  2009 (c) Goweb (http://www.goweb.pt)
 *
 *
 */

class Goweb_View_Helper_FormTextarea extends Zend_View_Helper_FormTextarea{
    /**
     * Corre o helper.
     *
     * @param   string  $string        A string
     * @param   int     $length        O número de caracteres
     * @param   string  $etc           Etc a acrescentar
     * @param   bool    $breakWords    Quebrar palavras?
     * @param   bool    $middle        Quebrar ao meio?
     * @return  string  A string formatada
     */
    public function FormTextarea($name, $value = null, $attribs = null) {
        if (isset($attribs['maxlength'])) unset($attribs['maxlength']);
        return parent::FormTextarea($name, $value, $attribs);
    }
}