Constructor & Destructor Documentation
Method constructor
- Returns:
- void
- Exceptions:
-
| Exception |
- NO_METHOD (API class could not be found)
|
Member Function Documentation
Set method Assumes that the folder and files exist
- Parameters:
-
- Returns:
- void
Fetch all available APIs
- Returns:
- array Available APIs
Shorten URL
- Parameters:
-
| string | $url | URL to shorten |
| string | $apiKey | Method key to use (If left blank, we'll just grab the first one) |
- Returns:
- array Shortened url data
- Exceptions:
-
| Exception |
- NO_METHOD (API class could not be found)
- BAD_FORMAT (URL is not in the correct format)
- FAILED (URL shorten failed)
|
Field Documentation
Main API classes directory
Array of additional error messages
The documentation for this class was generated from the following file:
- admin/sources/classes/url/shorten.php