array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ru', ), 'this' => array ( 0 => 'gearmanworker.setoptions.php', 1 => 'GearmanWorker::setOptions', ), 'up' => array ( 0 => 'class.gearmanworker.php', 1 => 'GearmanWorker', ), 'prev' => array ( 0 => 'gearmanworker.setid.php', 1 => 'GearmanWorker::setId', ), 'next' => array ( 0 => 'gearmanworker.settimeout.php', 1 => 'GearmanWorker::setTimeout', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ru', 'path' => 'reference/gearman/gearmanworker/setoptions.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman >= 0.5.0)
GearmanWorker::setOptions — Установка настроек обработчика
Устанавливает значения одной или нескольких настроек.
option
Настройки, которые необходимо установить.
Функция всегда возвращает true
.