Skip Navigation

UNL_UCBCN_Frontend API Documentation

Developers, developers, developers, devel…

[UNL_UCBCN_Frontend] element index

All elements
a c d e f g i l m n o p q r s t u v w y _
_
top
__construct
Constructs an upcoming event view for this calendar.
__construct
Constructs this week object.
__construct
Constructor for a year calendar.
__construct
Constructs this search output.
__construct
Constructs an object when no events are present
__construct
Constructor for the frontend.
__construct
This function constructs the month widget and populates the heading, caption, footer and body for the MonthWidget.
__construct
This function constructs the month widget and populates the heading, caption, footer and body for the MonthWidget.
__construct
Constructor for an individual day.
a
top
AllTests.php
AllTests.php in AllTests.php
c
top
$calendar
Calendar we are searching
$calendar
Calendar UNL_UCBCN_Calendar Object
$calendar
Calendar to show events for UNL_UCBCN_Month object
$calendar
Calendar to display year for.
$calendar
Calendar UNL_UCBCN_Calendar Object
$calendar
Calendar to show events for UNL_UCBCN_Month object
$calendar
Calendar UNL_UCBCN_Calendar Object
$calendar
Calendar UNL_UCBCN_Calendar Object
$caption
Caption for the month widget.
$createFiles
$createIndex
createFiles
This function creates/upgrades the template files, as well as the sample index page.
d
top
$day
Day included in the week the user is viewing.
$day
UNL_UCBCN_Frontend::$day in Frontend.php
Day to show events for
$day
Day to show events for
$dsn
dailyEventCount
Determines the days of this month with events.
dayHasEvents
This function checks if a calendar has events on the day requested.
dbStringToHtml
This function converts a string stored in the database to html output.
determineView
This function attempts to determine the view parameters for the frontend output.
dircpy
This function copies files from source to destination.
displayImage
When the image view is set, the image for a given event will be displayed to the end user. $_GET['id'] must be set to the event.id which has the image.
Day.php
Day.php in Day.php
e
top
$endtime
end time to search
$eventdatetime_id
Specific eventdatetime_id (if used)
EventListing_icalendar.tpl.php
EventListing_icalendar.tpl.php in EventListing_icalendar.tpl.php
EventListing_rss.tpl.php
EventListing_rss.tpl.php in EventListing_rss.tpl.php
f
top
$firstDay
start day of the week 0 = Sunday
$format
format of view
file_str_replace
Replaces text within files.
findOngoingEvents
This function finds ongoing events for the given month.
formatURL
Returns a formatted URL.
Frontend.php
Frontend.php in Frontend.php
Frontend_setup.php
Frontend_setup.php in Frontend_setup.php
g
top
getCacheKey
Get's a uniqe key for this object for reference in cache.
getCacheKey
Returns a string identifying this month widget.
getCalendarID
Gets the calendar id from a shortname.
getCalendarsByStatus
Get a list of calendars with a given status
getCalendarShortname
Returns a calendar shortname for the calendar with the given ID.
getEventInstance
Gets the specified event instance.
getEventTypes
Get a list of event types
getURL
Returns the permanent URL to this specific week.
getURL
Get a permanent URL to this object.
getURL
returns the url to this search page.
getURL
Returns the permanent URL to this specific day.
i
top
index.php
index.php in index.php
init
Initialize the post-install task.
l
top
$limit
Limit the number of records.
m
top
$manageruri
URI to the management interface UNL_UCBCN_Manager
$message
no events message
$month
Month the user is viewing.
$month
Month for this month widget.
$month
Month the user is viewing.
$month
Month the user is viewing.
$month
Month the user is viewing.
$monthwidgets
Array of month widgets - UNL_UCBCN_Frontend_MonthWidget
main
Runs the test suite.
makepackage.php
makepackage.php in makepackage.php
Month.php
Month.php in Month.php
MonthWidget.php
MonthWidget.php in MonthWidget.php
n
top
$next_url
URL to the next day
$next_url
URL to the next week
$noevents
Message for when no upcoming events are found.
$noevents
no events message
NoEvents.php
NoEvents.php in NoEvents.php
o
top
$ongoing
Display ongoing events?
$ongoing
Display ongoing events?
$output
Listing of events on this day.
$output
Listing of events on this day.
$output
Listing of matching events or error.
$output
Listing of events on this week. This will be an array of 7 UNL_UCBCN_Frontend_Day objects.
$output
Main content of the page sent to the client.
outputData
takes in a string and sends it to the client.
p
top
$prev_url
URL to the previous week
$prev_url
URL to the previous day
PHPUnit_MAIN_METHOD
PHPUnit_MAIN_METHOD in AllTests.php
postProcessPrompts
Optionally used to alter responses from the prompted questions.
preRun
This function is called before the run() function to handle any details prior to populating the data in the object, and sends output headers.
preRun
Runs before any output is sent or object is built.
q
top
$query
actual search string user entered
r
top
$right
Right column (usually the month widget)
reformatURL
This function is for reformmating URL address. IE, you have the url to the object, but simply want to change the format to ics etc.
run
Hub for the post-install task.
run
This function populates the month widget... checks for each day of this month whether the day has events.
run
Runs the query on the database from the calendar, currently supports two types of searches - textual or date and time hinted by passing a string supported by the strtotime() function.
run
Runs/builds the frontend object with the display parameters set.
s
top
$sectitle
Section Title
$starttime
Start time to search
showEventListing
UNL_UCBCN_EventListing of events.
showEventListing
Shows the listing of new events for this day.
showOngoingEventListing
Returns the listing of ongoing events for this day.
showWeek
Populates the output with the days for the events in this week.
suite
Adds the UNL_UCBCN_FrontendTest suite.
Search.php
Search.php in Search.php
t
top
$tbody
Body for the table
$thead
Header for the table
u
top
$uniquebody
Unique body ID
$uri
UNL_UCBCN_Frontend::$uri in Frontend.php
URI to the management frontend
$uriformat
Format of URI's querystring|rest
$url
URL to the listing of upcoming events.
$url
URL to this view.
$url
URL of events on this day.
$url
URL to this search results page.
Upcoming.php
Upcoming.php in Upcoming.php
UNL_UCBCN_Frontend
UNL_UCBCN_Frontend in Frontend.php
This is the basic frontend output class through which all output to the public is generated. This class handles the determination of what view the user requested and what information to send.
UNL_UCBCN_Frontend_AllTests
UNL_UCBCN_Frontend_Day
Object for the view of a single day for a calendar.
UNL_UCBCN_Frontend_Month
Object for a month view of the calendar.
UNL_UCBCN_Frontend_MonthWidget
Class defines a month widget, basically a table with 30 boxes representing the days in the month. Days which have events will be selected.
UNL_UCBCN_Frontend_NoEvents
Object for the view of a single day for a calendar.
UNL_UCBCN_Frontend_Search
Container for search results for the frontend.
UNL_UCBCN_Frontend_setup_postinstall
This is the post install setup script for the frontend.
UNL_UCBCN_Frontend_Upcoming
A list of upcoming events for a calendar.
UNL_UCBCN_Frontend_Week
Constructs a week view for the calendar.
UNL_UCBCN_Frontend_Year
Generates a year view for the public frontend.
uriFormat
Sets and/or returns the uri format.
v
top
$view
View to be displayed
w
top
$weeks
Contains an array of Frontend_Day objects
Week.php
Week.php in Week.php
y
top
$year
Year the user is viewing.
$year
Year to show events for.
$year
Year the user is viewing.
$year
Year for this month widget
$year
Year the user is viewing.
$year
Year the user is viewing.
Year.php
Year.php in Year.php
a c d e f g i l m n o p q r s t u v w y _