Lines Matching refs:this

7  * need to inherit from this class
17 return json_encode(array('type' => 'error', 'msg' => $this->getLang($code)));
19 return $this->getLang($code);
153 $this->file_path = wikiFN($page_id);
154 $this->start_line = $start_line;
164 $this->calls = array();
166 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
168 $this->calls[$this->row][0][$this->cell] = array(1, 1, $type, '');
169 $this->calls[$this->row][1][0] = $line;
174 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
175 $this->calls[$this->row][1][1] = $line - 1;
181 if (is_array($this->calls)) {
182 $this->calls[$this->row][0][$this->cell][3] .= $match;
188 $this->calls[$this->row][0][$this->cell][3] .= $match;
190 $this->calls[$this->row][0][$this->cell][3] .= $match;
192 $row = $this->row;
193 while (preg_match('/^\s*:::\s*$/', $this->calls[$row][0][$this->cell][3]) && $row > 0) {
196 if ($row != $this->row)
197 $this->calls[$row][0][$this->cell][1]++;
200 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
201 $this->calls[$this->row][1][1] = $line - 1;
204 array_pop($this->calls[$this->row][0]);
206 $this->row++;
207 $this->calls[$this->row] = array(array(), array());
209 $this->cell = 0;
212 $this->calls[$this->row][1][0] = $line;
214 $this->calls[$this->row][0][$this->cell] = array(1, 1, $type, '');
216 if ($this->calls[$this->row][0][$this->cell][3] == '' && $this->cell > 0) {
217 $this->calls[$this->row][0][$this->cell - 1][0]++;
218 array_pop($this->calls[$this->row][0]);
220 $this->cell++;
223 $this->calls[$this->row][0][$this->cell] = array(1, 1, $type, '');
233 $this->calls[$this->row][0][$this->cell][3] .= "\n";
244 if($this->calls === null) $this->calls = [];
245 if(!isset($this->calls[$this->row][0][$this->cell][3])) {
246 $this->calls[$this->row][0][$this->cell][3] = '';
248 $this->calls[$this->row][0][$this->cell][3] .= $params[0];
253 array_pop($this->calls[$this->row][0]);
254 $this->row = 0;
255 $this->cell = 0;