Lines Matching refs:line

76 		foreach (explode("\n", str_replace("\r", null, $filedata)) as $line)
78 if ( (strlen($line) > 0) && ($line[0] != '#'))
80 $cue_lines[] = trim($line);
144 * @param string $line - The line in the cue file that contains the TRACK command.
147 public function parseComment($line, $track_on) argument
149 $explodedline = explode(' ', $line, 3);
167 * @param string $line - The line in the cue file that contains the FILE command.
171 public function parseFile($line) argument
173 $line = substr($line, strpos($line, ' ') + 1);
174 $type = strtolower(substr($line, strrpos($line, ' ')));
177 $line = substr($line, 0, strrpos($line, ' ') - 1);
180 $line = trim($line, '"');
182 return array('filename'=>$line, 'type'=>$type);
188 * @param string $line - The line in the cue file that contains the TRACK command.
191 public function parseFlags($line, $track_on) argument
195 foreach (explode(' ', strtolower($line)) as $type)
226 * @param string $line - The line in the cue file that contains the TRACK command.
229 public function parseGarbage($line, $track_on) argument
231 if ( strlen($line) > 0 )
235 $this->cuesheet['garbage'][] = $line;
239 $this->cuesheet['tracks'][$track_on]['garbage'][] = $line;
247 * @param string $line - The line in the cue file that contains the TRACK command.
250 public function parseIndex($line, $track_on) argument
252 $type = strtolower(substr($line, 0, strpos($line, ' ')));
253 $line = substr($line, strpos($line, ' ') + 1);
259 $number = intval(substr($line, 0, strpos($line, ' ')));
260 $line = substr($line, strpos($line, ' ') + 1);
264 $explodedline = explode(':', $line);
281 * @param string $line
284 public function parseString($line, $track_on) argument
286 $category = strtolower(substr($line, 0, strpos($line, ' ')));
287 $line = substr($line, strpos($line, ' ') + 1);
290 $line = trim($line, '"');
302 $this->cuesheet[$category] = $line;
306 $this->cuesheet['tracks'][$track_on][$category] = $line;
317 * @param string $line - The line in the cue file that contains the TRACK command.
320 public function parseTrack($line, $track_on) argument
322 $line = substr($line, strpos($line, ' ') + 1);
323 $track = ltrim(substr($line, 0, strpos($line, ' ')), '0');
326 $datatype = strtolower(substr($line, strpos($line, ' ') + 1));