Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • _404
  • AdminBilling
  • AdminClient
  • AdminClients
  • AdminCompanyAutomation
  • AdminCompanyBilling
  • AdminCompanyCurrencies
  • AdminCompanyCustomfields
  • AdminCompanyEmails
  • AdminCompanyGateways
  • AdminCompanyGeneral
  • AdminCompanyGroups
  • AdminCompanyModules
  • AdminCompanyPlugins
  • AdminCompanyTaxes
  • AdminDialog
  • AdminLicense
  • AdminLogin
  • AdminLogout
  • AdminMain
  • AdminMyinfo
  • AdminPackages
  • AdminSearch
  • AdminSettings
  • AdminSystemApi
  • AdminSystemAutomation
  • AdminSystemBackup
  • AdminSystemCompanies
  • AdminSystemGeneral
  • AdminSystemHelp
  • AdminSystemMarketplace
  • AdminSystemStaff
  • AdminSystemThemes
  • AdminSystemUpgrade
  • AdminTests
  • AdminTheme
  • AdminTools
  • Api
  • Callback
  • ClientAccounts
  • ClientContacts
  • ClientDialog
  • ClientInvoices
  • ClientLogin
  • ClientLogout
  • ClientMain
  • ClientPay
  • ClientServices
  • ClientTheme
  • ClientTransactions
  • Cron
  • Install
  • Main
  • Upgrade
  • Uploads

Class AdminMain

Admin Main

Controller
Extended by AppController
Extended by AdminMain
Package: blesta\app\controllers
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/controllers/admin_main.php

Methods summary

public
# preAction( )

Bootstrap

Bootstrap

Overrides

AppController::preAction
public
# index( )

Admin Home page dashboard

Admin Home page dashboard

Overrides

Controller::index
public
# calendar( )

Admin Calendar

Admin Calendar

private string
# swapCalendarViewName( string $view )

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

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

Parameters

$view
string
$view The view name

Returns

string
The equivalent name
private
# getWeek( string $date )

Retrieves a date range for a given week

Retrieves a date range for a given week

Parameters

$date
string
$date A date within the week whose date range to retrieve
public
# addEvent( )

Creates a new calendar event

Creates a new calendar event

public
# editEvent( )

Updates a calendar event

Updates a calendar event

public
# editEventRange( )

Updates the date range and (optionally) all day status

Updates the date range and (optionally) all day status

public
# deleteEvent( )

Deletes a calendar event

Deletes a calendar event

public
# getEvents( )

AJAX retrieves a list of events to update the calendar with

AJAX retrieves a list of events to update the calendar with

public
# getEventCounts( )

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

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

public
# updateQuickLink( )

AJAX updates the quicklink for a given page

AJAX updates the quicklink for a given page

public
# updateDashboard( )

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

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

public
# manageWidgets( )

Enable/Disable widgets from appearing on the dashboard

Enable/Disable widgets from appearing on the dashboard

Methods inherited from AppController

__construct(), authorized(), flashMessage(), getCompany(), getDaysOfWeek(), getMonths(), getTimes(), getWidgets(), isAjax(), isLoggedIn(), isStaffAsClient(), licenseCheck(), outputAsJson(), postAction(), primeCompany(), renderAjaxWidget(), renderAjaxWidgetIfAsync(), reorderWidgets(), requireLogin(), setMessage(), setWidgetState(), toggleWidget()

Methods inherited from Controller

clearCache(), components(), draw(), emptyCache(), helpers(), partial(), redirect(), render(), set(), setDefaultViewPath(), startCaching(), stopCaching(), uses()

Magic methods summary

Properties summary

private string $calendar_staff_event_unshared
#

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

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

private string $calendar_staff_event_shared
#

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

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

private string $calendar_other_events
#

Calendar event class for an event created by another staff member

Calendar event class for an event created by another staff member

Properties inherited from AppController

$admin_uri, $base_uri, $base_url, $client_uri, $company_id, $components, $helpers, $layout, $request_uri, $server_protocol

Properties inherited from Controller

$action, $controller, $files, $get, $is_cli, $plugin, $post, $structure, $structure_view, $uri, $uri_str, $uses, $view

Blesta API documentation generated by ApiGen 2.8.0