[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/backup/util/xml/parser/processors/ -> simplified_parser_processor.class.php (summary)

(no description)

Copyright: 2003 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 260 lines (10 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 10 functions

  __construct()
  add_path()
  process_chunk()
  before_path()
  after_path()
  process_pending_startend_notifications()
  postprocess_chunk()
  path_is_selected()
  path_is_selected_parent()
  selected_parent_exists()

Functions
Functions that are not part of a class:

__construct(array $paths = array()   X-Ref
No description

add_path($path)   X-Ref
No description

process_chunk($data)   X-Ref
Get one chunk of parsed data and make it simpler
adding attributes as tags and delegating to
dispatch_chunk() the procesing of the resulting chunk


before_path($path)   X-Ref
The parser fires this each time one path is going to be parsed

param: string $path xml path which parsing has started

after_path($path)   X-Ref
The parser fires this each time one path has been parsed

param: string $path xml path which parsing has ended

process_pending_startend_notifications($path, $action)   X-Ref
Adjust start/end til finding one match start/end path (included)

This will trigger all the pending {@see notify_path_start} and
{@see notify_path_end} calls for one given path and action

param: string path the path to look for as limit
param: string action the action to look for as limit

postprocess_chunk($data)   X-Ref
No description

path_is_selected($path)   X-Ref
No description

path_is_selected_parent($path)   X-Ref
No description

selected_parent_exists($path)   X-Ref
Returns the first selected parent if available or false




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