MkFramework
 All Data Structures Functions
Public Member Functions
_layout Class Reference

Public Member Functions

 __construct ($sLayout=null)
 
 __set ($sVar, $sVal)
 
 __get ($sVar)
 
 __isset ($sVar)
 
 __unset ($sVar)
 
 setLayout ($sLayout)
 
 add ($sPlace, $oTpl)
 
 addModule ($sPlace, $sAppel)
 
 show ()
 
 getOutput ()
 
 load ($sPlace)
 

Detailed Description

classe _layout pour gerer le layout

Author
Mika http://mkf.mkdevs.com/

Definition at line 23 of file class_layout.php.

Constructor & Destructor Documentation

__construct (   $sLayout = null)

constructeur public

Parameters
string$sLayoutnom du layout a utiliser

Definition at line 34 of file class_layout.php.

Here is the call graph for this function:

Member Function Documentation

__get (   $sVar)

getter

Definition at line 53 of file class_layout.php.

Here is the call graph for this function:

__isset (   $sVar)

isset

Definition at line 65 of file class_layout.php.

__set (   $sVar,
  $sVal 
)

setter

Definition at line 46 of file class_layout.php.

Here is the call graph for this function:

__unset (   $sVar)

unset

Definition at line 72 of file class_layout.php.

add (   $sPlace,
  $oTpl 
)

ajoute un objet _tpl $oTpl a l'emplacement $sPlace public

Parameters
string$sPlaceemplacement
_tpl$oTplobjet _tpl

Definition at line 92 of file class_layout.php.

Here is the call graph for this function:

addModule (   $sPlace,
  $sAppel 
)

ajoute l'appel a un module (module::action) a l'emplacement $sPlace public

Parameters
string$sPlaceemplacement
string$sAppelappel du module module::action

Definition at line 102 of file class_layout.php.

Here is the call graph for this function:

getOutput ( )

recupere le layout et son contenu public

Definition at line 128 of file class_layout.php.

Here is the call graph for this function:

load (   $sPlace)

retourne le contenu d'un objet _tpl a l'emplacement $sPlace public

Returns
string
Parameters
string$sPlace

Definition at line 153 of file class_layout.php.

Here is the call graph for this function:

setLayout (   $sLayout)

forcer le layout public

Parameters
string$sLayoutnom du layout a utiliser

Definition at line 81 of file class_layout.php.

Here is the call graph for this function:

Here is the caller graph for this function:

show ( )

affiche le layout et son contenu public

Definition at line 113 of file class_layout.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file: