\MyModulePage_Controller
Synopsis
class MyModulePage_Controller
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void init()
- protected array getModuleJavascriptFiles()
- protected array getModuleCSSFiles()
- public void addModuleRequirements()
- public string getModuleAssetFile()
Hierarchy
Extends
- Page_Controller
Members
private
- $allowed_actions
—
array
An array of actions that can be accessed via a request. Each array element should be an action name, and the permissions or conditions required to allow the user to access it.
Methods
protected
public
- addModuleRequirements() — Adds Javascript and CSS module to Requirements Calls getModuleJavascriptFiles and getModuleCSSFiles
- getModuleAssetFile() — Determins if the given asset file has a minified version. If enviroment is not dev, and a minified version exists, it returns the path to the minified version. Otherwise it returns the full file.
- init()