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

Class: OpenDocument_Heading

Source Location: /OpenDocument-0.1.2/OpenDocument/Heading.php

Class Overview

OpenDocument_Element
   |
   --OpenDocument_StyledElement
      |
      --OpenDocument_Heading

OpenDocument_Heading element


Author(s):

Version:

  • 0.1.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 43]
OpenDocument_Heading element


[ Top ]


Method Detail

__construct (Constructor)   [line 78]

OpenDocument_Heading __construct( DOMNode $node, OpenDocument $document)

Constructor
  • Access: public

Overrides OpenDocument_StyledElement::__construct() (Constructor)

Parameters:

DOMNode   $node   — 
OpenDocument   $document   — 

[ Top ]

createHyperlink   [line 191]

OpenDocument_Hyperlink createHyperlink( string $text, string $location, [string $type = 'simple'], [string $target = ''], [string $name = ''])

Create OpenDocument_Hyperlink
  • Access: public

Parameters:

string   $text   — 
string   $location   — 
string   $type   —  optional
string   $target   —  optional
string   $name   —  optional

[ Top ]

createSpan   [line 202]

OpenDocument_Span createSpan( string $text)

Create OpenDocument_Span element
  • Access: public

Parameters:

string   $text   — 

[ Top ]

createTextElement   [line 176]

OpenDocument_TextElement createTextElement( string $text)

Create OpenDocument_TextElement
  • Access: public

Parameters:

string   $text   — 

[ Top ]

generateStyleName   [line 162]

string generateStyleName( )

Generate element new style name
  • Access: public

Overrides OpenDocument_StyledElement::generateStyleName() (Generate new style name)
[ Top ]

instance   [line 97]

OpenDocument_Heading instance( mixed $object, mixed $content, [integer $level = 1])

Create OpenDocument_Heading element
  • Access: public

Parameters:

mixed   $object   — 
mixed   $content   — 
integer   $level   —  optional

[ Top ]

__get   [line 147]

mixed __get( string $name)

Get element properties
  • Access: protected

Overrides OpenDocument_StyledElement::__get() (Magic method Get property value)

Parameters:

string   $name   — 

[ Top ]

__set   [line 127]

void __set( string $name, mixed $value)

Set element properties
  • Access: public

Parameters:

string   $name   — 
mixed   $value   — 

[ Top ]


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