# EventBase::priorityInit

(PECL event >= 1.2.6-beta)

EventBase::priorityInit — Sets number of priorities per event base

### 说明

public EventBase::priorityInit( int `$n_priorities` ): bool

Sets number of priorities per event base.

### 参数

`n_priorities`

  The number of priorities per event base.

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

### 参见

- Event::setPriority() - Set event priority

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open