PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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");