Domains
Manage the domain names which are hooked up to your website.
Methods
Invoke via \Components\Settings\Domains::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$strDomainName
string
A record's domain_name
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$strDomainName
string
A record's domain_name
Return a set of records from the database
Gets a single field from a record
Parameters
$strDomainName
string
A record's domain_name
Returns the number of records in the database (matching the filter if specified)
Determines the primary domain by looking at the config value, then the host from the http request
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$strDomainName
string
A record's domain_name
Return
Array of
Domains that match the search query.