Lines Matching refs:this

80         $this->cfgFile = $cfg;
82 if (file_exists($this->cfgFile)) {
87 include($this->cfgFile);
88 $this->order_large = $fa_order_large;
89 $this->order_small = $fa_order_small;
93 $this->providers[$id] = $provider;
95 if (!in_array($id, $this->order_large) && !in_array($id, $this->order_small)) {
96 array_push($this->order_small, $id);
114 if (array_key_exists($id, $this->providers)) return 0;
116 $this->providers[$id] = $provider;
117 array_push($this->order_small, $id);
118 return $this->providers[$id];
127 return count($this->providers);
136 return count($this->order_large);
145 return count($this->order_small);
155 return $this->providers[$id];
165 return $this->providers;
175 foreach($this->order_large as $key => $val) {
176 $ret[$val] = $this->providers[$val];
188 foreach($this->order_small as $key => $val) {
189 $ret[$val] = $this->providers[$val];
203 $size = in_array($id, $this->order_large) ? PROV_LARGE : PROV_SMALL;
204 return $this->providers[$id]->getImageXHTML($size, $class);
215 $src =& $this->_getOrderFor($id);
229 $src =& $this->_getOrderFor($id);
241 $src =& $this->_getOrderFor($id);
262 $src =& $this->_getOrderFor($id);
283 if (!array_key_exists($id, $this->providers)) return false;
284 if (!$this->providers[$id]->isRemovable()) return false;
286 unset($this->providers[$id]);
289 $ord =& $this->_getOrderFor($id);
310 if ($this->countLarge()) {
311 $cfg .= "\$fa_order_large = array('" . implode("','", $this->order_large) . "');\n";
313 if ($this->countSmall()) {
314 $cfg .= "\$fa_order_small = array('" . implode("','", $this->order_small) . "');\n";
318 foreach ($this->providers as $id => $provider) {
321 file_put_contents($this->cfgFile, $cfg);
330 $this->cfgFile = $fname;
340 if (in_array($id, $this->order_large)) {
341 $index = array_search($id, $this->order_large);
342 array_splice($this->order_large, $index, 1);
343 array_push($this->order_small, $id);
346 if (in_array($id, $this->order_small)) {
347 $index = array_search($id, $this->order_small);
348 array_splice($this->order_small, $index, 1);
349 array_push($this->order_large, $id);
367 if (in_array($id, $this->order_small)) {
368 return $this->order_small;
370 if (in_array($id, $this->order_large)) {
371 return $this->order_large;
373 return $this->nullGuard;