public static function fromUserLoginDataArray($arr) { $newArr = new KalturaUserLoginDataArray(); foreach ($arr as $obj) { $nObj = new KalturaUserLoginData(); $nObj->fromObject($obj); $newArr[] = $nObj; } return $newArr; }
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; }