menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TSqlStatement

Description

Provides an abstract Interface to create a SQL statement

Located in /database/TSqlStatement.php (line 15)


	
			
Direct descendents
Class Description
TSqlInsert Provides an Interface to create an INSERT statement
TSqlSelect Provides an Interface to create SELECT statements
TSqlMultiInsert Provides an Interface to create an MULTI INSERT statement
TSqlUpdate Provides an Interface to create UPDATE statements
TSqlDelete Provides an Interface to create DELETE statements
Variable Summary
mixed $criteria
mixed $entity
mixed $sql
Method Summary
Variables
mixed $criteria (line 18)
  • access: protected

Redefined in descendants as:
mixed $entity (line 19)
  • access: protected
mixed $sql (line 17)
  • access: protected

Redefined in descendants as:
Methods
getEntity (line 33)

Returns the database entity name

  • access: public
getEntity ()
getInstruction (line 56)
  • abstract:
getInstruction ()

Redefined in descendants as:
getRandomParameter (line 50)

Returns a random parameter

  • access: protected
getRandomParameter ()
setCriteria (line 42)

Define a select criteria

  • access: public
setCriteria ($criteria)
  • $criteria: An TCriteria object, specifiyng the filters

Redefined in descendants as:
setEntity (line 25)

defines the database entity name

  • access: public
setEntity ($entity)
  • $entity: Name of the database entity