Lines Matching refs:reader
172 $reader = new XMLReader();
173 $reader->open($URI);
181 while ($reader->read()) {
183 if ( $reader->nodeType !== XMLReader::ELEMENT ) { continue; }
185 switch ($reader->name) {
187 case 'description': $PLUGINURL = $reader->getAttribute('url');
188 $PLUGINDESC = $reader->readString();
191 case 'feature' : $FEATURE = $this->_getPluginURL($PLUGINURL . $reader->getAttribute('url'));
195 $FEATURE['id'] = $reader->getAttribute('id');
196 $FEATURE['version'] = $reader->getAttribute('version');
201 $CATEGORY = $reader->getAttribute('name');
216 case 'category-def' : $CATEGORY = $reader->getAttribute('name');
217 $LABEL = $reader->getAttribute('label');
233 $reader = new XMLReader();
234 $reader->XML($STRING);
240 while ($reader->read()) {
242 if ( $reader->nodeType !== XMLReader::ELEMENT ) { continue; }
244 switch ($reader->name) {
245 case 'update' : $PLUGINURL = $reader->getAttribute('url');
246 $PLUGINDESC = $reader->getAttribute('label');
250 'id' => $reader->getAttribute('id'),
251 'download-size' => $reader->getAttribute('download-size'),
252 'install-size' => $reader->getAttribute('install-size'),
253 'version' => $reader->getAttribute('version'),