Administrators
Manage people who have access to the administration console.
Methods
Invoke via \Components\Settings\Administrators::method()
Click a method name to copy it.
Returns whether the current contact is an administrator of any type
Deletes a record from the database
Parameters
$iContactId
int unsigned
A record's contact_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iContactId
int unsigned
A record's contact_id
Return a set of records from the database
Gets a single field from a record
Parameters
$iContactId
int unsigned
A record's contact_id
Returns the number of records in the database (matching the filter if specified)
Returns the role id for a particular administrator
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$iContactId
int unsigned
A record's contact_id