Helper functions for outputting HTML elements.
This is the code documentation for the SproutCMS project
Search documentation |
class HtmlHelper functions for outputting HTML elements.
Variables
Functions
public anchorstring Html::anchor ( string $uri [, string $title [, array $attributes [, string $protocol [, boolean $escape_title ]]]] ); Create HTML link anchors. public attributesstring Html::attributes ( string|array $attrs ); Compiles an array of HTML attributes into an attribute string. public emailstring Html::email ( string $email ); Generates an obfuscated version of an email address. public imagestring Html::image ( [ string $src [, string|array $alt [, boolean $index ]]] ); Creates a image link. public linkstring Html::link ( string|array $href , string|array $rel , string|array $type [, string $suffix [, string|array $media [, boolean $index ]]] ); Creates a link tag. public mailtostring Html::mailto ( string $email [, string $title [, array $attributes ]] ); Creates an email anchor. public scriptstring Html::script ( string|array $script [, boolean $index ] ); Creates a script link. |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |