Hoa central
Public Member Functions | Public Attributes | List of all members
Hoa\Dispatcher\Kit Class Reference
Inheritance diagram for Hoa\Dispatcher\Kit:

Public Member Functions

 __construct (Router $router, Dispatcher $dispatcher, View\Viewable $view=null)
 
 construct ()
 

Public Attributes

 $router = null
 
 $dispatcher = null
 
 $view = null
 
 $data = null
 

Detailed Description

Class .

A structure, given to action, that holds some important data.

Definition at line 50 of file Kit.php.

Constructor & Destructor Documentation

Hoa\Dispatcher\Kit::__construct ( Router  $router,
Dispatcher  $dispatcher,
View\Viewable  $view = null 
)

Build a dispatcher kit.

Parameters
\Hoa\Router$routerThe router.
\Hoa\Dispatcher$dispatcherThe dispatcher.
\Hoa\View\Viewable$viewThe view.
Returns
void

Definition at line 90 of file Kit.php.

94  {
95  $this->router = $router;
96  $this->dispatcher = $dispatcher;
97  $this->view = $view;
98 
99  if (null !== $view) {
100  $this->data = $view->getData();
101  }
102 
103  return;
104  }

Member Function Documentation

Hoa\Dispatcher\Kit::construct ( )

This method is called just after the __construct() method.

Returns
void

Definition at line 111 of file Kit.php.

112  {
113  return;
114  }

Member Data Documentation

Hoa\Dispatcher\Kit::$data = null

Definition at line 78 of file Kit.php.

Hoa\Dispatcher\Kit::$dispatcher = null

Definition at line 64 of file Kit.php.

Hoa\Dispatcher\Kit::$router = null

Definition at line 57 of file Kit.php.

Hoa\Dispatcher\Kit::$view = null

Definition at line 71 of file Kit.php.


The documentation for this class was generated from the following file: