Lines Matching refs:data
58 …$data =array('state' => $state, 'match' => $match, 'matchv' => htmlentities($match), 'pos' => $pos…
60 $data['m'] =$m;
61 $data['value'] =$m[2];
63 $data['att_string'] =$str;
72 $data['att'][$key] =$m2[2];
76 } else $data['error'] =TRUE;
77 if (!isset($data['att']['type'])) {
78 if (!empty($data['att']['format'])) $data['att']['type'] ='format';
79 else $data['att']['type'] =$this->getConf('defaultype');
81 return $data;
87 public function debugArrayString($data, $level =0) { argument
89 foreach($data as $key => $value) {
105 public function debugDataString($data) { argument
107 if (!is_array($data) || count($data) < 1) {
110 $str .=$this->debugArrayString($data);
118 * @param array $data The original data from the handler() function
121 public function GetIconFromData($data) { argument
123 if (!empty($data['att']['icon'])) $icon =$data['att']['icon'];
133 * @param array $data The original data from the handler() function
137 public function GetStringFromData(Doku_Renderer $renderer, $data, $type ='-') { argument
139 if ($type == '-') $type =(empty($data['att']['type'])) ? '' : $data['att']['type'];
145 … class="clipu-c vclipu" data-clipboard-text="' . $data['value'] . '">' . $renderer->_xmlEntities($…
149 …lass="clipu-c bclipu" data-clipboard-text="' . $data['value'] . '" src="' . $this->GetIconFromData…
153 $str .=$renderer->_xmlEntities($data['value']);
158 $f_str =(empty($data['att']['format'])) ? 'i' : $data['att']['format'];
172 $value =$this->GetStringFromData($renderer,$data,$format);
185 …$str .=$this->GetStringFromData($renderer,$data,'t') . ' ' . $this->GetStringFromData($renderer,$d…
189 …$str .=$this->GetStringFromData($renderer,$data,'i') . ' ' . $this->GetStringFromData($renderer,$d…
193 …$str .=$this->GetStringFromData($renderer,$data,'c') . ' ' . $this->GetStringFromData($renderer,$d…
197 …$str .=$this->GetStringFromData($renderer,$data,'i') . ' ' . $this->GetStringFromData($renderer,$d…
204 $str .= '<pre>'. $this->debugDataString($data) .'</pre>';
215 * @param array $data The data from the handler() function
218 public function render($mode, Doku_Renderer $renderer, $data) { argument
222 if (!is_array($data) || !isset($data['state'])) return false;
223 $renderer->doc .=$this->GetStringFromData($renderer,$data,'-');