Пример #1
0
 /**
  *
  * @return PluginUIManager
  */
 public static function instance()
 {
     if (!self::$instance instanceof PluginUIManager) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 public function execute($request)
 {
     $module = sfContext::getInstance()->getModuleName();
     $action = sfContext::getInstance()->getActionName();
     $this->subComponents = PluginUIManager::instance()->getUISubComponents($module, $action);
 }