Swat/SwatTextarea.php
protected function getValueLength()
    {
        if ($this->maxlength_ignored_characters != '') {
            $chars = preg_quote($this->maxlength_ignored_characters, '/');
            $pattern = sprintf('/[%s]/u', $chars);
            $value = preg_replace($pattern, '', $this->value);
            $length = mb_strlen($value);
        } else {
            $length = mb_strlen($this->value);
        }
        return $length;
    }
protected function getValueLength()
    {
        if ($this->maxlength_ignored_characters != '') {
            $chars = preg_quote($this->maxlength_ignored_characters, '/');
            $pattern = sprintf('/[%s]/u', $chars);
            $value = preg_replace($pattern, '', $this->value);
            $length = mb_strlen($value);
        } else {
            $length = mb_strlen($this->value);
        }
        return $length;
    }
protected function getValueLength ( ) { if ( $ this -> maxlength_ignored_characters != '' ) { $ chars = preg_quote ( $ this -> maxlength_ignored_characters , '/' ) ; $ pattern = sprintf ( '/[%s]/u' , $ chars ) ; $ value = preg_replace ( $ pattern , '' , $ this -> value ) ; $ length = mb_strlen ( $ value ) ; } else { $ length = mb_strlen ( $ this -> value ) ; } return $ length ; }
Gets the computed length of the value of this textarea

@return integer the length of the value of this textarea
Gets the computed length of the value of this textarea