Next4Me
 All Data Structures Files Functions Variables
TplContextConditions Class Reference

Administrare TplContextConditions. More...

Public Member Functions

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

Protected Attributes

 $_name = "tplContextConditions"
 tabela mapata de clasa
 $_primary = "IdTplContextCondition"
 cheie primara

Detailed Description

Administrare TplContextConditions.

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

Definition at line 13 of file tplContextConditions.php.


Member Function Documentation

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

Parameters:
[in]Integer$IdTplContextConditionIdTplContextCondition
[in]Integer$IdTplContextIdTplContext din tabela tplContexts
[in]String$NameNume
[in]String$DescriptionDescriere
[in]Integer$IdContextIdContext din tabela Contexts
Exceptions:
<3046>Intoarce eroare self descriptiva daca se incearca editarea unei inregistrari inexistente
<5011>Intoarce eroare self descriptiva daca se incearca mutarea unei inregistrari de pe tplplContext pe altul
Returns:
array(resultCode, resultId)
Used for testing tplContextConditions

Definition at line 29 of file tplContextConditions.php.

sterge inregistrarea aferenta IdTplContextCondition primit

Parameters:
[in]Integer$IdTplContextConditionIdTplContextCondition
Exceptions:
<3047>Intoarce eroare self descrptiva daca se incearca stergerea unei inregistrari inexistente
<4009>Intoarce eroare self descrptiva daca se incearca stergerea unei inregistrari care are un child in tplContextFactors
Returns:
array(resultCode, resultId)
Used for testing tplContextConditions

Definition at line 99 of file tplContextConditions.php.

GetTplContextConditions ( entity)

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

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

Definition at line 158 of file tplContextConditions.php.


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