Lines Matching refs:line
102 $line = $this->readLine();
106 if ( 3 <= strlen($line)
107 && ord($line[0]) === 0xef
108 && ord($line[1]) === 0xbb
109 && ord($line[2]) === 0xbf) {
110 $line = substr($line, 3);
113 switch(strtoupper($line)) {
133 $line = $this->readLine();
134 if (strtoupper(substr($line,0,4)) === 'END:') {
137 $result = $this->parseLine($line);
144 $name = strtoupper(substr($line, 4));
155 * @param string $line Unfolded line
158 protected function parseLine($line) { argument
161 if (strtoupper(substr($line, 0, 6)) === 'BEGIN:') {
163 $component = $this->root->createComponent(substr($line,6), array(), false);
168 $line = $this->readLine();
169 if (strtoupper(substr($line,0,4)) === 'END:') {
172 $result = $this->parseLine($line);
179 $name = strtoupper(substr($line, 4));
189 $property = $this->readProperty($line);
259 $line = $rawLine;
272 $line .= substr($nextLine, 1);
281 return $line;
290 protected function readProperty($line) { argument
316 preg_match_all($regex, $line, $matches, PREG_SET_ORDER);