Example #1
0
 /**
  * Instantiate the front controller
  *
  * @param Jijawi_Loader $loader
  */
 public function __construct(Jijawi_Loader $loader)
 {
     $loader->load('Jijawi/View.php');
     $this->_loader = $loader;
     $this->_view = new Jijawi_View($this);
 }
Example #2
0
 * to mail@dasprids.de so I can send you a copy immediately.
 *
 * @category   Jijawi
 * @copyright  Copyright (c) 2009 Ben Scholzen "DASPRiD" (http://www.dasprids.de)
 * @license    http://jijawi.org/license/new-bsd    New BSD License
 * @version    $Id: bootstrap.php 16 2009-07-18 18:08:43Z dasprid $
 */
/**
 * Bootstrap of Jijawi
 * 
 * Take care when editing this file, as the make process requires the markers
 * of both the bootstrap code itself and the data. The bootstrap markers have
 * to be each on single lines above and below the bootstrap code, while the data
 * markers have to be on a single line, not surounded by any code, as the
 * complete line will be replaced by the data. 
 * 
 * @category   Jijawi
 * @package    Jijawi
 * @copyright  Copyright (c) 2009 Ben Scholzen "DASPRiD" (http://www.dasprids.de)
 * @license    http://jijawi.org/license/new-bsd    New BSD License 
 */
/**
 * @see Jijawi_Loader
 */
require_once 'Jijawi/Loader.php';
/* -----BEGIN BOOTSTRAP----- */
$loader = new Jijawi_Loader(dirname(__FILE__), true);
$loader->load('Jijawi/Front.php');
$front = new Jijawi_Front($loader);
$front->dispatch();
/* -----END BOOTSTRAP----- */