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

Class: OpenDocument_Element_Hyperlink

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

Class Overview

OpenDocument_Element
   |
   --OpenDocument_StyledElement
      |
      --OpenDocument_Element_Hyperlink

Hyperlink element


Author(s):

Version:

  • 0.1.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 41]
Hyperlink element


[ Top ]


Method Detail

createSpan   [line 251]

OpenDocument_Element_Span createSpan( string $text)

Create a span element
  • Access: public

Parameters:

string   $text   —  Text contents for span element

[ Top ]

createTextElement   [line 239]

OpenDocument_Element_Text createTextElement( string $text)

Create a text element
  • Access: public

Parameters:

string   $text   —  Content of text element

[ Top ]

generateStyleName   [line 224]

string generateStyleName( )

Generate element new style name
  • Return: New style name
  • Access: public

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

instance   [line 130]

OpenDocument_Element_Hyperlink instance( mixed $object, mixed $content, string $location, [string $type = 'simple'], [string $target = ''], [string $name = ''])

Create hyperlink instance
  • Access: public

Parameters:

mixed   $object   —  Document or element to append link to
mixed   $content   —  (Text) content of hyperlink
string   $location   —  Hyperlink URL
string   $type   —  'simple'
string   $target   —  Name of target frame
string   $name   —  Name (id) of link

[ Top ]

__construct (Constructor)   [line 105]

OpenDocument_Element_Hyperlink __construct( DOMNode $node, OpenDocument_Document $document)

Constructor
  • Access: public

Overrides OpenDocument_StyledElement::__construct() (Constructor)

Parameters:

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

[ Top ]

__get   [line 209]

mixed __get( string $name)

Get element property
  • Return: Property value
  • Access: public

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

Parameters:

string   $name   —  Name of property

[ Top ]

__set   [line 174]

void __set( string $name, mixed $value)

Set element property
  • Access: public

Parameters:

string   $name   —  Name of property to set
mixed   $value   —  Value to set

[ Top ]


Documentation generated on Wed, 09 Dec 2015 23:02:08 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.