AcsFleets
in package
AcsFleets Class
Tags
Table of Contents
- $_acs : array<string|int, mixed>
- $_current_user_id : int
- __construct() : void
- Constructor
- getAcs() : array<string|int, mixed>
- Get all the acs
- getFirstAcs() : array<string|int, mixed>
- Get the first acs result
- createNewAcsFleetEntity() : AcsFleetEntity
- Create a new instance of AcsFleetEntity
- getUserId() : int
- setUp() : void
- Set up the list of acs
- setUserId() : mixed
Properties
$_acs
private
array<string|int, mixed>
$_acs
= []
$_current_user_id
private
int
$_current_user_id
= 0
Methods
__construct()
Constructor
public
__construct(array<string|int, mixed> $acs, int $current_user_id) : void
Parameters
- $acs : array<string|int, mixed>
-
Acs
- $current_user_id : int
-
Current User ID
Return values
void —getAcs()
Get all the acs
public
getAcs() : array<string|int, mixed>
Return values
array<string|int, mixed> —getFirstAcs()
Get the first acs result
public
getFirstAcs() : array<string|int, mixed>
Return values
array<string|int, mixed> —createNewAcsFleetEntity()
Create a new instance of AcsFleetEntity
private
createNewAcsFleetEntity(array<string|int, mixed> $fleet) : AcsFleetEntity
Parameters
- $fleet : array<string|int, mixed>
-
Fleet
Return values
AcsFleetEntity —getUserId()
private
getUserId() : int
Return values
int —setUp()
Set up the list of acs
private
setUp(array<string|int, mixed> $acsFleets) : void
Parameters
- $acsFleets : array<string|int, mixed>
-
Acs Fleets
Return values
void —setUserId()
private
setUserId(int $user_id) : mixed
Parameters
- $user_id : int
-
User Id