Свойство | Type | Description | |
---|---|---|---|
$attributes | array | Hyperlink's attributes | |
$text | string | Hyperlink's text | |
$url | string | Hyperlink's URL |
Méthode | Description | |
---|---|---|
__construct ( $text, string $url, array $attributes = [] ) : void | Creates a hyperlink | |
append ( $content ) : Link | Append content at the end of hyperlink's text | |
attributes ( $arAttr = null, $value = null ) : Link | Add attributes to the hyperlink | |
get_text ( ) : string | Return hyperlink's title | |
get_url ( ) : string | Return hyperlink's URL | |
prepend ( $content ) : Link | Add content at the beginning of hyperlink's text |
public append ( $content ) : Link | ||
Résultat | Link |
public attributes ( $arAttr = null, $value = null ) : Link | ||
Résultat | Link |
public prepend ( $content ) : Link | ||
Résultat | Link |