public function onBeforeQueryRoomClosures( mixed &$query ) : void

Fires while building the query used to fetch the available room closures.


Description

Trigger hook to allow external plugins to manipulate the query used to load the details of the available room closures.


Parameters

&$query

(mixed)  Either a query builder object or a string.

Return Value

None.


Example

/**
 * Trigger hook to allow external plugins to manipulate the query used
 * to load the details of the available room closures.
 *
 * @param   mixed  &$query  The query string or a query builder object.
 *
 * @return  void
 */
public function onBeforeQueryRoomClosures(&$query)
{
    /**
     * @todo it is possible to manipulate here the query
     */
}

Changelog

Version Description
1.10 Introduced.
Last Update: 18 hours ago.
Helpful?