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

Public Member Functions

 __construct ($tRow=null)
 
 getModel ()
 
 save ()
 
 update ()
 
 insert ()
 
 delete ()
 
 isEmpty ()
 
 chooseUpdate ()
 
 getToUpdate ()
 
 getWhere ()
 
 __set ($sVar, $sVal)
 
 __get ($sVar)
 
 __isset ($sVar)
 
 __unset ($sVar)
 
 setId ($uId)
 
 getId ()
 
 getTab ()
 

Protected Attributes

 $_tProperty =array()
 
 $_tPropertyToUpdate
 

Detailed Description

classe abstract_row

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

Definition at line 23 of file abstract_row.php.

Constructor & Destructor Documentation

__construct (   $tRow = null)

constructeur public

Definition at line 33 of file abstract_row.php.

Member Function Documentation

__get (   $sVar)

getter

Definition at line 138 of file abstract_row.php.

__isset (   $sVar)

isset

Definition at line 147 of file abstract_row.php.

__set (   $sVar,
  $sVal 
)

setter

Definition at line 131 of file abstract_row.php.

__unset (   $sVar)

unset

Definition at line 154 of file abstract_row.php.

delete ( )

supprime la row public

Definition at line 78 of file abstract_row.php.

Here is the call graph for this function:

getModel ( )

retourne l'objet model public

Returns
object

Definition at line 44 of file abstract_row.php.

Here is the caller graph for this function:

getToUpdate ( )

retourne le tableau contenant les proprietes a mettre a jour public

Returns
array

Definition at line 101 of file abstract_row.php.

getWhere ( )

retourne le tableau contenant les proprietes id public

Returns
array

Definition at line 115 of file abstract_row.php.

Here is the call graph for this function:

insert ( )

enregistre la row par insertion public

Definition at line 70 of file abstract_row.php.

Here is the call graph for this function:

Here is the caller graph for this function:

isEmpty ( )

retourne si l'objet est vide ou non (pour verifier suite a une requete par exemple)

Returns
bool

Definition at line 86 of file abstract_row.php.

save ( )

enregistre la row public

Definition at line 52 of file abstract_row.php.

Here is the call graph for this function:

setId (   $uId)

force l'id de l'enregistrement

Parameters
undefined$uId

Definition at line 161 of file abstract_row.php.

Here is the call graph for this function:

Here is the caller graph for this function:

update ( )

enregistre la row par update public

Definition at line 63 of file abstract_row.php.

Here is the call graph for this function:

Here is the caller graph for this function:


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