\org_openpsa_widgets_calendar_event

Simple event class for feeding event information to the calendar widgets

Summary

Methods
Properties
Constants
__construct()
render_timelabel()
render()
$guid
$start
$end
$link
$attributes
$title
$description
$location
$class
$event
No constants found
No protected methods found
No protected properties found
N/A
_render_link()
No private properties found
N/A

Properties

$guid

$guid : string

Event CGUID

Type

string

$start

$start : integer

Defines the start of an event - this property is required for calendar to work

Type

integer

$end

$end : integer

Defines the end of an event

Type

integer

$link

$link : string

Link to the event

Type

string

$attributes

$attributes : string

Attributes for the event

Type

string

$title

$title : string

Event title

Type

string

$description

$description : string

Event description

Type

string

$location

$location : string

Event location

Type

string

$class

$class : string

Event CSS class

Type

string

Methods

__construct()

__construct(  $event = null) 

Parameters

$event

render_timelabel()

render_timelabel(  $show_day_name = false) 

Renders hEvent compatible and nice time label

Parameters

$show_day_name

render()

render(  $element = 'div',   $h_level = 3) 

Draws one single event

Parameters

$element
$h_level

_render_link()

_render_link() 

Draws links to the right location