function update_status_xml_parser::start in Update Status 5.2
File
- ./
update_status.module, line 1699
Class
- update_status_xml_parser
- XML Parser object to read Drupal's project info files This uses PHP4's lame XML parsing, but it works. Mostly.
Code
function start($parser, $name, $attr) {
$this->current_tag = $name;
switch ($name) {
case 'PROJECT':
unset($this->current_object);
$this->current_project = array();
$this->current_object =& $this->current_project;
break;
case 'RELEASE':
unset($this->current_object);
$this->current_release = array();
$this->current_object =& $this->current_release;
break;
case 'TERM':
unset($this->current_object);
$this->current_term = array();
$this->current_object =& $this->current_term;
break;
}
}