HTML_QuickForm_link::setHref()

HTML_QuickForm_link::setHref() – Sets the links href

Synopsis

require_once 'HTML/QuickForm/link.php';

void HTML_QuickForm_link::setHref ( string $href )

Description

This is just a shortcut for

<?php
$element
->updateAttributes(array('href' => $href));
?>

Parameter

string $href

Throws

throws

Note

since 1.0

This function can not be called statically.

Class constructor (Previous) HTML class for static data (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.