Lines Matching refs:data
25 var $data = array(); variable in fa_provider
27 public static function create($id, $data) { argument
29 $instance->loadProvider($id, $data);
34 $data = array(
43 return self::create($id, $data);
46 protected function loadProvider($id, $data) { argument
48 $this->data = $data;
49 $this->data['use_uname'] = strstr($data['url'], '{username}') ? 1 : 0;
53 $this->data['disabled'] = 0;
57 $this->data['disabled'] = 1;
68 $this->data['disabled'] = $this->isEnabled() ? 1 : 0;
71 $old = $this->data['disabled'];
72 $this->data['disabled'] = $onoff ? 0 : 1;
73 return ($old != $this->data['disabled']);
77 return $this->data['disabled'] != 1;
81 return $this->data['custom'] != 0;
95 $src = $this->data['img_large'];
98 $src = $this->data['img_small'];
117 return $this->data['name'];
124 return $this->data['url'];
136 foreach ($this->data as $key => $val) {
145 return $this->data['use_uname'] != 0;
158 if ($this->data['custom']) return;
161 …$this->data['img_large'] = '@DEF@' . (file_exists($imgpath . $large) ? $large : 'large/_noimage.p…
162 … $this->data['img_small'] = '@DEF@' . (file_exists($imgpath . $small) ? $small : '_noimage.png');