-
Notifications
You must be signed in to change notification settings - Fork 34
classes_lib_controls_anchor.class
Daniel Spors edited this page Nov 11, 2020
·
3 revisions
HTML anchor element Wraped as control to allow to inherit from this class and add code for AJAX handling in that derivered classes.
Namespace: ScavixWDF\Controls
Extends: Control » Renderable
Creates an Anchor with 'href="javascript:void(0)"'.
Definition: public static function Void($label)
Returns: Anchor
Parameters:
-
mixed $label
Initial content
OVERRIDE Ensures that there's a valid href attribute, if not adds "#" to it.
Create a new HTML anchor element.
Definition: public function __initialize($href, $label, $class, $target)
Returns: void
Parameters:
-
string $href
The href attribute -
string $label
The anchor text -
string $class
The CSS class -
string $target
The target attribute