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

Class: OpenDocument_Element

Source Location: /OpenDocument-0.2.1/OpenDocument/Element.php

Class Overview


OpenDocument_Element abstract class


Author(s):

Version:

  • 0.1.0

Variables

Methods


Child classes:

OpenDocument_Element_Bookmark
Bookmark element
OpenDocument_Element_Text
Plain text element
OpenDocument_StyledElement
Base class for elements with styles

Inherited Variables

Inherited Methods


Class Details

[line 45]
OpenDocument_Element abstract class

OpenDocument_Element absract class - all other elements inherit from this one



[ Top ]


Class Variables

$allowedElements = array()

[line 66]

Array of allowed documents
  • Access: protected

Type:   array


[ Top ]

$children =

[line 73]

ArrayObject of children elements
  • Access: protected

Type:   ArrayObject


[ Top ]

$document =

[line 59]

Element OpenDocument
  • Access: protected



[ Top ]

$node =

[line 52]

Element DOMNode
  • Access: protected

Type:   DOMNode


[ Top ]



Method Detail

__construct (Constructor)   [line 81]

OpenDocument_Element __construct( $node, OpenDocument_Document $document)

Constructor
  • Access: public

Overridden in child classes as:

OpenDocument_Element_Bookmark::__construct()
Constructor
OpenDocument_Element_Text::__construct()
Constructor
OpenDocument_StyledElement::__construct()
Constructor
OpenDocument_Element_Paragraph::__construct()
Constructor
OpenDocument_Element_Hyperlink::__construct()
Constructor
OpenDocument_Element_Heading::__construct()
Constructor

Parameters:

DOMNode   $node     
OpenDocument_Document   $document     

[ Top ]

delete   [line 112]

void delete( )

Delete element
  • Access: public

[ Top ]

getChildren   [line 122]

ArrayIterator getChildren( )

Get element children
  • Access: public

[ Top ]

getDocument   [line 103]

OpenDocument_Document getDocument( )

Get element document
  • Access: public

[ Top ]

getNode   [line 93]

DOMNode getNode( )

Get element DOMNode
  • Access: public

[ Top ]

listChildren   [line 132]

void listChildren( )

Prepare element children
  • Access: protected

[ Top ]


Documentation generated on Tue, 23 Oct 2012 12:00:07 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.