public static function fromUserLoginDataArray($arr)
 {
     $newArr = new KalturaUserLoginDataArray();
     foreach ($arr as $obj) {
         $nObj = new KalturaUserLoginData();
         $nObj->fromObject($obj);
         $newArr[] = $nObj;
     }
     return $newArr;
 }
Exemplo n.º 2
0
 public static function fromDbArray(array $arr, KalturaDetachedResponseProfile $responseProfile = null)
 {
     $newArr = new KalturaUserLoginDataArray();
     foreach ($arr as $obj) {
         $nObj = new KalturaUserLoginData();
         $nObj->fromObject($obj, $responseProfile);
         $newArr[] = $nObj;
     }
     return $newArr;
 }