MkFramework
 All Data Structures Functions
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
abstract_sgbd_pdo Class Reference
Inheritance diagram for abstract_sgbd_pdo:
Inheritance graph
[legend]

Public Member Functions

 setClassRow ($sClassRow)
 
 chooseConfig ($sConfig)
 
 setConfig ($tConfig)
 
 getRequete ()
 
 getInsertFromTab ($tProperty)
 
 getUpdateFromTab ($tProperty)
 
 setId ($tId)
 
 getWhereFromTab ($tId)
 
 findManySimple ($tSql, $sClassRow)
 
 findMany ($tSql, $sClassRow)
 
 findOne ($tSql, $sClassRow)
 
 findOneSimple ($tSql, $sClassRow)
 
 execute ($tSql)
 
 update ($sTable, $tProperty, $tWhere)
 
 insert ($sTable, $tProperty)
 
 delete ($sTable, $tWhere)
 
 getPdo ()
 
 erreur ($sErreur)
 

Protected Member Functions

 query ($sReq, $tParam=null)
 

Static Protected Member Functions

static _getInstance ($class, $sConfig)
 

Protected Attributes

 $_tConfig
 
 $_sConfig
 
 $_sClassRow
 
 $_pDb
 
 $_sReq
 
 $_tId
 

Detailed Description

classe abstract_sgbd

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

Definition at line 23 of file abstract_sgbd_pdo.php.

Member Function Documentation

static _getInstance (   $class,
  $sConfig 
)
staticprotected

public

Returns
une object

Definition at line 38 of file abstract_sgbd_pdo.php.

chooseConfig (   $sConfig)

choisit le profile de connection

Parameters
string$sConfig

Definition at line 60 of file abstract_sgbd_pdo.php.

getRequete ( )

retourne la requete

Definition at line 73 of file abstract_sgbd_pdo.php.

setClassRow (   $sClassRow)

force la classe row public

Parameters
string$sClassRow

Definition at line 53 of file abstract_sgbd_pdo.php.

setConfig (   $tConfig)

definir le tableau de connection

Parameters
array$tConfig

Definition at line 67 of file abstract_sgbd_pdo.php.


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