Public Member Functions |
| __construct ($ini=null) |
| instance_of ($object, $class) |
Static Public Member Functions |
static | run ($ini=null) |
static | addOnTheFlyAttribute ($class, $attributeName, $attribute) |
static | getOnTheFlyAttributes ($class) |
static | setup ($ini=null) |
static | dataStorage () |
static | parameterEncoder ($p) |
static | encodeURL ($class=null, $construct_params=null, $method=null, $method_params=null, $dataName=null) |
static | decodeURL () |
static | fixCode ($string, $encoding=true) |
static | fromArray (array $ini) |
static | createFile ($file_path, $data=null, $flags=null) |
static | localToRemotePath ($file_path) |
static | load_obj ($classToLoad) |
static | loadDom ($template) |
static | hasNoHtmlTags ($string) |
Data Fields |
const | DEFAULT_INI = 'dof.ini' |
Static Public Attributes |
static | $LOCAL_ROOT |
static | $REMOTE_ROOT |
static | $SimplOn_PATH |
static | $GENERIC_TEMPLATES_PATH |
static | $MASTER_TEMPLATE |
static | $CREATE_LAYOUT_TEMPLATES |
static | $OVERWRITE_LAYOUT_TEMPLATES |
static | $USE_LAYOUT_TEMPLATES |
static | $DEFAULT_RENDERER |
static | $DEFAULT_ELEMENT |
static | $DEFAULT_METHOD = 'index' |
static | $URL_METHOD_SEPARATOR = '!' |
static | $CREATE_FROM_TEMPLATES |
static | $OVERWRITE_FROM_TEMPLATES |
static | $USE_FROM_TEMPLATES |
static | $JS_FLAVOUR = 'jQuery' |
static | $CSS_FLAVOUR = 'jQuery' |
static | $PERMISSIONS = false |
static | $DEV_MODE = false |
static | $DATA_STORAGE |
static | $QUICK_DELETE = false |
static | $onTheFlyAttributes = array() |
static | $AUTOLOAD_DIRS |
static | $class |
static | $method |
static | $dataName |
static | $construct_params |
static | $method_params |
Detailed Description
Definition at line 68 of file Main.php.
Constructor & Destructor Documentation
Loads all the parameters specific to a website and loads needed classes.
- Parameters:
-
mixed | $ini | Can be either the path to a ini file or an array with configuration parameters. |
- Returns:
- unknown_type
Definition at line 129 of file Main.php.
Member Function Documentation
static createFile |
( |
$ |
file_path, |
|
|
$ |
data = null , |
|
|
$ |
flags = null |
|
) |
| [static] |
static encodeURL |
( |
$ |
class = null , |
|
|
$ |
construct_params = null , |
|
|
$ |
method = null , |
|
|
$ |
method_params = null , |
|
|
$ |
dataName = null |
|
) |
| [static] |
static fixCode |
( |
$ |
string, |
|
|
$ |
encoding = true |
|
) |
| [static] |
static load_obj |
( |
$ |
classToLoad | ) |
[static] |
Includes a (class)file looking for it in the following order 1.- Site directory, 2.- Site template directory, 3.- SimplOn directory
Definition at line 417 of file Main.php.
static loadDom |
( |
$ |
template | ) |
[static] |
static run |
( |
$ |
ini = null | ) |
[static] |
echo '
self::$class ';var_dump(self::$class); echo '
self::$construct_params ';var_dump(self::$construct_params); echo '
self::$dataName ';var_dump(self::$dataName); echo '
self::$method ';var_dump(self::$method); echo '
self::$method_params ';var_dump(self::$method_params); echo '
- _SERVER:
- ';var_dump(
_SERVER,true); return; /*
Definition at line 134 of file Main.php.
static setup |
( |
$ |
ini = null | ) |
[static] |
Field Documentation
Initial value: array(
'.',
'DataStorages',
'Datas',
'Elements',
'Utilities',
)
Definition at line 108 of file Main.php.
$construct_params [static] |
$CREATE_FROM_TEMPLATES [static] |
$CREATE_LAYOUT_TEMPLATES [static] |
$CSS_FLAVOUR = 'jQuery' [static] |
$DEFAULT_ELEMENT [static] |
$DEFAULT_METHOD = 'index' [static] |
$DEFAULT_RENDERER [static] |
$DEV_MODE = false [static] |
$GENERIC_TEMPLATES_PATH [static] |
$JS_FLAVOUR = 'jQuery' [static] |
$MASTER_TEMPLATE [static] |
$onTheFlyAttributes = array() [static] |
$OVERWRITE_FROM_TEMPLATES [static] |
$OVERWRITE_LAYOUT_TEMPLATES [static] |
$PERMISSIONS = false [static] |
$QUICK_DELETE = false [static] |
$URL_METHOD_SEPARATOR = '!' [static] |
$USE_FROM_TEMPLATES [static] |
$USE_LAYOUT_TEMPLATES [static] |
The documentation for this class was generated from the following file: