PHP Class NestedElementHandler, symfony-1.4
This class handles the occurance of runtime registered tags like
datatypes (fileset, patternset, etc) and it's possible nested tags. It
introspects the implementation of the class and sets up the data structures.
Afficher le fichier
Open project: vjousse/symfony-1.4
Class Usage Examples
Méthodes publiques
Méthode |
Description |
|
__construct ( $parser, $parentHandler, $configurator, $parent, $parentWrapper, $target ) |
Constructs a new NestedElement handler and sets up everything. |
|
characters ( $data ) |
Handles character data. |
|
init ( $propType, $attrs ) |
Executes initialization actions required to setup the data structures
related to the tag. |
|
startElement ( $name, $attrs ) |
Checks for nested tags within the current one. Creates and calls
handlers respectively. |
|
Method Details
__construct()
public méthode
@param object the ExpatParser object
public __construct ( $parser, $parentHandler, $configurator, $parent, $parentWrapper, $target ) |
characters()
public méthode
This includes:
- creation of the nested element
- calling the setters for attributes
- adding the element to the container object
- adding a reference to the element (if id attribute is given)
public init ( $propType, $attrs ) |
startElement()
public méthode
Checks for nested tags within the current one. Creates and calls
handlers respectively.