IcingaApiSearch Class Reference

Inherits IcingaApi, and IcingaApiSearchInterface.

Inherited by IcingaApiSearchFile, and IcingaApiSearchIdo.

Collaboration diagram for IcingaApiSearch:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 __construct ()
 setDebug ($debug=false)
 loadColumns ($type)
 setConnectionObject (IcingaApiConnectionInterface &$object)
 setResultType ($type)
 setSearchType ($type)
 setResultColumns ($columns)
 setSearchTarget ($target)
 setSearchFilter ($filter, $value=false, $defaultMatch=IcingaApi::MATCH_EXACT)
 setSearchGroup ($columns)
 setSearchOrder ($column, $direction= 'asc')
 setSearchLimit ($start, $length=false)
 setContactSource ($source)
 setContact ($contact)
 searchValid ()
 fetch ()

Public Attributes

 $connectionObject = false

Protected Attributes

 $debug = false
 $resultType = false
 $resultColumnKeys = array()
 $resultColumns = array()
 $searchTarget = false
 $searchType = false
 $searchFilter = array()
 $searchGroup = array()
 $searchOrder = array()
 $searchLimit = false
 $icingaType = null
 $columns = false


Detailed Description

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

Constructor & Destructor Documentation

IcingaApiSearch::__construct (  ) 

class constructor

Parameters:
void 
Returns:
IcingaApiSearch instance of IcingaApiSearch object
Author:
Christian Doebler <christian.doebler@netways.de>

Reimplemented from IcingaApi.

Reimplemented in IcingaApiSearchFile, IcingaApiSearchIdo, and IcingaApiSearchIdoAbstraction.


Member Function Documentation

IcingaApiSearch::fetch (  ) 

initializes result object and returns it

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

Reimplemented in IcingaApiSearchFile, and IcingaApiSearchIdo.

Here is the call graph for this function:

IcingaApiSearch::loadColumns ( type  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfaceloadColumns()

Implements IcingaApiSearchInterface.

IcingaApiSearch::searchValid (  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacecheckSearch()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setConnectionObject ( IcingaApiConnectionInterface &$  object  ) 

(non-PHPdoc)

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

Implements IcingaApiSearchInterface.

IcingaApiSearch::setContact ( contact  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetContact()

Implements IcingaApiSearchInterface.

Here is the call graph for this function:

IcingaApiSearch::setContactSource ( source  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetContactSource()

Implements IcingaApiSearchInterface.

Here is the call graph for this function:

IcingaApiSearch::setDebug ( debug = false  ) 

sets debugging

Parameters:
integer $debug debugging options
array $debugData debugging data
Returns:
void
Author:
Christian Doebler <christian.doebler@netways.de>

Here is the call graph for this function:

IcingaApiSearch::setResultColumns ( columns  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetResultColumns()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setResultType ( type  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetResultType()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setSearchFilter ( filter,
value = false,
defaultMatch = IcingaApi::MATCH_EXACT 
)

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetSearchFilter()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setSearchGroup ( columns  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetSearchGroup()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setSearchLimit ( start,
length = false 
)

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetSearchLimit()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setSearchOrder ( column,
direction = 'asc' 
)

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetSearchOrder()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setSearchTarget ( target  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetSearchTarget()

Implements IcingaApiSearchInterface.

IcingaApiSearch::setSearchType ( type  ) 

(non-PHPdoc)

See also:
objects/search/IcingaApiSearchInterfacesetSearchType()

Implements IcingaApiSearchInterface.


Member Data Documentation

IcingaApiSearch::$columns = false [protected]

IcingaApiSearch::$connectionObject = false

IcingaApiSearch::$debug = false [protected]

Reimplemented from IcingaApi.

IcingaApiSearch::$icingaType = null [protected]

Reimplemented from IcingaApi.

IcingaApiSearch::$resultColumnKeys = array() [protected]

IcingaApiSearch::$resultColumns = array() [protected]

IcingaApiSearch::$resultType = false [protected]

IcingaApiSearch::$searchFilter = array() [protected]

IcingaApiSearch::$searchGroup = array() [protected]

IcingaApiSearch::$searchLimit = false [protected]

IcingaApiSearch::$searchOrder = array() [protected]

IcingaApiSearch::$searchTarget = false [protected]

IcingaApiSearch::$searchType = false [protected]


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

Generated on Fri Jul 3 08:52:12 2009 for ICINGA-API by  doxygen 1.5.8