예제 #1
0
파일: News.php 프로젝트: mr-kamc/php2.zz
 public function __get($k)
 {
     switch ($k) {
         case 'author':
             return Author::getNameAuthors($this->author_id);
             break;
         default:
             return null;
     }
 }