Public Member Functions | Protected Attributes

BeHtmlHelper Class Reference

BeHtmlHelper class. More...

List of all members.

Public Member Functions

 __construct (array $options=array())
 link ($title, $url=null, array $options=null, $confirmMessage=false, array $mergeParams=null)
 Returns a formatted link, forcing Router to be involved in URL generation.
 url ($url=null, $full=false, array $mergeParams=null)
 Returns a URL for the given action, forcing Router to be involved.
 hyphen ($text, $lang=null, $excludeSelectors=array('.formula'), $excludeSelectorDefaults=array('pre', 'code', 'embed', 'object', 'iframe', 'img', 'svg', 'video', 'audio', 'script', 'style', 'head', 'sub', 'sup'))

Protected Attributes

 $currLang = null

Detailed Description

BeHtmlHelper class.

Extends CakePHP HtmlHelper adding some functionality

Definition at line 28 of file be_html.php.


Member Function Documentation

BeHtmlHelper::link ( title,
url = null,
array $  options = null,
confirmMessage = false,
array $  mergeParams = null 
)

Returns a formatted link, forcing Router to be involved in URL generation.

See also:
HtmlHelper::link()
Parameters:
string $title Text to be wrapped within `` tags.
mixed $url URL.
array $options Additional HTML attributes.
mixed $confirmMessage JS confirm message.
array $mergeParams Array of URL parameters to be merged to URL.
Returns:
string HTML tag ``.

Definition at line 85 of file be_html.php.

BeHtmlHelper::url ( url = null,
full = false,
array $  mergeParams = null 
)

Returns a URL for the given action, forcing Router to be involved.

See also:
Helper::url()
Parameters:
mixed $url URL.
boolean $full Full URL.
array $mergeParams Array of URL parameters to be merged to URL.
Returns:
string URL.

Definition at line 98 of file be_html.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus