[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/docs/XML_Parser/examples/ -> xml_parser_simple_handler.php (sommaire)

example for XML_Parser_Simple $Id: xml_parser_simple_handler.php,v 1.1 2004/05/25 13:26:42 schst Exp $

Author: Stephan Schmidt <schst@php-tools.net>
Poids: 56 lignes (1 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 XML/Parser/Simple.php

Définit 1 class

myHandlerSimple:: (2 méthodes):
  handleElement_category()
  handleElement_name()


Classe: myHandlerSimple  - X-Ref

require the parser

handleElement_category($name, $attribs, $data)   X-Ref
handle the category element

The element will be handled, once it's closed

param: string      name of the element
param: array       attributes of the element
param: string      character data of the element

handleElement_name($name, $attribs, $data)   X-Ref
handle the name element

The element will be handled, once it's closed

param: string      name of the element
param: array       attributes of the element
param: string      character data of the element



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7