Lines Matching defs:line
98 * Creates a string suitable for saving as a line
155 // prepare user line
418 foreach ($lines as $line) {
419 $line = preg_replace('/(?<!\\\\)#.*$/', '', $line); //ignore comments (unless escaped)
420 $line = trim($line);
421 if (empty($line)) continue;
423 $row = $this->splitUserData($line);
439 * Get the user line split into it's parts
441 * @param string $line
444 protected function splitUserData($line)
446 $data = preg_split('/(?<![^\\\\]\\\\)\:/', $line, 5); // allow for : escaped as \:
449 Logger::error('User line with less than 5 fields. Possibly corruption in your user file', $data);