コード例 #1
0
ファイル: Annotation.php プロジェクト: richhl/kalturaCE
 public function getPuserId()
 {
     $kuser = KuserPeer::retrieveByPK($this->getKuserId());
     if (!$kuser) {
         throw new KalturaAPIException(KalturaErrors::INVALID_USER_ID);
     }
     return $kuser->getPuserId();
 }
コード例 #2
0
ファイル: AuditTrail.php プロジェクト: richhl/kalturaCE
 public function getPuserId()
 {
     if (!$this->puserId) {
         $kuser = KuserPeer::retrieveByPK($this->getKuserId());
         if ($kuser) {
             $this->puserId = $kuser->getPuserId();
         }
     }
     return $this->puserId;
 }