Example #1
0
 public function getAuthorObj()
 {
     if (isset($this->authorObj)) {
         return $this->authorObj;
     } else {
         $this->authorObj = User::getObjById($this->author);
         return $this->authorObj;
     }
 }