ClientexecProducts
Generic Clientexec Products Migrator.
Table of Contents
Methods
| __construct() | ClientexecProducts constructor. |
| get() | Get all products. |
| getAddonPackages() | Get all the packages from an specific addon. |
| getAddonPricing() | Get all the prices from an specific addon. |
| getAddons() | Get all the products addons. |
| getAddonsGroups() | Get all the addons groups. |
| getGroup() | Get all the products groups. |
| getGroups() | Get all the products groups. |
| getProduct() | Get an specific package. |
| getProductFields() | Get the fields of an specific package. |
| getProductPricing() | Get the pricing of an specific package. |
| getProductServer() | Get the server of a specific package. |
| getRegistrarFields() | Returns a key/value pair array of field names and values for the given registrar. |
| getReigstrars() | Get all registrars. |
| getServer() | Get an specific server. |
| getServerFields() | Get the fields of an specific server. |
| getServerNameservers() | Get the name servers of an specific server. |
| getServers() | Get Generic module rows. |
Methods
__construct()
ClientexecProducts constructor.
public
__construct(Record $remote) : mixed
Parameters
- $remote : Record
get()
Get all products.
public
get() : mixed
Return values
mixed —The result of the sql transaction
getAddonPackages()
Get all the packages from an specific addon.
public
getAddonPackages(mixed $addon_id) : mixed
Parameters
- $addon_id : mixed
Return values
mixed —The result of the sql transaction
getAddonPricing()
Get all the prices from an specific addon.
public
getAddonPricing(mixed $addon_id) : mixed
Parameters
- $addon_id : mixed
Return values
mixed —The result of the sql transaction
getAddons()
Get all the products addons.
public
getAddons() : mixed
Return values
mixed —The result of the sql transaction
getAddonsGroups()
Get all the addons groups.
public
getAddonsGroups() : mixed
Return values
mixed —The result of the sql transaction
getGroup()
Get all the products groups.
public
getGroup(mixed $group_id) : mixed
Parameters
- $group_id : mixed
Return values
mixed —The result of the sql transaction
getGroups()
Get all the products groups.
public
getGroups() : mixed
Return values
mixed —The result of the sql transaction
getProduct()
Get an specific package.
public
getProduct(mixed $package_id) : mixed
Parameters
- $package_id : mixed
Return values
mixed —The result of the sql transaction
getProductFields()
Get the fields of an specific package.
public
getProductFields(mixed $package_id) : mixed
Parameters
- $package_id : mixed
Return values
mixed —The result of the sql transaction
getProductPricing()
Get the pricing of an specific package.
public
getProductPricing(mixed $package_id) : mixed
Parameters
- $package_id : mixed
Return values
mixed —The result of the sql transaction
getProductServer()
Get the server of a specific package.
public
getProductServer(mixed $package_id) : mixed
Parameters
- $package_id : mixed
Return values
mixed —The result of the sql transaction
getRegistrarFields()
Returns a key/value pair array of field names and values for the given registrar.
public
getRegistrarFields(string $registrar) : array<string|int, mixed>
Parameters
- $registrar : string
-
The registrar to fetch all key/value pairs for
Return values
array<string|int, mixed> —An array of key/value pairs for the registrar
getReigstrars()
Get all registrars.
public
getReigstrars() : array<string|int, mixed>
Return values
array<string|int, mixed> —An array of all installed registrars
getServer()
Get an specific server.
public
getServer(mixed $server_id) : mixed
Parameters
- $server_id : mixed
Return values
mixed —The result of the sql transaction
getServerFields()
Get the fields of an specific server.
public
getServerFields(mixed $server_id) : mixed
Parameters
- $server_id : mixed
Return values
mixed —The result of the sql transaction
getServerNameservers()
Get the name servers of an specific server.
public
getServerNameservers(mixed $server_id) : mixed
Parameters
- $server_id : mixed
Return values
mixed —The result of the sql transaction
getServers()
Get Generic module rows.
public
getServers() : mixed
Return values
mixed —The result of the sql transaction