attr_name.'" name="' . $this->attr_name.'">' .$this->getCurVal() . ''; } function render_text( $crop = false ) { $val = $this->getCurVal(); if ( $crop ) { $val = substr(strip_tags($val),0, 100); } return $val; } } ?>