Next4Me
 All Data Structures Files Functions Variables
TplContexts Class Reference

Administrare TplContexts. More...

Public Member Functions

 AddEditTplContexts ($entity)
 adauga inregistrare noua daca IdTplContext ==0 sau editeaza inregistrarea aferenta daca !=0
 DeleteTplContexts ($entity)
 sterge inregistrarea aferenta IdTplContext primit
 GetTplContexts ($entity)
 intoarce un array cu toate field-urile inregistrarii aferente unui IdTplContext daca e !=0 si toata tabela daca e ==0

Protected Attributes

 $_name = "tplContexts"
 tabela mapata de clasa
 $_primary = "IdTplContext"
 cheie primara

Detailed Description

Administrare TplContexts.

Clasa implementeaza functiile de add/edit/delete/get pentru TplContexts.

Definition at line 14 of file tplContexts.php.


Member Function Documentation

AddEditTplContexts ( entity)

adauga inregistrare noua daca IdTplContext ==0 sau editeaza inregistrarea aferenta daca !=0

Parameters:
[in]Integer$IdTplContextIdTplContext
[in]String$NameNume
[in]String$DescriptionDescriere
Exceptions:
<3043>Intoarce eroare self descriptiva daca se incearca editarea unei inregistrari inexistente
Returns:
array(resultCode, resultId)
Used for testing tplContexts

Definition at line 27 of file tplContexts.php.

DeleteTplContexts ( entity)

sterge inregistrarea aferenta IdTplContext primit

Parameters:
[in]Integer$IdTplContextIdTplContext
Exceptions:
<3044>Intoarce eroare self descriptiva daca se incearca stergerea unei inregistrari inexistente
<4008>Intoarce eroare self descriptiva daca se incearca stergerea unei inregistrari care are asociate child in tplContextConditions
Returns:
array(resultCode, resultId)
Used for testing tplContexts

Definition at line 86 of file tplContexts.php.

GetTplContexts ( entity)

intoarce un array cu toate field-urile inregistrarii aferente unui IdTplContext daca e !=0 si toata tabela daca e ==0

Parameters:
[in]Integer$IdTplContextIdTplContext
Exceptions:
<3045>Intoarce eroare self descriptiva daca se apeleaza o inregistrare inexistenta
Returns:
array(resultCode, resultId)
Used for testing tplContexts

Definition at line 145 of file tplContexts.php.


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