<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # Class Phalcon\\Mvc\\Collection\\Manager # Class **Phalcon\\Mvc\\Collection\\Manager** *implements*`Phalcon\Di\InjectionAwareInterface`, [*Phalcon\\Events\\EventsAwareInterface*](#) This components controls the initialization of models, keeping record of relations between the different models of the application. A CollectionManager is injected to a model via a Dependency Injector Container such as Phalcon\\Di. ``` <pre class="calibre14">``` <?php $di = new \Phalcon\Di(); $di->set('collectionManager', function(){ return new \Phalcon\Mvc\Collection\Manager(); }); $robot = new Robots($di); ``` ``` ### Methods public **setDI** (*unknown* $dependencyInjector) Sets the DependencyInjector container public **getDI** () Returns the DependencyInjector container public **setEventsManager** (*unknown* $eventsManager) Sets the event manager public **getEventsManager** () Returns the internal event manager public **setCustomEventsManager** (*unknown* $model, *unknown* $eventsManager) Sets a custom events manager for a specific model public [*Phalcon\\Events\\ManagerInterface*](#)**getCustomEventsManager** ([*Phalcon\\Mvc\\CollectionInterface*](#) $model) Returns a custom events manager related to a model public **initialize** (*unknown* $model) Initializes a model in the models manager public **isInitialized** (*unknown* $modelName) Check whether a model is already initialized public **getLastInitialized** () Get the latest initialized model public **setConnectionService** (*unknown* $model, *unknown* $connectionService) Sets a connection service for a specific model public **useImplicitObjectIds** (*unknown* $model, *unknown* $useImplicitObjectIds) Sets whether a model must use implicit objects ids public **isUsingImplicitObjectIds** (*unknown* $model) Checks if a model is using implicit object ids public *Mongo***getConnection** ([*Phalcon\\Mvc\\CollectionInterface*](#) $model) Returns the connection related to a model public **notifyEvent** (*unknown* $eventName, *unknown* $model) Receives events generated in the models and dispatches them to a events-manager if available Notify the behaviors that are listening in the model public **missingMethod** (*unknown* $model, *unknown* $eventName, *unknown* $data) Dispatch a event to the listeners and behaviors This method expects that the endpoint listeners/behaviors returns true meaning that a least one was implemented public **addBehavior** (*unknown* $model, *unknown* $behavior) Binds a behavior to a model | - [索引](# "總目錄") - [下一頁](# "Abstract class Phalcon\Mvc\Controller") | - [上一頁](# "Class Phalcon\Mvc\Collection\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>

                              哎呀哎呀视频在线观看