51     public function __construct($value = null, $type = self::T_TEXT)
 
   58                 $this->rawValue = $value;
 
   61                 $this->value = $value;
 
   77                 return ($this->rawValue !== null);
 
   80                 return ($this->value !== null);
 
  101                 if (is_string($this->rawValue)) {
 
  102                     $this->value = 
getStr()->htmlspecialchars( $this->rawValue );
 
  105                     $this->value = $this->rawValue;
 
  107                 if ($this->rawValue == $this->value) {
 
  108                     unset($this->rawValue);
 
  125         return (
string)$this->value;
 
  145         $this->
setValue( str_replace( 
"\r", 
'', nl2br( 
getStr()->htmlspecialchars( $this->rawValue ) ) ), self::T_RAW );
 
  156     protected function _initValue( $value = null, $type = self::T_TEXT)
 
  160                 $this->rawValue = $value;
 
  163                 $this->value = $value;
 
  176     public function setValue($value = null, $type = self::T_TEXT)
 
  178         unset($this->rawValue);
 
  190         if (null === $this->rawValue) {
 
  193         return $this->rawValue;