Sitellite Application Framework
Class Tree         Index         All Elements

Class: XMLAttr

Source Location: Program_Root/XML/Doc/Attr.php

Class Overview


XMLAttr stores all the XML attributes of your document.


Author(s)

Version

  • 1.2, 2003-01-19, $Id: Attr.php,v 1.2 2005/07/06 15:30:56 lux Exp $

Copyright

  • Copyright (C) 2001-2003, Simian Systems Inc.

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 48]
XMLAttr stores all the XML attributes of your document.

New in 1.2:

  • Added a write() method.

1 <?php
2
3 $attr = new XMLAttr ('name', 'value');
4
5 ?>




Tags:

access:  public
version:  1.2, 2003-01-19, $Id: Attr.php,v 1.2 2005/07/06 15:30:56 lux Exp $
license:  http://www.sitellite.org/index/license
copyright:  Copyright (C) 2001-2003, Simian Systems Inc.
author:  John Luxford <mailto:lux@simian.ca>


[ Top ]


Class Variables

$name =

[line 55]

Name of the attribute.



Tags:

access:  public

Type:   mixed


[ Top ]

$value =

[line 63]

Value of the attribute.



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor XMLAttr [line 73]

XMLAttr XMLAttr( string $name, string $value)

Constructor method.



Tags:

access:  public


Parameters:

string   $name  
string   $value  

[ Top ]

method write [line 87]

string write( [boolean $space = false])

Writes the attribute in XML format. $space determines whether you want a preceeding space automatically inserted.



Tags:

access:  public


Parameters:

boolean   $space  

[ Top ]


Copyright © 2007, SIMIAN systems Inc.
All rights reserved. Privacy policy
Documentation generated on Tue, 13 Feb 2007 17:16:47 -0600 by Sitellite AppDoc and phpDocumentor 1.2.2