Lines Matching refs:this
30 $controller->register_hook('IO_WIKIPAGE_WRITE', 'AFTER', $this, 'gourcecolor');
31 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'evalgourcerequest');
99 $this->colors = array();
103 $this->colors[$l[0]] = $l[1];
109 $this->crawl($conf['metadir'].($ns ? '/'.str_replace(':', '/', $ns) : ''), $strip, $from);
110 sort($this->log);
113 echo trim(implode("\n", $this->log)."\nDone\n");
119 if(isset($this->colors[$p])) return $this->colors[$p];
120 if(isset($this->colors[$ns])) return $this->colors[$ns];
122 $this->colors[$p] = sprintf('%02X%02X%02X', rand(0, 255), rand(0, 255), rand(0, 255));
123 return $this->colors[$p];
144 $this->log[] = $m[1].'|'.$m[5].'|'.$m[3].'|'.$id.'|'.$this->color($m[4]);
149 if(is_dir($p.'/'.$i)) $this->crawl($p.'/'.$i, $strip, $from);