$_data
$_data : array
Capability data.
Query the capabilities of a server.
query(string $capability, string $parameter = null) : boolean
Returns whether the server supports the given capability.
string | $capability | The capability string to query. |
string | $parameter | If set, require the parameter to exist. |
True if the capability (and parameter) exist.
isEnabled(string $capability = null) : mixed
Is the extension enabled?
string | $capability | The extension (+ parameter) to query. If null, returns all enabled extensions. |
If $capability is null, return all enabled extensions. Otherwise, true if the extension (+ parameter) is enabled.