public function __get($k) { switch ($k) { case 'author': return Author::getNameAuthors($this->author_id); break; default: return null; } }
public function __get($k) { switch ($k) { case 'author': return Author::getNameAuthors($this->author_id); break; default: return null; } }