private static function initXPath()
 {
     if (!isset(self::$xPath)) {
         $registry = AJXP_PluginsService::getXmlRegistry();
         self::$xPath = new DOMXPath($registry);
     }
     return self::$xPath;
 }
 private static function initXPath()
 {
     if (!isset(self::$xPath)) {
         $registry = AJXP_PluginsService::getXmlRegistry();
         $changes = self::filterActionsRegistry($registry);
         if ($changes) {
             AJXP_PluginsService::updateXmlRegistry($registry);
         }
         self::$xPath = new DOMXPath($registry);
     }
     return self::$xPath;
 }
Ejemplo n.º 3
0
 public static function registryReset()
 {
     self::$xPath = null;
     self::$hooksCache = array();
 }
Ejemplo n.º 4
0
 public static function registryReset()
 {
     self::$xPath = null;
 }