phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
QueryHandler Class Reference

Inherits PntPdoDao.

Additional Inherited Members

- Public Member Functions inherited from PntPdoDao
 __construct ($connection=null)
 
 getDbmsName ()
 
 supportsSelectRowCount ()
 
 _runQuery ($error="Query error")
 
 getFieldNames ()
 
 getInsertId ($sequenceName=null)
 
 dataSeek ($index)
 
 getSingleValue ($query='', $error="Query error")
 
 quote ($value)
 
 getAssocRows ($max=null)
 
 getAssocRow ()
 
 release ()
 
 connect ()
 
 beginTransaction ()
 
 commit ()
 
 rollBack ()
 
- Static Public Member Functions inherited from PntPdoDao
static getParamType ($prop)
 
- Data Fields inherited from PntPdoDao
 $parameters
 
 $statement
 
 $preparedQuery
 

Detailed Description

Objects of this class are used for generating and executing database queries. This class is the database abstraction layer. Currently only mySQL is supported by PntQueryHandler, in future other superclasses may support more databases.

See Also
http://www.phppeanuts.org/site/index_php/Pagina/50

This concrete subclass is here to keep de application developers code (including localization overrides) separated from the framework code.

See Also
http://www.phppeanuts.org/site/index_php/Menu/178 Framework code is in superclass. This class may be copied to an application folder to make application specific overrides.

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