Next4Me
 All Classes Files Functions Variables
Application_Model_CmplxContextAndDetail Class Reference

Administrare CmplxContextAndDetail. More...

Inheritance diagram for Application_Model_CmplxContextAndDetail:

Public Member Functions

 getContextAndDetail ($entity)
 Returneaza (in campul "response") Context-ul aferent unui IdContext In caz de eroare (resId!=0), campul "response" contine descrierea erorii (tip string). More...
 
 addEditContextAndDetail ($entity)
 Adauga o inregistrare noua daca IdContext==0, sau face update la una existenta daca IdContext!=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...
 
 deleteContextAndDetail ($entity)
 Sterge toate datele din Context, ContextCondition, ContextFactor care sunt legate de un IdContext. More...
 

Detailed Description

Administrare CmplxContextAndDetail.

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

Definition at line 24 of file CmplxContextAndDetail.php.

Member Function Documentation

addEditContextAndDetail (   $entity)

Adauga o inregistrare noua daca IdContext==0, sau face update la una existenta daca IdContext!=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]$entity[IdContext][Integer] IdContext
[in]$entity[IdTplContext][Integer] IdTplContext din tabela TplContext
[in]$entity[Name][String] Nume
[in]$entity[Description][String] Description
[in]$entity[ContextCondition][array]
[in]$entity[ContextCondition][0][IdContextCondition][Integer]
[in]$entity[ContextCondition][0][IdContext][Integer]
[in]$entity[ContextCondition][0][IdTplContextCondition][Integer]
[in]$entity[ContextCondition][0][Name][String]
[in]$entity[ContextCondition][0][Description][String]
[in]$entity[ContextCondition][0][MicroflowActionResult][array]
[in]$entity[ContextCondition][0][MicroflowActionResult][0][IdContextFactor][Integer]
[in]$entity[ContextCondition][0][MicroflowActionResult][0][IdContextCondition][Integer]
[in]$entity[ContextCondition][0][MicroflowActionResult][0][IdTplContextFactor][Integer]
[in]$entity[ContextCondition][0][MicroflowActionResult][0][Description][String]
[in]$entity[ContextCondition][0][MicroflowActionResult][0][Type][String]
[in]$entity[ContextCondition][0][MicroflowActionResult][0][Function][String]
[in]$entity[ContextCondition][0][MicroflowActionResult][0][Value][String]
Returns
array(resultCode, resultId)
Used for testing CmplxContextAndDetail

Definition at line 112 of file CmplxContextAndDetail.php.

deleteContextAndDetail (   $entity)

Sterge toate datele din Context, ContextCondition, ContextFactor care sunt legate de un IdContext.

Parameters
[in]$IdContext[Integer]
Returns
array(resultCode, resultId)
Used for testing CmplxContextAndDetail

Definition at line 208 of file CmplxContextAndDetail.php.

getContextAndDetail (   $entity)

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

Parameters
[in]$IdContext[Integer] IdContext
Returns
array(resultCode, resultId)
Used for testing CmplxContextAndDetail

Definition at line 34 of file CmplxContextAndDetail.php.


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