Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • areyouahuman
      • auth
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
        • default
      • exchange
        • rates
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • quickbooks
            • invoice
      • json
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • recaptcha
      • reports
        • aging
          • invoices
        • custom
          • report
        • invoice
          • creation
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • form
      • html
      • javascript
      • xml
    • lib
  • None
  • PHP

Classes

  • Cache
  • Configure
  • Controller
  • Dispatcher
  • Language
  • Loader
  • Model
  • Router
  • View

Exceptions

  • UnknownException

Class Dispatcher

This class is invoked by the driver (index.php) and handles dispatching of requests to the proper controller. It extends Controller only so that it can invoke its protected methods.

Controller
Extended by Dispatcher
Package: minPHP\lib
Located at lib/dispatcher.php

Methods summary

public static
# dispatchCli( array $args )

Dispatch a Command Line Interface request

Dispatch a Command Line Interface request

Parameters

$args
array
$args All CLI arguments
public static
# dispatch( string $request_uri, boolean $is_cli = false )

Dispatch the request to the proper controller

Dispatch the request to the proper controller

Parameters

$request_uri
string
$request_uri The request URI string
$is_cli
boolean
$is_cli Whether or not this requests is a command line request

Throws

Exception
thrown when request can not be dispatched or Dispatcher::raiseError can not handle the error
public static
# raiseError( Exception $e )

Print an exception thrown error page

Print an exception thrown error page

Parameters

$e
Exception
$e An exception thrown

Throws

Exception
public static
# stripSlashes( string & $str )

Strip slashes from the given string

Strip slashes from the given string

Parameters

$str
string
$str

Methods inherited from Controller

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

Magic methods summary

Properties summary

Properties inherited from Controller

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

Blesta API documentation generated by ApiGen 2.8.0