Lines Matching refs:file_path
23 static function line_nr($pos, $file_path, $start_line = 0) { argument
25 if (!is_array(self::$line_nr_c[$file_path] ?? null)) {
26 self::$line_nr_c[$file_path] = array();
30 $start_pos = count(self::$line_nr_c[$file_path]) - 1;
31 $line_nr = self::$line_nr_c[$file_path][count(self::$line_nr_c[$file_path]) - 1];
36 if (($find = array_search($start_line, self::$line_nr_c[$file_path] ?? [])) !== false) {
42 self::$file_cont = io_readFile($file_path);
45 self::$line_nr_c[$file_path][$i] = $line_nr;
49 self::$line_nr_c[$file_path][$i] = $line_nr;
60 return self::$line_nr_c[$file_path][$pos];
63 self::$file_cont = io_readFile($file_path);
67 self::$line_nr_c[$file_path][$i] = $line_nr;
71 return self::$line_nr_c[$file_path][$pos];
149 public $file_path; variable in helper_plugin_dtable_handler
153 $this->file_path = wikiFN($page_id);
166 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
174 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
200 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);