Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
Maps\Elements\BaseElement Class Reference
Collaboration diagram for Maps\Elements\BaseElement:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 
 getTitle ()
 
 setTitle ($title)
 
 getText ()
 
 setText ($text)
 
 getLink ()
 
 setLink ($link)
 
 getJSONObject ($defText= '', $defTitle= '')
 
 getArrayValue ()
 
 getOptions ()
 
 setOptions (ElementOptions $options)
 

Protected Attributes

 $options
 

Detailed Description

Base class for objects implementing the

See also
Element interface.
Since
3.0

GNU GPL v2+

Author
Kim Eik < kim@h.nosp@m.eldi.nosp@m.g.org >
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

Maps\Elements\BaseElement::__construct ( )

Constructor.

Since
3.0

Member Function Documentation

Maps\Elements\BaseElement::getArrayValue ( )
See also
Element::getArrayValue
Since
3.0
Returns
mixed

Implements Maps\Element.

Maps\Elements\BaseElement::getJSONObject (   $defText = '',
  $defTitle = '' 
)
Deprecated:
Parameters
string$defText
string$defTitle
Returns
array
Maps\Elements\BaseElement::getLink ( )
Since
3.0
Returns
string
Maps\Elements\BaseElement::getOptions ( )
See also
Element::getOptions
Since
3.0
Returns
ElementOptions

Implements Maps\Element.

Maps\Elements\BaseElement::getText ( )
Since
3.0
Returns
string
Maps\Elements\BaseElement::getTitle ( )
Since
3.0
Returns
string
Maps\Elements\BaseElement::setLink (   $link)
Since
3.0
Parameters
string$link
Maps\Elements\BaseElement::setOptions ( ElementOptions  $options)

Sets the elements options.

Since
3.0
Parameters
ElementOptions$options

Implements Maps\Element.

Maps\Elements\BaseElement::setText (   $text)
Since
3.0
Parameters
string$text
Maps\Elements\BaseElement::setTitle (   $title)
Since
3.0
Parameters
string$title

Member Data Documentation

Maps\Elements\BaseElement::$options
protected

The documentation for this class was generated from the following file: