Пример #1
0
 /**
  * Add plugin to stack
  * @param mixed $a_plugin
  * @return ZPluginManager
  */
 public function &addPlugin($a_plugin)
 {
     $this->m_plugin_mgr->addPlugin($a_plugin);
     return $this;
 }
Пример #2
0
 /**
  * Remove plugin from stack
  * @param int|ZPlugin $a_plugin
  * @return ZPluginManager
  */
 public function &removePlugin($a_plugin)
 {
     $this->m_plugin_mgr->removePlugin($a_plugin);
     return $this;
 }