Home » HTML » HTML_QuickForm » Bug #4443
Add setText() method to link element
Details
| Request #4443 | Add setText() method to link element |
|---|---|
| Submitted | 2005-05-26 16:34 UTC |
| From | ate2 at cornell dot edu |
| Status | Bogus |
| Package | HTML_QuickForm |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| 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");