Blesta Source Documentation

AdminMain extends AppController

Admin Main

Table of Contents

Properties

$calendar_other_events Calendar event class for an event created by another staff member
$calendar_staff_event_shared Calendar event class for an event created by this staff member that is shared
$calendar_staff_event_unshared Calendar event class for an event created by this staff member that is not shared

Methods

addEvent() Creates a new calendar event
calendar() Admin Calendar
deleteEvent() Deletes a calendar event
editEvent() Updates a calendar event
editEventRange() Updates the date range and (optionally) all day status
getEventCounts() AJAX request to fetch the number of events that begin each day between the given dates
getEvents() AJAX retrieves a list of events to update the calendar with
index() Admin Home page dashboard
manageWidgets() Enable/Disable widgets from appearing on the dashboard
preAction() Bootstrap
updateDashboard() Renders a box to select the dashboard layout to use, and sets it
updateQuickLink() AJAX updates the quicklink for a given page
swapCalendarViewName() Retrieves the reciprocating view name between the name of the fullCalendar view and the friendly name our controllers expect
Properties

$calendar_other_events

Calendar event class for an event created by another staff member

private mixed $calendar_other_events = 'event_other'

$calendar_staff_event_shared

Calendar event class for an event created by this staff member that is shared

private mixed $calendar_staff_event_shared = 'event_shared'

$calendar_staff_event_unshared

Calendar event class for an event created by this staff member that is not shared

private mixed $calendar_staff_event_unshared = 'event_unshared'
Methods

addEvent()

Creates a new calendar event

public addEvent() : mixed

calendar()

Admin Calendar

public calendar() : mixed

deleteEvent()

Deletes a calendar event

public deleteEvent() : mixed

editEvent()

Updates a calendar event

public editEvent() : mixed

editEventRange()

Updates the date range and (optionally) all day status

public editEventRange() : mixed

getEventCounts()

AJAX request to fetch the number of events that begin each day between the given dates

public getEventCounts() : mixed

getEvents()

AJAX retrieves a list of events to update the calendar with

public getEvents() : mixed

index()

Admin Home page dashboard

public index() : mixed

manageWidgets()

Enable/Disable widgets from appearing on the dashboard

public manageWidgets() : mixed

preAction()

Bootstrap

public preAction() : mixed

updateDashboard()

Renders a box to select the dashboard layout to use, and sets it

public updateDashboard() : mixed

AJAX updates the quicklink for a given page

public updateQuickLink() : mixed

swapCalendarViewName()

Retrieves the reciprocating view name between the name of the fullCalendar view and the friendly name our controllers expect

private swapCalendarViewName(string $view) : string
Parameters
$view : string

The view name

Return values
string

The equivalent name

Tags
subpackage

app.controllers

copyright

Copyright (c) 2010, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results