Next4Me
 All Classes Files Functions Variables
CmplxAssetAndProperty Class Reference

Administrare CmplxAssetAndProperty. More...

Inheritance diagram for CmplxAssetAndProperty:

Public Member Functions

 addEditAssetAndProperty ($entity)
 Adauga o inregistrare noua daca IdAsset==0, sau face update la una existenta daca IdAsset!=0.
ATENTIE!! La introducerea unei inregistrari toate campurile sunt OBLIGATORII. Chiar daca nu exista date se trimite gol.
La Editare in afara de id toate sunt optionale. More...
 
 deleteAssetAndProperty ($entity)
 Sterge toate datele din Asset, AssetProperty care sunt legate de un IdAsset. More...
 
 getAssetAndProperty ($entity)
 Returneaza (in campul "response") Asset-ul aferent unui IdAsset In caz de eroare (resId!=0), campul "response" contine descrierea erorii (tip string). More...
 

Detailed Description

Administrare CmplxAssetAndProperty.

Clasa implementeaza functiile de add/edit/delete/get pentru CmplxAssetAndProperty

Examples:
CmplxAssetAndProperty.

Definition at line 24 of file CmplxAssetAndProperty.php.

Member Function Documentation

addEditAssetAndProperty (   $entity)

Adauga o inregistrare noua daca IdAsset==0, sau face update la una existenta daca IdAsset!=0.
ATENTIE!! La introducerea unei inregistrari toate campurile sunt OBLIGATORII. Chiar daca nu exista date se trimite gol.
La Editare in afara de id toate sunt optionale.

Parameters
[in]Integer$entity,['IdAsset']IdAsset
[in]Integer$entity,['IdTplAsset']IdTplAsset din tabela TplAsset
[in]String$entity,['Name']Nume
[in]array$entity,['AssetProperty']
[in]Integer$entity,['AssetProperty'][0]['IdAssetProperty']
[in]Integer$entity,['AssetProperty'][0]['IdAsset']
[in]String$entity,['AssetProperty'][0]['Name']
[in]Decimal$entity,['AssetProperty'][0]['PropertyValue']
[in]String$entity,['AssetProperty'][0]['PropertyString']
[in]Date$entity,['AssetProperty'][0]['PropertyDate']
[in]Integer$entity,['AssetProperty'][0]['PropertyType']
Returns
array(resultCode, resultId)
Used for testing CmplxAssetAndProperty
Examples:
CmplxAssetAndProperty.

Definition at line 44 of file CmplxAssetAndProperty.php.

deleteAssetAndProperty (   $entity)

Sterge toate datele din Asset, AssetProperty care sunt legate de un IdAsset.

Parameters
[in]Integer$IdAsset
Returns
array(resultCode, resultId)
Used for testing CmplxAssetAndProperty
Examples:
CmplxAssetAndProperty.

Definition at line 108 of file CmplxAssetAndProperty.php.

getAssetAndProperty (   $entity)

Returneaza (in campul "response") Asset-ul aferent unui IdAsset In caz de eroare (resId!=0), campul "response" contine descrierea erorii (tip string).

Parameters
[in]Integer$IdAssetIdAsset
Returns
array(resultCode, resultId)
Used for testing CmplxAssetAndProperty
Examples:
CmplxAssetAndProperty.

Definition at line 142 of file CmplxAssetAndProperty.php.


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