Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • BeforeControlEvent
  • BeforeProcessEvent
  • BeforeValidateEvent
  • ControlEvent
  • ControlEventBase
  • Dispatcher
  • FailureEvent
  • GetFormEvent
  • ProcessEvent
  • RescueEvent
  • Response
  • ValidateEvent
  • ValidateEventBase

Exceptions

  • Failure
  • FormHasExpired

Functions

  • array_to_xml

Class Dispatcher

Dispatches operation requests.

ICanBoogie\Operation\Dispatcher implements ICanBoogie\HTTP\IDispatcher
Namespace: ICanBoogie\Operation
Located at vendor/icanboogie/operation/lib/dispatcher.php

Methods summary

public ICanBoogie\Operation\Response
# __invoke( ICanBoogie\HTTP\Request $request )

Tries to create an ICanBoogie\Operation instance from the specified request. The operation is then executed and its response returned.

Tries to create an ICanBoogie\Operation instance from the specified request. The operation is then executed and its response returned.

If an operation could be created from the request, the operation property of the request's context is set to that operation.

For forwarded operation, successful responses are not returned unless the request is an XHR or the response has a location.

Parameters

$request
ICanBoogie\HTTP\Request
$request

Returns

ICanBoogie\Operation\Response
A response to the tequest.

Implementation of

ICanBoogie\HTTP\IDispatcher::__invoke()
public ICanBoogie\HTTP\Response
# rescue( Exception $exception, ICanBoogie\HTTP\Request $request )

Fires ICanBoogie\Operation\RescueEvent and returns the response provided by third parties. If no response was provided, the exception (or the exception provided by third parties) is rethrown.

Fires ICanBoogie\Operation\RescueEvent and returns the response provided by third parties. If no response was provided, the exception (or the exception provided by third parties) is rethrown.

Parameters

$exception
Exception
$exception The exception to rescue.
$request
ICanBoogie\HTTP\Request
$request The request.

Returns

ICanBoogie\HTTP\Response
If the exception is rescued, the response is returned, otherwise the exception is rethrown.

Throws

Exception
when the request exception cannot be rescued.

Implementation of

ICanBoogie\HTTP\IDispatcher::rescue()

Magic methods summary

Autodoc API documentation generated by ApiGen 2.8.0