EventBase::priorityInit
(PECL event >= 1.2.6-beta)
EventBase::priorityInit — Sets number of priorities per event base
說明
public
EventBase::priorityInit(
int
$n_priorities
): boolSets number of priorities per event base.
參數
-
n_priorities
-
The number of priorities per event base.
返回值
成功時返回 true
, 或者在失敗時返回 false
。
參見
- Event::setPriority() - Set event priority