ClientexecUsers
Generic Clientexec Users Migrator.
Table of Contents
Methods
| __construct() | ClientexecUsers constructor. |
| getAllUsersGroups() | Get all users groups. |
| getClients() | Get all clients. |
| getCustomFields() | Get user custom fields. |
| getStaff() | Get all staff. |
| getUserGroup() | Get an specific user group. |
| get() | Get all users of the given type. |
Methods
__construct()
ClientexecUsers constructor.
public
__construct(Record $remote) : mixed
Parameters
- $remote : Record
getAllUsersGroups()
Get all users groups.
public
getAllUsersGroups() : mixed
Return values
mixed —The result of the sql transaction
getClients()
Get all clients.
public
getClients() : mixed
Return values
mixed —The result of the sql transaction
getCustomFields()
Get user custom fields.
public
getCustomFields(mixed $user_id) : array<string|int, mixed>
Parameters
- $user_id : mixed
-
The user id
Return values
array<string|int, mixed> —An array containing the user fields
getStaff()
Get all staff.
public
getStaff() : mixed
Return values
mixed —The result of the sql transaction
getUserGroup()
Get an specific user group.
public
getUserGroup(mixed $group_id) : mixed
Parameters
- $group_id : mixed
Return values
mixed —The result of the sql transaction
get()
Get all users of the given type.
private
get(mixed $type) : mixed
Parameters
- $type : mixed
Return values
mixed —The result of the sql transaction