Lines Matching refs:pageId
22 private $pageId; variable in cache_rrdgraphbase
30 * @param String $pageId The wiki id of the page the cached content is on.
34 public function __construct($pluginName, $pageId, $key, $ext) { argument
35 $this->pageId = $pageId;
38 parent::__construct($pageId . '/' . $key, $ext);
47 wikiFN($this->pageId)
54 … $dependencies = p_get_metadata($this->pageId, 'plugin_' . $this->pluginName . ' dependencies');
80 * @param String $pageId The wiki id of the page the cached content is on.
83 public function __construct($pluginName, $pageId, $recipeName) { argument
86 parent::__construct($pluginName, $pageId, $recipeName, ".rrd");
102 * @param String $pageId The wiki id of the page the cached content is on.
109 …public function __construct($pluginName, $pageId, $extension, $recipeName, $rangeNr, $conditions, … argument
113 …parent::__construct($pluginName, $pageId, $recipeName . '/' . $conditions . '/' . $rangeNr, "." . …
263 * @param String $pageId Wiki page id.
267 public function storeRecipe($pageId, $recipeName, $recipeData) { argument
269 $cache = new cache_rrdgraph($this->getPluginName(), $pageId, $recipeName);
272 $this->localRecipeCache[$pageId . "/" . $recipeName] = $recipeData;
278 * @param String $pageId Wiki page id.
282 public function fetchRecipe($pageId, $recipeName) { argument
283 if (! isset($this->localRecipeCache[$pageId . "/" . $recipeName])) {
284 $cache = new cache_rrdgraph($this->getPluginName(), $pageId, $recipeName);
286 … $this->localRecipeCache[$pageId . "/" . $recipeName] = unserialize($cache->retrieveCache());
290 p_wiki_xhtml($pageId);
293 … $this->localRecipeCache[$pageId . "/" . $recipeName] = unserialize($cache->retrieveCache());
297 …if (empty($this->localRecipeCache[$pageId . "/" . $recipeName])) $this->localRecipeCache[$pageId .…
299 return $this->localRecipeCache[$pageId . "/" . $recipeName];
367 * @param String $pageId The wiki id of the page the cached content is on.
373 public function getImageCacheInfo($pageId, $recipeName, $extension, $rangeNr, $conditions) { argument
374 …$cache = new cache_rrdgraphimage($this->getPluginName(), $pageId, $extension, $recipeName, $rangeN…
383 * @param string $pageId The wiki id of the page the rrd graph is defined in.
391 …public function sendRrdImage($pageId, $graphId, $rangeNr = 0, $mode = helper_plugin_rrdgraph::MODE… argument
399 … if (auth_quickaclcheck($pageId) < AUTH_READ) throw new Exception("Access denied by ACL.");
411 …$cacheInfo = $this->getImageCacheInfo($pageId, $graphId, ($mode == helper_plugin_rrdgraph::MODE_BI…
418 $recipe = $this->fetchRecipe($pageId, $graphId);
419 …cipe === null) throw new Exception("The graph " . $graphId . " is not defined on page " . $pageId);
422 … null) throw new Exception("Inflating the graph " . $graphId . " on page " . $pageId . " failed.");
430 $rpncomp->addConst("page", $pageId);
567 …$cacheInfo = $this->getImageCacheInfo($pageId, $graphId, ($mode == helper_plugin_rrdgraph::MODE_BI…
588 …$cacheInfo = $this->getImageCacheInfo($pageId, $graphId, ($mode == helper_plugin_rrdgraph::MODE_BI…