Next4Me
 All Data Structures Files Functions Variables
Microflows Class Reference

Administrare Microflows. More...

Public Member Functions

 AddEditMicroflows ($entity)
 Adauga o inregistrare noua daca IdMicroflow==0, sau face update la una existenta daca IdMicroflow!=0.
 DeleteMicroflows ($entity)
 Sterge Microflows aferent IdMicroflow primit.
 GetMicroflows ($entity)
 Returneaza (in campul "response") Microflow-ul aferent unui IdMicroflow (cand IdMicroflow!=0) sau toate inregistrarile (cand IdMicroflow==0). In caz de eroare (resId!=0), campul "response" contine descrierea erorii (tip string).

Protected Attributes

 $_name = "Microflows"
 tabela mapata de clasa
 $_primary = "IdMicroflow"
 cheie primara

Detailed Description

Administrare Microflows.

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

Definition at line 17 of file Microflows.php.


Member Function Documentation

AddEditMicroflows ( entity)

Adauga o inregistrare noua daca IdMicroflow==0, sau face update la una existenta daca IdMicroflow!=0.

Parameters:
[in]Integer$IdMicroflowIdMicroflow
[in]Integer$IdAssetPropertyIdAssetProperty din tabela AssetProperties
[in]Integer$IdTplMicroflowIdTplMicroflow din tabela tplMicroflows
[in]String$NameNume
Exceptions:
<3016>Intoarce eroare self descriptiva daca se incearca editarea unui Microlow inexistent
Returns:
array(resultCode, resultId)
Used for testing Microflows

Definition at line 35 of file Microflows.php.

DeleteMicroflows ( entity)

Sterge Microflows aferent IdMicroflow primit.

Parameters:
[in]Integer$IdMicroflowIdMicroflow
Exceptions:
<3017>Intoarce eroare self descriptiva daca se incearca stergerea unui Microflow inexistent
<4004>Intoarce eroare self descriptiva daca se incearca stergerea unui Microflow care are MicroflowAction atasat
Returns:
array(resultCode, resultId)
Used for testing Microflows

Definition at line 96 of file Microflows.php.

GetMicroflows ( entity)

Returneaza (in campul "response") Microflow-ul aferent unui IdMicroflow (cand IdMicroflow!=0) sau toate inregistrarile (cand IdMicroflow==0). In caz de eroare (resId!=0), campul "response" contine descrierea erorii (tip string).

Parameters:
[in]Integer$IdMicroflowIdMicroflow
Exceptions:
<3018>Intoarce eroare self descriptiva daca se cere un Microflow inexistent
Returns:
array(resultCode, resultId)
Used for testing Microflows

Definition at line 157 of file Microflows.php.


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