CalTimeToTime()
Category()
Catgroup()
ClientState()
CompareStart()
CostFree()
CostPerAK()
CostPerUnit()
CostPerVVK()
CostTable()
CostText()
Created()
CreatedBy()
Description()
Dj()
Download()
DownloadURL()
End()
Hits()
Id()
ImageName()
ImageTag()
ImageURL()
IsCategory()
IsCatgroup()
IsClientState()
IsCost()
IsCostAK()
IsCostFree()
IsCostPerUnit()
IsCostTable()
IsCostText()
IsCostVVK()
IsDescription()
IsDj()
IsDownload()
IsEnd()
IsFlyer()
IsHits()
IsImage()
IsLocation()
IsOrganizer()
IsProgram()
IsScene()
IsSlogan()
IsStart()
IsToday()
IsValid()
Location()
Modified()
ModifiedBy()
Nr()
Organizer()
Program()
ResizeText()
Scene()
SetEvent()
Slogan()
Start()
Summary()
sprintf()
Person()
$end
$start
$_event
$_person
This class is important to access the data from the event array given from the API-Function GetEventList and GetEvent.
CalTimeToTime(string $cal_time) : int
string
time
int
UNIX timeCategory() : string
string
e.g. 'party', 'concert', 'retreat'...Catgroup() : string
string
one of each 'event', 'workshop', 'lesson'ClientState() : int
int
clientstate 0 = the event does not belong to a client 1 or higher = the location or the organizer is registered as a clientCompareStart(int $time, string $precision) : bool
int
time
string
if precision is day, the hour, minute and second values are ignored
bool
returns true on equalCostFree() : bool
bool
CostPerAK() : string
string
CostPerUnit() : string
string
the cost per unitCostPerVVK() : string
string
CostTable() : mixed
mixed
an array for the costtabele if it exists or nullCostText() : string
string
Created(string $format) : string
string
format: see PHP date function
string
the formatted creation dateCreatedBy() : string
string
usernameDescription(int $lines, int $columns, string $eol) : string
If the values for lines and columns are specified the method will use the ResiseTest Method to resize the text
int
columns for resizing
int
lines for resizing*
string
the linebreakes usually will be replaced with a br tag
string
the description or an empty string resized by the paramsDj(int $index) : mixed
int
index of the dj, The default is zero.
mixed
gives back an object of the class FastBroadcastPerson when the Location exists; otherwise nullDownload() : mixed
mixed
array, if there is something to download otherwise nullDownloadURL(int $index) : string
int
the index of the file in the event array
string
the path, if an valid download-row is indexed, otherwise an empty string is returnedEnd(string $format) : string
string
format: see PHP date function
string
the formatted end dateHits() : int
int
hitsId() : string
string
the eventidImageName(int $index) : bool
int
index
bool
ImageTag(int $index, int $width, int $height) : string
int
index
int
width
int
height
string
the html img-tagImageURL(int $index, int $width, int $height) : string
int
index
int
width oft the image
int
height of the image
string
the url of the image if the index is valid otherwise an empty stringIsCategory() : bool
bool
IsCatgroup() : bool
bool
IsClientState() : bool
bool
IsCost() : bool
bool
IsCostAK() : bool
bool
IsCostFree() : bool
bool
IsCostPerUnit() : bool
bool
IsCostTable() : bool
bool
IsCostText() : bool
bool
IsCostVVK() : bool
bool
IsDescription() : bool
bool
IsDj(int $index) : bool
int
index of the dj
bool
IsDownload() : bool
bool
IsEnd() : bool
bool
IsFlyer(int $index) : bool
int
index
bool
IsHits() : bool
bool
IsImage(int $index) : bool
int
index
bool
IsLocation(int $index) : bool
int
index of the location
bool
IsOrganizer(int $index) : bool
int
index of the organizer
bool
IsProgram() : bool
bool
IsScene() : bool
bool
IsSlogan() : bool
bool
IsStart() : bool
bool
IsToday() : bool
bool
IsValid() : bool
bool
Location(int $index) : mixed
int
index of the location. The default is zero.
mixed
gives back an object of the class FastBroadcastPerson when the Location exists; otherwise nullModified(string $format) : string
string
format: see PHP date function
string
the formatted modified dateModifiedBy() : string
string
usernameNr() : string
string
the eventnrOrganizer(int $index) : mixed
int
index of the organizer, The default is zero.
mixed
gives back an object of the class FastBroadcastPerson when the Location exists; otherwise nullProgram() : mixed
mixed
array if there is a program otherwise nullResizeText(string $text_in, int $max_lines, int $max_chars_per_line, string $eol, string $ellipse)
string
the text to resize
int
max lines oft the resized text
int
max char per line ( requred to braek paragraphs to lines)
string
for html output the eol should be set to a br tag
string
if the result is smaller when the input, an ellipse or an other string is added to the end of the text
Scene() : string
string
e.g. 'salsa', 'tango', 'mediation'...SetEvent(array $event)
It is recommended that each application shoud use objetc of class FastBroadcastCalendarEvent to access the values of an event returned by the the FastBroadcast API
array
event
Slogan() : string
string
the slogan or an empty stringStart(string $format) : string
string
format: see PHP date function
string
the formatted start dateSummary() : string
string
the Title of the Eventsprintf(string $format) : \the
Variables must be enclosed with brackets {variable}. sample: "{location_city}: {start_H}:{start_i} {location_fullname}" for the resolution of time-variables see the date funktion in php.net
string
format
\the
formatstring where the valid params are resolvedPerson() : mixed
mixed
if there is an Object the method returns an object of the class NosFastBroadcastPerson. otherwise it returns null$end
$start
$_event
.
$_person