The TrueFusion CMS core class.
More...
Public Member Functions
Static Public Member Functions
-
static disableVersionCheck ()
-
static enableDebugging ()
- Enable debugging messages.
-
static getModel ()
- Get the model.
-
static getView ()
- Get the view.
-
static pathInfo ()
- Convenience function.
-
static trigger_error ($message, $error_type)
-
static version_check ()
Static Protected Attributes
-
static $check_version = true
-
static $Model = NULL
-
static $View = NULL
Detailed Description
The TrueFusion CMS core class.
Constructor & Destructor Documentation
TFCMS constructor.
Parameters do not require being passed in, but this method takes the same parameters as TFCMSView's constructor.
- See also:
- TFCMSView
Member Function Documentation
| addGlobalJavaScripts |
( |
$ |
script_paths | ) |
|
Add JavaScript scripts for every page.
- Parameters:
-
| string | $script_paths | A semi-colon delimited list of JavaScript file paths. |
| addGlobalStyleSheets |
( |
$ |
stylesheet_paths | ) |
|
Add stylesheets for every page.
- Parameters:
-
| string | $stylesheet_paths | A semi-colon delimited list of stylesheet file paths. |
| addMetaData |
( |
$ |
name, |
|
|
$ |
content |
|
) |
| |
Add meta data.
- Parameters:
-
| string | $name | Value for the HTML attribute, name. |
| string | $content | Value for the HTML attribute, content. |
- Note:
Currently only supports name and content attributes. Content with the same name will get overwritten.
Finishing piece to the puzzle.
- Warning:
- Call this method when you have finished setting everything up. Calling this method before any other method may prove to break things.
| setGlobalFileTypes |
( |
$ |
file_types | ) |
|
Set file types for directories to consider.
- Parameters:
-
| string | $file_types | A semi-colon delimited string of file extensions. |
| setHomePage |
( |
$ |
home_page | ) |
|
Set the home page to $home_page
- Parameters:
-
| string | $home_page | Path to file. |
The documentation for this class was generated from the following file: