udm_alloc_agent

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Allocate mnoGoSearch session resource udm_alloc_agent ( string $dbaddr [, string $dbmode ] ) Allocate a mnoGoSearch session. Parameters: dbaddr dbaddr - URL-style database description, with options (type, host, database name, port, user and password) to connect to SQL database. Do not matter for built-in

udm_alloc_agent_array

(PHP 4 >= 4.3.3, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Allocate mnoGoSearch session resource udm_alloc_agent_array ( array $databases ) udm_alloc_agent_array() will create an agent with multiple database connections. Parameters: databases The array databases must contain one database URL per element, analog to the first parameter of udm_alloc_agent().

udm_add_search_limit

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Add various search limits bool udm_add_search_limit ( resource $agent, int $var, string $val ) udm_add_search_limit() adds search restrictions. Parameters: agent A link to Agent, received after call to udm_alloc_agent(). var Defines the parameter, indicating limits. Po

ZMQDevice::setTimerTimeout

(No version information available, might only be in Git) Set the timer timeout public ZMQDevice ZMQDevice::setTimerTimeout ( integer $timeout ) Sets the timer callback timeout value. The timer callback is invoked periodically if it's set. Added in ZMQ extension version 1.1.0. Parameters: timeout The timer callback timeout value. Returns: On succe

ZMQDevice::setTimerCallback

(No version information available, might only be in Git) Set the timer callback function public ZMQDevice ZMQDevice::setTimerCallback ( callable $cb_func, integer $timeout [, mixed $user_data ] ) Sets the timer callback function. The timer callback will be invoked after timeout has passed. The difference between idle and timer callbacks are that idle callback is invoked only when the device is idle. The callback function sig

ZMQDevice::setIdleTimeout

(No version information available, might only be in Git) Set the idle timeout public ZMQDevice ZMQDevice::setIdleTimeout ( integer $timeout ) Sets the idle callback timeout value. The idle callback is invoked periodically when the device is idle. Parameters: timeout The idle callback timeout value. Returns: On success this method returns the curr

ZMQDevice::setIdleCallback

(No version information available, might only be in Git) Set the idle callback function public ZMQDevice ZMQDevice::setIdleCallback ( callable $cb_func, integer $timeout [, mixed $user_data ] ) Sets the idle callback function. If idle timeout is defined the idle callback function shall be called if the internal poll loop times out without events. If the callback function returns false or a value that evaluates to false the d

ZMQDevice::run

(No version information available, might only be in Git) Run the new device public void ZMQDevice::run ( void ) Runs the device. Returns: Call to this method will block until the device is running. It is not recommended that devices are used from interactive scripts. On failure this method will throw ZMQDeviceException.

ZMQDevice::getTimerTimeout

(No version information available, might only be in Git) Get the timer timeout public ZMQDevice ZMQDevice::getTimerTimeout ( void ) Gets the timer callback timeout value. Added in ZMQ extension version 1.1.0. Returns: This method returns the timer timeout value.

ZMQDevice::getIdleTimeout

(No version information available, might only be in Git) Get the idle timeout public ZMQDevice ZMQDevice::getIdleTimeout ( void ) Gets the idle callback timeout value. Added in ZMQ extension version 1.1.0. Returns: This method returns the idle callback timeout value.