File
- modules/update/update.fetch.inc, line 206
- Code required only when fetching information about available updates.
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;
case 'FILE':
unset($this->current_object);
$this->current_file = array();
$this->current_object = &$this->current_file;
break;
}
}
Login or
register to post comments