[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/dtl/ -> xml_database_importer.php (summary)

XML format importer class

Copyright: 2008 Andrei Bautu
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 155 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  get_parser()
  tag_open()
  tag_close()
  cdata()

Functions
Functions that are not part of a class:

get_parser()   X-Ref
Creates and setups a SAX parser. Subclasses should use this method to
create the XML parser.

return: resource XML parser resource.

tag_open($parser, $tag, $attributes)   X-Ref
Callback function. Called by the XML parser for opening tags processing.

param: resource $parser XML parser resource.
param: string $tag name of opening tag
param: array $attributes set of opening tag XML attributes
return: void

tag_close($parser, $tag)   X-Ref
Callback function. Called by the XML parser for closing tags processing.

param: resource $parser XML parser resource.
param: string $tag name of opening tag
return: void

cdata($parser, $data)   X-Ref
Callback function. Called by the XML parser for character data processing.

param: resource $parser XML parser resource.
param: string $data character data to be processed
return: void



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1