[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 144 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
DataTypeHandler:: (5 méthodes):
__construct()
init()
characters()
startElement()
endElement()
Classe: DataTypeHandler - X-Ref
Configures a Project (complete with Targets and Tasks) based on__construct(AbstractSAXParser $parser, AbstractHandler $parentHandler, ProjectConfigurator $configurator, $target = null) X-Ref |
Constructs a new DataTypeHandler and sets up everything. param: AbstractSAXParser $parser The XML parser (default: ExpatParser) param: AbstractHandler $parentHandler The parent handler that invoked this handler. param: ProjectConfigurator $configurator The ProjectConfigurator object param: Target $target The target object this datatype is contained in (null for top-level datatypes). |
init($propType, $attrs) X-Ref |
Executes initialization actions required to setup the data structures related to the tag. <p> This includes: <ul> <li>creation of the datatype object</li> <li>calling the setters for attributes</li> <li>adding the type to the target object if any</li> <li>adding a reference to the task (if id attribute is given)</li> </ul> param: string the tag that comes in param: array attributes the tag carries |
characters($data) X-Ref |
Handles character data. param: string the CDATA that comes in |
startElement($name, $attrs) X-Ref |
Checks for nested tags within the current one. Creates and calls handlers respectively. param: string the tag that comes in param: array attributes the tag carries |
endElement($name) X-Ref |
Overrides endElement for data types. Tells the type handler that processing the element had been finished so handlers know they can perform actions that need to be based on the data contained within the element. param: string the name of the XML element return: void |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |