PHP 클래스 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.
파일 보기
프로젝트 열기: vjousse/symfony-1.4
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
__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. |
|
메소드 상세
@param object the ExpatParser object
public __construct ( $parser, $parentHandler, $configurator, $parent, $parentWrapper, $target ) |
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 ) |
Checks for nested tags within the current one. Creates and calls
handlers respectively.