Lines Matching defs:line
15 * @return array added log line as revision info
20 * Parses a changelog line into its components
22 * @param string $line changelog line
23 * @return array|bool parsed line or false
27 public static function parseLogLine($line)
29 $info = sexplode("\t", rtrim($line, "\n"), 8);
30 if ($info[3]) { // we need at least the page id to consider it a valid line
34 'type' => $info[2], // log line type
38 'extra' => $info[6], // extra data (varies by line type)
47 * Build a changelog line from its components
50 * @param int $timestamp log line date (optional)
51 * @return string changelog line
177 * Has no check if $head and $tail are really at a new line
204 * Set pointer to first new line after $finger and return its position
215 fgets($fp); // slip the finger forward to a new line