|
| static | addConf ($sConfig, $sCat=null) |
| |
| static | loadConf () |
| |
|
static | arrayMergeRecursive ($tArray, $tNewArray) |
| |
| static | loadLangueDate () |
| |
|
static | nullbyteprotect ($string) |
| |
|
static | startSession () |
| |
|
static | showException (Exception $e) |
| |
| static | autoload ($sClass) |
| |
| static | setParam ($sVar, $uValue) |
| |
| static | getParam ($sVar, $uElse=null) |
| |
| static | setParamNav ($sNav) |
| |
| static | getParamNav () |
| |
| static | getModule () |
| |
| static | getAction () |
| |
| static | addRequest ($tRequest) |
| |
|
static | loadRequest () |
| |
| static | resetRequest () |
| |
| static | getRequest () |
| |
| static | getCache () |
| |
| static | getCacheVar () |
| |
| static | getAuth () |
| |
| static | getACL () |
| |
| static | getUrlRewriting () |
| |
| static | getLog () |
| |
| static | setConfigVar ($sCatAndVar, $uValue) |
| |
| static | getConfigVar ($sCatAndVar, $uDefaut=null) |
| |
| static | setGlobalVar ($sVar, $sValue) |
| |
| static | getGlobalVar ($sVar, $defaut=null) |
| |
| static | setInstanceOf ($sObj, $oObj) |
| |
| static | getObject ($sObj, $defaut=null) |
| |
| static | redirect ($uNav, $tParam=null) |
| |
| static | getLinkWithCurrent ($tParam=null, $bAmp=true) |
| |
| static | getLink ($uNav, $tParam=null, $bAmp=true) |
| |
| static | getLinkString ($sNav, $tParam=null, $bAmp=true) |
| |
|
static | erreurLog ($sText, $e=null) |
| |
|
|
static | $tAutoload |
| |
|
static | $tConfigVar |
| |
|
|
static | $_oRequest |
| |
|
static | $_oCache |
| |
|
static | $_oCacheVar |
| |
|
static | $_oAuth |
| |
|
static | $_oUrlrewriting |
| |
|
static | $_oLog |
| |
|
static | $_tConfigFilename |
| |
|
static | $_tRequestTab |
| |
|
static | $_tGlobalVar |
| |
|
static | $_tObject |
| |
|
static | $_oACL |
| |
|
static | $_bSessionStarted =0 |
| |
_root classe moteur du framework (charge les fichiers de config / parametres)
- Author
- Mika http://mkf.mkdevs.com/
Definition at line 23 of file class_root.php.
| static addConf |
( |
|
$sConfig, |
|
|
|
$sCat = null |
|
) |
| |
|
static |
ajoute un fichier de config ini public static
- Parameters
-
| string | $sConfig | adresse du fichier de config a charger |
| string | $sCat | nom de la section a charger (si on ne veut charger qu'une section du fichier ini) |
Definition at line 77 of file class_root.php.
| static addRequest |
( |
|
$tRequest | ) |
|
|
static |
| static autoload |
( |
|
$sClass | ) |
|
|
static |
appele par le autoload quand il trouve pas une classe (chargement dynamique) public static
- Parameters
-
| string | $sClass | nom de la classe appellee |
Definition at line 422 of file class_root.php.
retourne l'objet de gestion de droits auth.acl public
- Returns
- objet de gestion de droits auth.acl
Definition at line 581 of file class_root.php.
retourne l'action public
- Returns
- string action
Definition at line 502 of file class_root.php.
retourne l'objet d'authentification auth.class public
- Returns
- d'authentification auth.class
Definition at line 568 of file class_root.php.
| static getConfigVar |
( |
|
$sCatAndVar, |
|
|
|
$uDefaut = null |
|
) |
| |
|
static |
retourne la variable $sVar "global a l'application" si elle existe, sinon $defaut public static
- Returns
- undefined
- Parameters
-
| string | $sVar | variable a definir |
| undefined | $uDefaut | retour en cas d'echec |
Definition at line 654 of file class_root.php.
| static getGlobalVar |
( |
|
$sVar, |
|
|
|
$defaut = null |
|
) |
| |
|
static |
retourne la variable $sVar "global a l'application" si elle existe, sinon $defaut public static
- Returns
- undefined
- Parameters
-
| string | $sVar | variable a definir |
| string | $defaut | retour en cas d'echec |
Definition at line 691 of file class_root.php.
| static getLink |
( |
|
$uNav, |
|
|
|
$tParam = null, |
|
|
|
$bAmp = true |
|
) |
| |
|
static |
retourne le lien framework public static
- Parameters
-
| string | ou array $uNav (dans le cas de l'array, l'indice 0 c'est le couple controller/action) |
| array | $tParam | les parametres de l'url |
| bool | $bAmp | utilise ou non & dans les liens (passer a false dans le cas d'un header location) |
Definition at line 756 of file class_root.php.
| static getLinkString |
( |
|
$sNav, |
|
|
|
$tParam = null, |
|
|
|
$bAmp = true |
|
) |
| |
|
static |
retourne le lien framework public static
- Parameters
-
| string | $sLink | |
| bool | $bAmp | utilise ou non & dans les liens (passer a false dans le cas d'un header location) |
Definition at line 778 of file class_root.php.
| static getLinkWithCurrent |
( |
|
$tParam = null, |
|
|
|
$bAmp = true |
|
) |
| |
|
static |
retourne le lien framework en reprenant les parametres actuels public static
- Parameters
-
| array | $tParam | les parametres supplementaires de l'url |
| bool | $bAmp | utilise ou non & dans les liens (passer a false dans le cas d'un header location) |
Definition at line 739 of file class_root.php.
retourne le module public
- Returns
- string module
Definition at line 493 of file class_root.php.
| static getObject |
( |
|
$sObj, |
|
|
|
$defaut = null |
|
) |
| |
|
static |
retourne un objet "global a l'application" si elle existe, sinon $defaut public static
- Returns
- undefined
- Parameters
-
| string | $sVar | variable a definir |
| string | $defaut | retour en cas d'echec |
Definition at line 714 of file class_root.php.
| static getParam |
( |
|
$sVar, |
|
|
|
$uElse = null |
|
) |
| |
|
static |
retourne une variable de requete GET,POST public
- Returns
- undefined
- Parameters
-
| string | $sEnv | |
| string | $sVar | |
| undefined | $uElse | |
Definition at line 465 of file class_root.php.
retourne la valeur de navigation public
- Returns
- string navigation (module::action)
Definition at line 484 of file class_root.php.
| static getUrlRewriting |
( |
| ) |
|
|
static |
retourne l'objet d'urlrewriting urlrewriting.class public
- Returns
- d'urlrewriting urlrewriting.class
Definition at line 595 of file class_root.php.
charge la configuration de l'application public static
Definition at line 84 of file class_root.php.
| static loadLangueDate |
( |
| ) |
|
|
static |
charge le fichier de langue public static
Definition at line 139 of file class_root.php.
| static redirect |
( |
|
$uNav, |
|
|
|
$tParam = null |
|
) |
| |
|
static |
redirige vers le couple module::action $sNav public static
- Parameters
-
| string | ou array $uNav (dans le cas de l'array, l'indice 0 c'est le couple controller/action) |
| array | $tParam | tableau de parametres de l'url |
Definition at line 727 of file class_root.php.
lance le framework (dispatch...) public
Definition at line 180 of file class_root.php.
| static setConfigVar |
( |
|
$sCatAndVar, |
|
|
|
$uValue |
|
) |
| |
|
static |
defini une variable "global a l'application" public static
- Parameters
-
| string | $sVar | variable a definir |
| string | $sValue | valeur |
Definition at line 637 of file class_root.php.
| static setGlobalVar |
( |
|
$sVar, |
|
|
|
$sValue |
|
) |
| |
|
static |
defini une variable "global a l'application" public static
- Parameters
-
| string | $sVar | variable a definir |
| string | $sValue | valeur |
Definition at line 681 of file class_root.php.
| static setInstanceOf |
( |
|
$sObj, |
|
|
|
$oObj |
|
) |
| |
|
static |
defini un objet "global a l'application" public static
- Parameters
-
| string | $sVar | variable a definir |
| string | $sValue | valeur |
Definition at line 704 of file class_root.php.
| static setParam |
( |
|
$sVar, |
|
|
|
$uValue |
|
) |
| |
|
static |
force une variable de requete GET,POST public
- Parameters
-
| string | $sEnv | |
| string | $sVar | |
| undefined | $uValue | |
Definition at line 453 of file class_root.php.
| static setParamNav |
( |
|
$sNav | ) |
|
|
static |
force une variable de navigation public
- Parameters
-
Definition at line 475 of file class_root.php.
The documentation for this class was generated from the following file: