Exemplo n.º 1
0
 public function setAuthorId($nick)
 {
     $person = new DbPerson($nick);
     if (!$person->exists()) {
         return;
     }
     $this->authorId = $person->getNumericId();
 }