\Horde_Kolab_Storage_Queriable

Marks a queriable class.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Constants
registerQuery()
getQuery()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

registerQuery()

registerQuery(string  $name, \Horde_Kolab_Storage_Query  $query) 

Register a query to be updated if the underlying data changes.

Parameters

string $name

The query name.

\Horde_Kolab_Storage_Query $query

The query to register.

getQuery()

getQuery(string  $name = null) : \Horde_Kolab_Storage_Query

Return a registered query.

Parameters

string $name

The query name.

Throws

\Horde_Kolab_Storage_Exception

In case the requested query does not exist.

Returns

\Horde_Kolab_Storage_Query

The requested query.