Next4Me
 All Data Structures Files Functions Variables
tplAssetTypes Class Reference

Public Member Functions

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

Protected Attributes

 $_name = "tplAssetTypes"
 $_primary = "IdTplAssetType"

Detailed Description

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:
Intoarceeroare 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 ( IdTplAssetType)

sterge inregistrarea aferenta IdAssetType primit

Parameters:
[in]Integer$IdAssetTypeIdAssetType
Exceptions:
Intoarceeroare self descriptiva daca se incearca stergerea unei inregistrari inexistente
Intoarceeroare 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 81 of file tplAssetTypes.php.

GetTplAssetTypes ( IdAssetType)

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:
Intoarceeroare self descriptiva daca se apeleaza o inregistrare inexistenta
Returns:
array(resultCode, resultId)
Used for testing tplAssetType

Definition at line 135 of file tplAssetTypes.php.


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