Class queryHandler

Description

Each query has three elements, a variable, an operator an a value to assign

Located in /query.php (line 53)


	
			
Method Summary
queryHandler __construct ( $var,  $operator,  $value)
getString ( $numTabla)
getVar ()
void updateIdVar ( $structHandler,  $parametros)
Methods
Constructor __construct (line 66)

The constructor creates a query with all the necessary elements.

queryHandler __construct ( $var,  $operator,  $value)
  • $var: var to be assigned
  • $operator: operator in the relation
  • $value: value to assign
getOperator (line 94)

It returns the value of the operator element.

  • return: operator of the query
getOperator ()
getString (line 110)

It returns a modificated string with the correct structure to be

getString ( $numTabla)
  • $numTabla
getValue (line 102)

It returns the value of the value element.

  • return: value of the query
getValue ()
getVar (line 77)

It returns the value of the var element.

  • return: var of the query
getVar ()
updateIdVar (line 86)

This function updates the id of an element

void updateIdVar ( $structHandler,  $parametros)
  • $structHandler
  • $parametros

Documentation generated by phpDocumentor 1.4.3
Modified by Sergio Barja for S2 - Hierarchical Data Model documentation.