public function getStatusText() { if (!isset(Article::$statuses[$this->status])) { return null; } return Article::$statuses[$this->status]; }