IcingaApiSearchIdo Class Reference

Inherits IcingaApiSearch.

Collaboration diagram for IcingaApiSearchIdo:
[legend]

List of all members.

Public Member Functions

 __construct ()
 setTablePrefix ($prefix=null)
 createQueryFilter ()
 setResultColumns ($columns)
 executeQuery ()
 fetch ()

Protected Member Functions

 getColumn ($columnKey)

Detailed Description

Author:
Christian Doebler <christian.doebler@netways.de>

Constructor & Destructor Documentation

IcingaApiSearchIdo::__construct (  ) 

class constructor

Parameters:
void 
Returns:
void
Author:
Christian Doebler <christian.doebler@netways.de>

Reimplemented from IcingaApiSearch.


Member Function Documentation

IcingaApiSearchIdo::createQueryFilter (  ) 

creates where statement for database query

Parameters:
void 
Returns:
array associative array w/ where statement and corresponding values
Author:
Christian Doebler <christian.doebler@netways.de>
IcingaApiSearchIdo::executeQuery (  ) 

creates and executes database query

Parameters:
void 
Returns:
boolean true on success otherwise false
Author:
Christian Doebler <christian.doebler@netways.de>

Here is the call graph for this function:

IcingaApiSearchIdo::fetch (  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchfetch()
Author:
Christian Doebler <christian.doebler@netways.de>

Reimplemented from IcingaApiSearch.

Here is the call graph for this function:

IcingaApiSearchIdo::getColumn ( columnKey  )  [protected]

creates a column to insert into query and pushes it onto the processed stack

Parameters:
string $columnKey key that identifies the current column
Returns:
string processed column; boolean false on error
Author:
Christian Doebler <christian.doebler@netways.de>
IcingaApiSearchIdo::setResultColumns ( columns  ) 

sets result columns for query

Parameters:
mixed $columns array of columns or column as string
Returns:
IcingaApiSearchInterface
Author:
Christian Doebler <christian.doebler@netways.de>

Here is the call graph for this function:

IcingaApiSearchIdo::setTablePrefix ( prefix = null  ) 

sets the table prefix

Parameters:
string $prefix table prefix
Returns:
void
Author:
Christian Doebler <christian.doebler@netways.de>

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

Generated on Thu Jan 14 15:06:46 2010 for ICINGA-API by  doxygen 1.6.1