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; }
public static function registryReset() { self::$xPath = null; self::$hooksCache = array(); }
public static function registryReset() { self::$xPath = null; }