Overview

Packages

  • Onion::Controllers
  • Onion::Core
  • Onion::UI
  • Onion::Utils

Classes

  • Authenticator
  • Controller
  • Database
  • DatabaseResult
  • Log
  • Model
  • Onion
  • Request
  • Response
  • User
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * Onion Framework - Predok pre všetky kontrolery
 5:  *
 6:  * Copyright (c) 2011 Jano Gašpar (http://webstranky.net)
 7:  *
 8:  * @author    Jano Gašpar
 9:  * @copyright Copyright (c) 2011 Jano Gašpar
10:  * @package   Onion::Core
11:  **/
12: class Controller
13: {
14:     /**
15:      * @var string  cesta k aktuálnej šablóne
16:      */
17:     public $view;
18: 
19: 
20:     /**
21:      * @var object Onion
22:      */
23:     protected $app;
24: 
25: 
26:     /**
27:      * Konštruktor
28:      *
29:      * @param  object Onion
30:      * @return void
31:      */
32:     function __construct(Onion $app) {
33:         $this->app = $app;
34:     }
35: }
Onion API documentation generated by ApiGen.
Generated using the TokenReflection library.