<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Class **Phalcon\Events\Manager**[](# "永久鏈接至標題") *implements*[*Phalcon\Events\ManagerInterface*](#) Phalcon Events Manager, offers an easy way to intercept and manipulate, if needed, the normal flow of operation. With the EventsManager the developer can create hooks or plugins that will offer monitoring of data, manipulation, conditional execution and much more. ### Methods[](# "永久鏈接至標題") public **attach** (*string* $eventType, *object|callable* $handler, [*int* $priority]) Attach a listener to the events manager public **detach** (*string* $eventType, *object* $handler) Detach the listener from the events manager public **enablePriorities** (*unknown* $enablePriorities) Set if priorities are enabled in the EventsManager public **arePrioritiesEnabled** () Returns if priorities are enabled public **collectResponses** (*unknown* $collect) Tells the event manager if it needs to collect all the responses returned by every registered listener in a single fire public **isCollecting** () Check if the events manager is collecting all all the responses returned by every registered listener in a single fire public *array***getResponses** () Returns all the responses returned by every handler executed by the last ‘fire' executed public **detachAll** ([*unknown* $type]) Removes all events from the EventsManager public **dettachAll** ([*unknown* $type]) Alias of detachAll final public *mixed***fireQueue** (*SplPriorityQueue|array* $queue, [*Phalcon\Events\Event*](#) $event) Internal handler to call a queue of events public *mixed***fire** (*string* $eventType, *object* $source, [*mixed* $data], [*boolean* $cancelable]) Fires an event in the events manager causing the active listeners to be notified about it ~~~ <?php $eventsManager->fire('db', $connection); ~~~ public **hasListeners** (*unknown* $type) Check whether certain type of event has listeners public *array***getListeners** (*string* $type) Returns all the attached listeners of a certain type | - [索引](# "總目錄") - [下一頁](# "Class Phalcon\Exception") | - [上一頁](# "Class Phalcon\Events\Exception") | - [API Indice](#) ?
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看