/plugin/dataloop/syntax/ |
H A D | textloop.php | 91 foreach ( $lines as $line ) { 93 $line = preg_replace('/(?<![&\\\\])#.*$/','',$line); 94 $line = str_replace('\\#','#',$line); 95 $line = trim($line); 96 if(empty($line)) continue; 97 $line = preg_split('/\s*:\s*/',$line,2); 98 $line[0] = strtolower($line[0]); 102 switch($line[0]){ 105 $cols = explode(',',$line[1]); 123 $headlevelsplits = explode(';',$line[1]); [all …]
|
H A D | loop.php | 91 foreach ( $lines as $line ) { 93 $line = preg_replace('/(?<![&\\\\])#.*$/','',$line); 94 $line = str_replace('\\#','#',$line); 95 $line = trim($line); 96 if(empty($line)) continue; 97 $line = preg_split('/\s*:\s*/',$line,2); 98 $line[0] = strtolower($line[0]); 102 switch($line[0]){ 105 $cols = explode(',',$line[1]); 123 $headlevelsplits = explode(';',$line[1]); [all …]
|
/plugin/dtable/ |
H A D | helper.php | 115 $line .= '^'.$cell[1]; 118 $line .= '|'.$cell[1]; 123 $line .= '^'; 126 $line .= '|'; 128 $line = str_replace("\n", '\\\\ ', $line); 130 return $line; 132 function parse_line($line, $page_id) argument 134 $line = preg_replace('/\s*:::\s*\|/', '', $line); 173 $this->calls[$this->row][1][0] = $line; 179 $this->calls[$this->row][1][1] = $line - 1; [all …]
|
/plugin/authyubikey/ |
H A D | auth.php | 228 foreach($lines as $line) { 229 $line = preg_replace('/#.*$/', '', $line); //ignore comments 230 $line = trim($line); 231 if(empty($line)) continue; 234 $row = $this->_splitUserData($line); 249 foreach($lines as $line) { 250 $line = preg_replace('/#.*$/', '', $line); //ignore comments 251 $line = trim($line); 252 if(empty($line)) continue; 254 list($user, $yubikey) = explode(':', $line);
|
/plugin/uncmap/ |
H A D | syntax.php | 37 foreach ($lines as $line) { 38 if (preg_match('/[a-z]/',strtolower($line[0])) == 1) { 39 $letter = $line[0]; 40 $line = substr($line,1); 41 $line = trim($line); 42 if (empty($line)) continue; 43 $delim = strpos($line,' '); 45 $lines_pathes[] = implode(' ',array($letter,$line)); 48 $path = substr($line,0,$delim); 49 $fs = substr($line,$delim);
|
/plugin/booking/ |
H A D | helper.php | 52 while (($line = fgets($fh, 4096)) !== false) { 53 $line = trim($line); 54 if ($line === '') continue; 55 list($start, $end, $user) = explode("\t", $line, 3); 128 $line = "$start\t$end\t$user\n"; 129 file_put_contents($file, $line, FILE_APPEND); 155 while (($line = fgets($fh, 4096)) !== false) { 156 list($start, ,$booker) = explode("\t", $line, 3); 160 $len = strlen($line); // length of line (includes newline)
|
/plugin/zotero/ |
H A D | TextZoteroRepository.php | 27 foreach (explode("\n", $fileContents) as $line) 29 $e = $this->parseLine($line); 40 private function parseLine($line) argument 42 $line = trim($line); 44 if ($line == "" || $line == self::HEADER) 49 $line = $this->extractZoteroKey($line); 50 $columns = explode("|", $line);
|
/plugin/loglog/helper/ |
H A D | logging.php | 39 $line = join("\t", [$t, strftime($conf['dformat'], $t), $ip, $user, $msg, $data]); 41 io_saveFile($this->file, "$line\n", true); 55 foreach ($candidateLines as $line) { 56 if (empty($line)) continue; // Filter empty lines 57 $parsedLine = $this->loglineToArray($line); 132 * @param string $line 135 protected function loglineToArray($line) argument 137 list($dt, $junk, $ip, $user, $msg, $data) = explode("\t", $line, 6); 158 function ($carry, $line) use ($msgNeedle) { 159 $carry = $carry + (int)(strpos($line['msg'], $msgNeedle) !== false);
|
/plugin/strata/helper/ |
H A D | syntax.php | 49 trigger_error("Undefined syntax fragment '$name' on {$trace[0]['file']}:{$trace[0]['line']}", E_USER_NOTICE); 69 trigger_error("Undefined syntax capture '$name' on {$trace[0]['file']}:{$trace[0]['line']}", E_USER_NOTICE); 118 trigger_error("Syntax fragment fields are read-only on {$trace[0]['file']}:{$trace[0]['line']}", E_USER_NOTICE); 124 trigger_error("Syntax fragment fields are read-only on {$trace[0]['file']}:{$trace[0]['line']}", E_USER_NOTICE); 161 * Determines whether a line can be ignored. 163 function ignorableLine($line) { argument 164 $line = utf8_trim($line); 165 return $line == '' || utf8_substr($line, 738 parseFieldsShort($line, & $typemap) global() argument [all...] |
/plugin/findologicxmlexport/vendor/hoa/exception/ |
H A D | Error.php | 55 * @param int $line Line. 62 $line, argument 66 $this->line = $line; 87 function ($no, $str, $file = null, $line = null, $ctx = null) { 96 throw new Error($str, $no, $file, $line, $trace);
|
/plugin/calendoku/ |
H A D | action.php | 73 foreach ($textlines as $line) { 75 if (!$inparse && (preg_match('/^(DTSTAMP:)/', $line, $match) 76 || preg_match('/^(LAST-MODIFIED:)/', $line, $match))) { 82 …alnum:]-]*?):@@([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9-]{1,2}):([0-9-]{1,2})@@$/', $line, $match)) { 96 if (!$inparse && preg_match('/^([[:alnum:]-]*?):@@(.*)@@$/', $line, $match)) { 102 if (!$inparse && preg_match('/^([[:alnum:]-]*?):@@(.*)$/', $line, $match)) { 109 if ($inparse && preg_match('/^(.*)@@$/', $line, $match)) { 117 $newtext .= ' '.$line."\n"; 122 $newtext .= $line."\n";
|
/plugin/darcspatch/ |
H A D | admin.php | 135 if($line = trim(array_shift($lines))) { 136 if($pos = strrpos($line,' ')) { 137 $fname = substr($line,0,$pos); 138 $offset = intval(substr($line,$pos+1)); 147 foreach($lines as $line) { 148 if($line[0] == $minus) { 153 $return_string .= ' '.rtrim(substr($line,1))."\n"; 159 elseif($line[0] == $plus) { 161 array_splice($target_lines,$offset-1,0,substr($line,1)."\n"); 168 } elseif(trim($line) == '') { [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/ |
H A D | NodeTestCase.php | 54 protected function getVariableGetter($name, $line = false) argument 56 $line = $line > 0 ? "// line {$line}\n" : ''; 59 return sprintf('%s($context["%s"] ?? null)', $line, $name, $name); 63 … return sprintf('%s(isset($context["%s"]) ? $context["%s"] : null)', $line, $name, $name); 66 return sprintf('%s$this->getContext($context, "%s")', $line, $name);
|
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Call/ |
H A D | Call.php | 29 private $line; variable in Prophecy\\Call\\Call 40 * @param null|int $line 43 Exception $exception = null, $file, $line) argument 53 $this->line = intval($line); 114 return $this->line; 128 return sprintf('%s:%d', $this->file, $this->line);
|
/plugin/authg2fa/ |
H A D | TokenHelper.php | 23 foreach($lines as $line) { 24 $line = preg_replace('/#.*$/', '', $line); //ignore comments 25 $line = trim($line); 26 if(empty($line)) continue; 28 $row = explode(":", $line, 2);
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/ |
H A D | SimState.php | 13 * includes the current index into the input, the current line, 14 * and current character position in that line. Note that the Lexer is 15 * tracking the starting line and characterization of the token. These 31 private $line = 0; variable in Antlr\\Antlr4\\Runtime\\Atn\\SimState 42 $this->line = 0; 59 return $this->line; 62 public function setLine(int $line) : void argument 64 $this->line = $line;
|
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | module.misc.pdf.php | 71 $line = rtrim($this->fgets()); 72 if (preg_match('#^'.$objectNumber.' ([0-9]+) obj#', $line, $matches)) { 73 if (strlen($line) > strlen($matches[0])) { 79 $line = $this->fgets(); 80 if (rtrim($line) == 'endobj') { 83 $objectData .= $line; 92 $this->error('Unexpected structure "'.$line.'" at offset '.$offset); 129 $line = rtrim($this->fgets()); 130 if (preg_match('#^([0-9]+) ([0-9]+) ([nf])$#', $line, $matches)) {
|
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/ |
H A D | LineTest.php | 23 private $line; variable in SebastianBergmann\\Diff\\LineTest 27 $this->line = new Line; 32 $this->assertInstanceOf('SebastianBergmann\Diff\Line', $this->line); 37 $this->assertEquals(Line::UNCHANGED, $this->line->getType()); 42 $this->assertEquals('', $this->line->getContent());
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Logging/ |
H A D | LogEntrySourceLocation.php | 33 public $line; variable in Google\\Service\\Logging\\LogEntrySourceLocation 66 public function setLine($line) argument 68 $this->line = $line; 75 return $this->line;
|
H A D | SourceLocation.php | 33 public $line; variable in Google\\Service\\Logging\\SourceLocation 66 public function setLine($line) argument 68 $this->line = $line; 75 return $this->line;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Networkconnectivity/ |
H A D | LogEntrySourceLocation.php | 24 public $line; variable in Google\\Service\\Networkconnectivity\\LogEntrySourceLocation 42 public function setLine($line) argument 44 $this->line = $line; 48 return $this->line;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ServiceControl/ |
H A D | V2LogEntrySourceLocation.php | 33 public $line; variable in Google\\Service\\ServiceControl\\V2LogEntrySourceLocation 66 public function setLine($line) argument 68 $this->line = $line; 75 return $this->line;
|
/plugin/combo/vendor/symfony/polyfill-php80/ |
H A D | PhpToken.php | 34 public $line; variable in Symfony\\Polyfill\\Php80\\PhpToken 41 public function __construct(int $id, string $text, int $line = -1, int $position = -1) argument 45 $this->line = $line; 87 $line = 1; 95 [$id, $text, $line] = $token; 97 $tokens[$index] = new static($id, $text, $line, $position);
|
/plugin/simplenavi/_test/ |
H A D | SimplenaviTest.php |
|
/plugin/graphgear/ |
H A D | syntax.php | 56 $line = $data[$i]; 59 $line = trim($line); 60 $line = rtrim($line," ;"); 62 if(strpos($line,'->') === false){ 63 $opt = $this->parseNode($line); 65 $opt = $this->parseEdge($line); 197 function parseNode($line){ argument 198 list($node,$opts) = explode('[',$line,2); 208 function parseEdge($line){ argument 209 list($edge,$opts) = explode('[',$line,2);
|