Page MenuHomeDevCentral

Controller.php
No OneTemporary

Controller.php

<?php
/**
* _, __, _, _ __, _ _, _, _
* / \ |_) (_ | | \ | /_\ |\ |
* \ / |_) , ) | |_/ | | | | \|
* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
*
* Controller class
*
* @package ObsidianWorkspaces
* @subpackage Controller
* @author Sébastien Santoro aka Dereckson <dereckson@espace-win.org>
* @license http://www.opensource.org/licenses/bsd-license.php BSD
* @filesource
*/
/**
* Controller class
*
* This class describes a controller
*/
class Controller implements RunnableWithContext {
/**
* @var string the application name
*/
public static $name;
/**
* @var Context the site context
*/
public $context;
/**
* Initializes a new instance of the controller with the specified context and handle request
*/
public static function Run (Context $context) {
$controller = new static;
$controller->context = $context;
$controller->handleRequest();
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Sep 15, 07:55 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2983885
Default Alt Text
Controller.php (964 B)

Event Timeline