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

Class: DB_Table_XML

Source Location: /DB_Table-1.5.6/DB/Table/XML.php

Class Overview


Class DB_Table_XML contains a few simple static methods for writing XML


Author(s):

Version:

  • Release: 1.5.6

Methods


Inherited Variables

Inherited Methods


Class Details

[line 59]
Class DB_Table_XML contains a few simple static methods for writing XML


[ Top ]


Method Detail

closeTag   [line 88]

string closeTag( string $tag, &$indent, string $indent)

Returns XML closing tag </tag>, decreases $indent by 3 spaces
  • Return: XML closing tag
  • Access: public

Parameters:

string   $tag     XML element tag name
string   $indent     current indentation, string of spaces
   &$indent     

[ Top ]

lineElement   [line 105]

string lineElement( string $tag, string $text, string $indent)

Returns string single line XML element <tag>text</tag>
  • Return: single-line XML element
  • Access: public

Parameters:

string   $tag     XML element tag name
string   $text     element contents
string   $indent     current indentation, string of spaces

[ Top ]

openTag   [line 71]

string openTag( string $tag, &$indent, string $indent)

Returns XML closing tag <tag>, increases $indent by 3 spaces
  • Return: XML opening tag
  • Access: public

Parameters:

string   $tag     XML element tag name
string   $indent     current indentation, string of spaces
   &$indent     

[ Top ]


Documentation generated on Thu, 25 Dec 2008 15:00:37 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.