class Html (View source)

Functions to help with using HTML. Does not include form elements - those have their own helper.

\@package Helpers

Methods

css($file, $pkgHandle = null)

No description

javascript($file, $pkgHandle = null)

No description

string
noFollowHref(string $input)

Takes in a string, and adds rel="nofollow" to any a tags that contain an href attribute.

Details

css($file, $pkgHandle = null)

Parameters

$file
$pkgHandle

javascript($file, $pkgHandle = null)

Parameters

$file
$pkgHandle

string noFollowHref(string $input)

Takes in a string, and adds rel="nofollow" to any a tags that contain an href attribute.

Parameters

string $input

Return Value

string