HTML_QuickForm_link::setHref()

HTML_QuickForm_link::setHref() – Définit le href d'un lien

Synopsis

require_once 'HTML/QuickForm/link.php';

void HTML_QuickForm_link::setHref ( string $href )

Description

Ceci est un racourci pour :

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

Parameter

string $href

Throws

No exceptions thrown.

Note

Disponible depuis la version 1.0.

This function can not be called statically.