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
string
the application IDCreateEvent() : object
object
instance of FastBroadcastCalendarEventGetLastError(string $message) : int
string
the errormessage
int
retcodeGetLastErrorMessage() : string
This method shold only be used for small examples to easy access the message of an error
string
messageHttpClient() : object
object
instance of class FastBroadcastHttpClientRegisterTranslationFunction(mixed $func) : void
mixed
the name of the function as a string or an array width classname and methodname for static method calls
SetAPPID(string $app_id) : void
string
the application ID
SetError(int $retcode, string $message) : int
int
the retcode
string
the message
int
the given retcodeTranslate(string $str) : string
string
the string to translate
string
the 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