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

Class: OpenDocument_Element_Text

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

Class Overview

OpenDocument_Element
   |
   --OpenDocument_Element_Text

Plain text element


Author(s):

Version:

  • 0.1.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
Plain text element


[ Top ]


Method Detail

__construct (Constructor)   [line 57]

OpenDocument_Element_Text __construct( DOMNode $node, OpenDocument_Document $document)

Constructor
  • Access: public

Overrides OpenDocument_Element::__construct() (Constructor)

Parameters:

DOMNode   $node   —  Node to add heading to
OpenDocument_Document   $document   —  Document to add heading to

[ Top ]

instance   [line 71]

OpenDocument_Element_Text instance( mixed $object, string $text)

Create object instance
  • Access: public

Parameters:

mixed   $object   —  Document or Element to append text to
string   $text   —  Contents of text element

[ Top ]

__get   [line 118]

mixed __get( string $name)

Magic method: Get property value
  • Access: public

Parameters:

string   $name   —  Name of property to retrieve

[ Top ]

__set   [line 100]

void __set( string $name, mixed $value)

Magic method: Set property value
  • Access: public

Parameters:

string   $name   —  Name of property to set
mixed   $value   —  Value for property ('text')

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:51:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.