Next4Me
 All Data Structures Files Functions Variables
TplAssetTypes Class Reference

Administrare TplAssetTypes. More...

Public Member Functions

 AddEditTplAssetTypes ($entity)
 adauga inregistrare noua daca IdTplAssetType ==0 sau editeaza inregistrarea aferenta daca !=0
 DeleteTplAssetTypes ($entity)
 sterge inregistrarea aferenta IdAssetType primit
 GetTplAssetTypes ($entity)
 intoarce un array cu toate field-urile inregistrarii aferente unui IdAssetType daca e !=0 si toata tabela daca e ==0

Protected Attributes

 $_name = "tplAssetTypes"
 tabela mapata de clasa
 $_primary = "IdTplAssetType"
 cheie primara

Detailed Description

Administrare TplAssetTypes.

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

Definition at line 13 of file tplAssetTypes.php.


Member Function Documentation

AddEditTplAssetTypes ( entity)

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

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

Definition at line 25 of file tplAssetTypes.php.

DeleteTplAssetTypes ( entity)

sterge inregistrarea aferenta IdAssetType primit

Parameters:
[in]Integer$IdAssetTypeIdAssetType
Exceptions:
<3035>Intoarce eroare self descriptiva daca se incearca stergerea unei inregistrari inexistente
<4006>Intoarce eroare self descriptiva daca se incearca stergerea unei inregistrari care are un child in tplAssetTypeProperties
Returns:
array(resultCode, resultId)
Used for testing tplAssetType

Definition at line 84 of file tplAssetTypes.php.

GetTplAssetTypes ( entity)

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

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

Definition at line 145 of file tplAssetTypes.php.


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