public function getWarning_text_TreeText() { if ($this->warning_text) { return substr($this->warning_text, 0, 55) . ' ...'; } return ''; }