\Page_Controller
A pretty much empty Page Controller but with a couple cool things.
Note: Doesn't have to be Page_Controller!
Synopsis
class Page_Controller
extends ContentController
implements
TemplateGlobalProvider
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void init()
- public static void get_template_global_variables()
- public static string pj_root()
- public static string current_year()
Hierarchy
Extends
- ContentController
Implements
- TemplateGlobalProvider
Members
private
- $allowed_actions
Methods
public
- current_year() — Return the current year.
- get_template_global_variables() — Temlplate variables/functions
- init()
- pj_root() — You can (should!) use $PJ in your template when linking to css or js files.