protected function generateTextarea($options, $currentValue = null)
    {
        $value = is_null($currentValue) ? $options['value'] : $currentValue;

        unset($options['value']);
        unset($options["type"]);

        return sprintf('<textarea %s>%s</textarea>', $this->arrayToHtmlAttributes($options), stripslashes($value));
    }
protected function generateTextarea($options, $currentValue = null)
    {
        $value = is_null($currentValue) ? $options['value'] : $currentValue;

        unset($options['value']);
        unset($options["type"]);

        return sprintf('<textarea %s>%s</textarea>', $this->arrayToHtmlAttributes($options), stripslashes($value));
    }
protected function generateTextarea ( $ options , $ currentValue = null ) { $ value = is_null ( $ currentValue ) ? $ options [ 'value' ] : $ currentValue ; unset ( $ options [ 'value' ] ) ; unset ( $ options [ "type" ] ) ; return sprintf ( '<textarea %s>%s</textarea>' , $ this -> arrayToHtmlAttributes ( $ options ) , stripslashes ( $ value ) ) ; }
Generates a textarea
@param  array $options
@param  string $currentValue (Optional)
@return string
Generates a textarea