MkFramework
 All Data Structures Functions
Public Member Functions | Static Protected Member Functions | Protected Attributes
abstract_model Class Reference

Public Member Functions

 getConfig ()
 
 getTable ()
 
 getSgbd ()
 
 findOneSimple ()
 
 findOne ()
 
 findMany ()
 
 findManySimple ()
 
 execute ()
 
 update ($oRow)
 
 insert ($oRow)
 
 delete ($oRow)
 
 getRequete ()
 
 getIdTab ()
 
 getListColumn ()
 
 getListTable ()
 
 getWhereFromTab ($tWhere=null)
 

Static Protected Member Functions

static _getInstance ($class)
 

Protected Attributes

 $_tAssoc =array()
 

Detailed Description

classe abstract_model

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

Definition at line 23 of file abstract_model.php.

Member Function Documentation

delete (   $oRow)

supprime un enregistrement public

Parameters
object$oRow

Definition at line 187 of file abstract_model.php.

Here is the call graph for this function:

execute ( )

execute une requete public

Parameters
string$sRequete
undefined$uParam

Definition at line 157 of file abstract_model.php.

Here is the call graph for this function:

findMany ( )

retourne un tableau d'enregistrement public

Parameters
string$sRequete
undefined$uParam
Returns
un tableau d'object

Definition at line 132 of file abstract_model.php.

Here is the call graph for this function:

findManySimple ( )

retourne un tableau d'enregistrement d'objet simple (plus rapide) public

Parameters
string$sRequete
undefined$uParam
Returns
un tableau d'object

Definition at line 145 of file abstract_model.php.

Here is the call graph for this function:

findOne ( )

retourne un tableau d'enregistrement public

Parameters
string$sRequete
undefined$uParam
Returns
un object

Definition at line 119 of file abstract_model.php.

Here is the call graph for this function:

findOneSimple ( )

retourne un tableau d'enregistrement d'objet simple (plus rapide) public

Parameters
string$sRequete
undefined$uParam
Returns
un object

Definition at line 106 of file abstract_model.php.

Here is the call graph for this function:

getListColumn ( )

retourne un tableau contenant les colonnes d'une table public

Returns
array

Definition at line 207 of file abstract_model.php.

Here is the call graph for this function:

getListTable ( )

retourne un tableau contenant les tables public

Returns
array

Definition at line 215 of file abstract_model.php.

Here is the call graph for this function:

getRequete ( )

retourne la requete public

Returns
string requete

Definition at line 196 of file abstract_model.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getSgbd ( )

public static

Returns
object sgbd

Definition at line 42 of file abstract_model.php.

Here is the call graph for this function:

Here is the caller graph for this function:

insert (   $oRow)

ajoute un enregistrement public

Parameters
object$oRow

Definition at line 177 of file abstract_model.php.

Here is the call graph for this function:

update (   $oRow)

met a jour un enregistrement public

Parameters
object$oRow

Definition at line 168 of file abstract_model.php.

Here is the call graph for this function:


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