Ejemplo n.º 1
0
 public function getOwnerName()
 {
     $ownerModel = Actions::getOwnerModel($this->ownerType, $this->ownerId);
     if ($ownerModel) {
         return $ownerModel->name;
     } else {
         return false;
     }
 }