Class to implement services for a platform via its proprietary API. More...
Public Member Functions | |
| __construct ($platform) | |
| Class constructor. | |
| isConfigured () | |
| Check if the API hook has been configured. | |
| getToolSettings ($simple=true) | |
| Get Tool Settings. | |
| setToolSettings ($settings=array()) | |
| Perform a Tool Settings service request. | |
Protected Attributes | |
| $platform = null | |
| Platform object. | |
Class to implement services for a platform via its proprietary API.
Definition at line 14 of file ApiPlatform.php.
| __construct | ( | $platform | ) |
Class constructor.
| Platform | $platform |
Reimplemented in ApiToolConsumer.
Definition at line 29 of file ApiPlatform.php.
References ApiPlatform\$platform.
| getToolSettings | ( | $simple = true | ) |
Get Tool Settings.
| bool | $simple | True if all the simple media type is to be used (optional, default is true) |
Definition at line 51 of file ApiPlatform.php.
| isConfigured | ( | ) |
Check if the API hook has been configured.
Definition at line 39 of file ApiPlatform.php.
| setToolSettings | ( | $settings = array() | ) |
Perform a Tool Settings service request.
| array | $settings | An associative array of settings (optional, default is none) |
Definition at line 63 of file ApiPlatform.php.
|
protected |
Platform object.
Definition at line 22 of file ApiPlatform.php.
Referenced by ApiPlatform\__construct().