Docs For Class ZFormLink

## Class ZFormLink

Description

- license: Zend Framework License version 1.0
- copyright: Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Form/elements/ZFormLink.php (line 34)

    ZFormElement
       |
       --ZFormWebElement
          |
          --ZFormLink

Variable Summary
mixed $_text
Method Summary
void __construct ([mixed $id = null], [mixed $parentNode = null], [string $text = ''])
string getMemento ()
string getText ()
void renderBody ([ $renderScriptBlock = false], boolean $renderScriptBlock )
void setMemento (string $memento)
void setText (string $text)
Variables
mixed $_text (line 37)

- access: protected

#### Inherited Variables

Inherited from ZFormWebElement

> ZFormWebElement::$_bottomBlocks
> ZFormWebElement::$_tagName
> ZFormWebElement::$_topBlocks
> ZFormWebElement::$_wrapExisting

Inherited from ZFormElement

> ZFormElement::$_attributes
> ZFormElement::$_behaviors
> ZFormElement::$_childNodes
> ZFormElement::$_eatEvents
> ZFormElement::$_errors
> ZFormElement::$_eventListeners
> ZFormElement::$_events
> ZFormElement::$_idPath
> ZFormElement::$_parentNode
> ZFormElement::$_process
> ZFormElement::$_validators

Methods
Constructor __construct (line 49)

Class constructor.

- access: public

void __construct ([mixed $id = null], [mixed $parentNode = null], [string $text = ''])

- string $text: The text to appear in the HTML anchor

Redefinition of:

ZFormWebElement::__construct()

getMemento (line 80)

Returns the memento used to persist the state of the link, which is simply the text.

- access: public

string getMemento ()

Redefinition of:

ZFormWebElement::getMemento()
  Default implementation of retriving the memento associated with the element

getText (line 115)

Property getter for the link text field

- access: public

string getText ()
renderBody (line 64)

Renders the text content of the link.

- access: public

void renderBody ([ $renderScriptBlock = false], boolean $renderScriptBlock )

- boolean $renderScriptBlock
- $renderScriptBlock

Redefinition of:

ZFormWebElement::renderBody()
  Renders the body of the element's which by default consists of

setMemento (line 92)

Retores the state of the link from its memento

- access: public

void setMemento (string $memento)

- string $memento

Redefinition of:

ZFormWebElement::setMemento()
  The bookend implementation to @see getMemento(). This function is a void

setText (line 104)

Property setter for the link text field

- access: public

void setText (string $text)

- string $text

#### Inherited Methods

Inherited From ZFormWebElement

> ZFormWebElement::__construct()
> ZFormWebElement::addScriptBlock()
> ZFormWebElement::close()
> ZFormWebElement::emitAttributes()
> ZFormWebElement::emitScriptBlocks()
> ZFormWebElement::getMemento()
> ZFormWebElement::getValue()
> ZFormWebElement::loadRequestData()
> ZFormWebElement::open()
> ZFormWebElement::render()
> ZFormWebElement::renderBody()
> ZFormWebElement::setMemento()
> ZFormWebElement::setValue()
> ZFormWebElement::setWrapExisting()
> ZFormWebElement::_applyClientBehaviors()
> ZFormWebElement::_emitClientBehaviors()
> ZFormWebElement::_emitClientValidators()
> ZFormWebElement::__get()
> ZFormWebElement::__set()

Inherited From ZFormElement

> ZFormElement::__construct()
> ZFormElement::addBehavior()
> ZFormElement::addEventListener()
> ZFormElement::addValidator()
> ZFormElement::appendChild()
> ZFormElement::fireEvent()
> ZFormElement::getAttribute()
> ZFormElement::getAttributes()
> ZFormElement::getBehaviors()
> ZFormElement::getChildNodes()
> ZFormElement::getElementById()
> ZFormElement::getErrorMessage()
> ZFormElement::getEventListeners()
> ZFormElement::getID()
> ZFormElement::getIDPath()
> ZFormElement::getIsProcessing()
> ZFormElement::getMemento()
> ZFormElement::getParentNode()
> ZFormElement::getRoot()
> ZFormElement::getValidationErrors()
> ZFormElement::getValidators()
> ZFormElement::getValue()
> ZFormElement::handleEvent()
> ZFormElement::hasChildNodes()
> ZFormElement::invokeApplication()
> ZFormElement::loadRequestData()
> ZFormElement::persist()
> ZFormElement::process()
> ZFormElement::removeChild()
> ZFormElement::removedBehavior()
> ZFormElement::removedValidator()
> ZFormElement::removeEventListener()
> ZFormElement::restoreState()
> ZFormElement::setAllowEvents()
> ZFormElement::setAttribute()
> ZFormElement::setID()
> ZFormElement::setMemento()
> ZFormElement::setParentNode()
> ZFormElement::setProcess()
> ZFormElement::setValue()
> ZFormElement::validate()
> ZFormElement::_appendToList()
> ZFormElement::_computeIDPath()
> ZFormElement::_gatherMementos()
> ZFormElement::_isLegalName()
> ZFormElement::_performValidation()
> ZFormElement::_processEvents()
> ZFormElement::_removeFromList()
> ZFormElement::_restoreMementos()

Class Constants

#### Inherited Constants

Inherited from ZFormElement

> ZFormElement::PATH_SEPARATOR

Documentation generated on Sun, 29 Oct 2006 21:28:08 -0600 by phpDocumentor 1.3.0RC6