Source for file Abstract_Page_Controller.php
Documentation is available at Abstract_Page_Controller.php
* LAIKA FRAMEWORK Release Notes:
* @filesource Abstract_Page_Controller.php
* @date 2012-05-18 21:47:22 -0400 (Fri, 18 May 2012)
* @author Leonard M. Witzel <witzel@post.harvard.edu>
* @copyright Copyright (c) 2012 Laika Soft <{@link http://oafbot.com}>
* Abstract Laika_Abstract_Page_Controller class.
* @extends Laika_Abstract_Controller
public static $access_level =
'PUBLIC'; // PUBLIC, PRIVATE, PROTECTED
public static $access_group =
'USER'; // USER, ADMIN, WORLD
public static $caching =
TRUE;
protected $ignore =
array('action_handler');
//-------------------------------------------------------------------
//-------------------------------------------------------------------
$view::init()->render_page($args);
/*$html = ob_get_contents();
$tidy->parseString($html, $config, 'utf8');
echo tidy_get_output($tidy);
//$cachefile = SYS_CACHE.basename($class, '.php') . '.cache';
$cachefile =
SYS_CACHE.
$url.
'.cache';
else include($cachefile);
$view::init()->render_page($args);
$handle =
fopen($cachefile, "w");
else include($cachefile);
* action_handler function.
* Check if method exists. If called method does not exist or action_handler
* is called recursively, direct flow of control to the default_action.
* Otherwise perform requested action.
* @param mixed $parameters
!empty($parameters) ?
$this->parameters =
$parameters :
$this->parameters =
NULL;
if( $action ==
'default' )
* default_action function.
* set_pagination function.
if(!isset
($this->parameters['p']))
$_SESSION['pagination'] =
1;
$_SESSION['pagination'] =
$this->parameters['p'];
$view::init()->alert_type =
$this->parameters['type'];
$view::init()->alert =
$this->parameters['message'];
Documentation generated on Sat, 19 May 2012 02:16:54 -0400 by phpDocumentor 1.4.4