Translation2
[ class tree: Translation2 ] [ index: Translation2 ] [ all elements ]

File: xml.php

Source Location: /Translation2-2.0.4/Translation2/Container/xml.php

Classes:

Translation2_Container_xml
Storage driver for fetching data from a XML file

Page Details:

Contains the Translation2_Container_xml class

PHP versions 4 and 5

LICENSE: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Includes:

require_once('XML/Unserializer.php') [line 47]
require XML_Unserializer class
require_once('Translation2/Container.php') [line 43]
require Translation2_Container class

TRANSLATION2_DTD [line 51]

TRANSLATION2_DTD = "<!ELEMENT translation2 (languages,pages)>\n"."<!ELEMENT languages (lang*)>\n"."<!ELEMENT lang (name?,meta?,error_text?,encoding?)>\n"."<!ATTLIST lang id ID #REQUIRED>\n"."<!ELEMENT name (#PCDATA)>\n"."<!ELEMENT meta (#PCDATA)>\n"."<!ELEMENT error_text (#PCDATA)>\n"."<!ELEMENT encoding (#PCDATA)>\n"."<!ELEMENT pages (page*)>\n"."<!ELEMENT page (string*)>\n"."<!ATTLIST page key CDATA #REQUIRED>\n"."<!ELEMENT string (tr*)>\n"."<!ATTLIST string key CDATA #REQUIRED>\n"."<!ELEMENT tr (#PCDATA)>\n"."<!ATTLIST tr lang IDREF #REQUIRED>\n"
Document Type Definition

[ Top ]



Documentation generated on Mon, 06 Dec 2010 00:00:31 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.