PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #4443

Add setText() method to link element

Details

Request #4443Add setText() method to link element
Submitted2005-05-26 16:34 UTC
Fromate2 at cornell dot edu
StatusBogus
PackageHTML_QuickForm
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-05-26 16:34 UTC] ate2 at cornell dot edu

Description:
------------
It would be useful to change the text of "link" anchor elements after instantiation. Currently this is possible by simply changing the private $_text property but this property should not be accessed directly because it is private.

// Currently using:
$linkElement->_text = "New text";

// Would like to use:
$linkElement->setText("New text");