phpDocumentor lodel
[ class tree: lodel ] [ index: lodel ] [ all elements ]

Procedural File: xmlfunc.php

Source Location: /lodel/scripts/xmlfunc.php

Page Details

Fichier utilitaire de fonctions XML PHP versions 4 et 5

LODEL - Logiciel d'Edition ELectronique.

Copyright (c) 2001-2002, Ghislain Picard, Marin Dacos Copyright (c) 2003, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot Copyright (c) 2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Anne Gentil-Beccot, Bruno Cénou Copyright (c) 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou Copyright (c) 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse

Home page: http://www.lodel.org

E-Mail: lodel@lodel.org

All Rights Reserved

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Author:  Jean Lamy
Author:  Ghislain Picard
Version:  CVS:$Id:
Copyright:  2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse
Copyright:  2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou
Functions
calculateXML  [line 48]

the calculateXML( $context  )

Calcul the XML file for an entity

Parameters:
   $context: 

API Tags:
Return:  indented XML


[ Top ]
calculateXMLSchema  [line 61]

the calculateXMLSchema( $context  )

Calcul the XSD scheme for a class of entity

Parameters:
   $context: 

API Tags:
Return:  indented XSD


[ Top ]
indentXML  [line 81]

string indentXML( string $contents, [boolean $output = false], [string $indenter = ' ']  )

Indentation d'un contenu XML

Indent an XML content

Parameters:
string   $contents:  le contenu à indenter
boolean   $output:  indique si on affiche ou non le résultat
string   $indenter:  la chaine utilisé pour l'indentation

API Tags:
Return:  le XML indenté


[ Top ]
loop_entry_or_persons_fields_values  [line 200]

void loop_entry_or_persons_fields_values( array &$context, string $funcname  )

LOOP lodelscript qui récupère chaque champ d'une personne ou d'une entrée avec sa valeur

Parameters:
array   &$context:  le context qui contient toutes les données
string   $funcname:  le nom de la fonction LOOP


[ Top ]
loop_fields_values  [line 154]

void loop_fields_values( array &$context, string $funcname  )

LOOP lodelscript qui récupère chaque champ d'une entité avec sa valeur

Loop that select each field with its value for an entity

Parameters:
array   &$context:  le context qui contient toutes les données
string   $funcname:  le nom de la fonction LOOP


[ Top ]
loop_person_relations_fields  [line 258]

void loop_person_relations_fields( array &$context, string $funcname  )

Loop that select each field of a relation between an entity and a person for an entity

Parameters:
array   &$context:  le context qui contient toutes les données
string   $funcname:  le nom de la fonction LOOP


[ Top ]
loop_xsdtypes  [line 125]

void loop_xsdtypes( array &$context, string $funcname  )

Loop Lodelscript permettant de générer le XML d'une entité Decode Balise field

Parameters:
array   &$context:  le context qui contient toutes les données
string   $funcname:  le nom de la fonction LOOP


[ Top ]
namespace  [line 304]

void namespace( string $text  )

Put the XHTML namespace in each tag with no namespace and delete r2r namespace Met le namespace xhtml pour toutes balises qui n'ont pas de namespace et supprime le namespace r2r.

Parameters:
string   $text:  le texte auquel on rajoute le namespace


[ Top ]


Documentation generated on Wed, 29 Aug 2007 14:30:06 +0200 by phpDocumentor 1.4.0a2