WhmcsApi
in package
FinalYes
Table of Contents
Methods
- getAdminRootUrl() : string
- getCustomFieldsLabels() : array<string|int, mixed>
- Returns the custom fields labels and their ids like [id => , label => ].
Methods
getAdminRootUrl()
public
static getAdminRootUrl([string $resource = '' ]) : string
Parameters
- $resource : string = ''
-
the piece of url to append to the end of the URL. No need to add initial /.
Tags
Return values
stringgetCustomFieldsLabels()
Returns the custom fields labels and their ids like [id => , label => ].
public
static getCustomFieldsLabels([bool $onlyForClients = true ]) : array<string|int, mixed>
Parameters
- $onlyForClients : bool = true