APPID()
CreateEvent()
GetLastError()
GetLastErrorMessage()
HttpClient()
RegisterTranslationFunction()
SetAPPID()
SetError()
Translate()
__clone()
__construct()
$scheme
$translation_function
$app_id
$error
DOWNLOAD_PATH
ERROR
HOST
IMAGE_PATH
NO_DATA_FOUND
RPC_PATH
SUCCESS
TIMEOUT
VERSION
FastBroadcast ist the main class of the API.
It is a factory for other classes used by the library. If You recieve the objects from this class there will bo no need to include other files of the Library, because all required scriptfiles are loaded by the library.
usage:
// Access to FastBroadcast API-Classes
require_once dirname(__FILE__).'/lib/FastBroadcast.class.php';
// Get the HttpClient from the Factory
$httpClient = FastBroadcast::HttpClient();
// combine params to a valid API-Request
$params = array(
'scenes' => 'salsa',
'catgroups' => 'event',
'period' => 'week',
'ccty' => 'Hamburg',
'responsegroup' => 'medium');
// Do the Request
$retcode = $httpClient->GetEventList( $params );
APPID() : string
stringthe application IDCreateEvent() : object
objectinstance of FastBroadcastCalendarEventGetLastError(string $message) : int
stringthe errormessage
intretcodeGetLastErrorMessage() : string
This method shold only be used for small examples to easy access the message of an error
stringmessageHttpClient() : object
objectinstance of class FastBroadcastHttpClientRegisterTranslationFunction(mixed $func) : void
mixedthe name of the function as a string or an array width classname and methodname for static method calls
SetAPPID(string $app_id) : void
stringthe application ID
SetError(int $retcode, string $message) : int
intthe retcode
stringthe message
intthe given retcodeTranslate(string $str) : string
stringthe string to translate
stringthe translated string on success otherwise the given string__clone()
__construct()
$scheme
$translation_function
$app_id
$error
DOWNLOAD_PATH
ERROR
HOST
IMAGE_PATH
NO_DATA_FOUND
RPC_PATH
SUCCESS
TIMEOUT
VERSION