Wordless
Stop writing themes like it's 1998.
Public Member Functions | List of all members
UrlHelper Class Reference

This module provides methods for accesing theme URL path. More...

Public Member Functions

 arg ($index=NULL)
 Returns URL arguments. More...
 
 asset_url ($path)
 Returns the URL path to the spcified folder in the assets directory. More...
 
 image_url ($path)
 Returns the URL path to the specified folder in the images directory. More...
 
 stylesheet_url ($path)
 Returns the URL path to the specified folder in the stylesheet directory. More...
 
 javascript_url ($path)
 Returns the URL path to the specified folder in the javascript directory. More...
 
 is_absolute_url ($url)
 Check if an URL is absolute or not URL are considered absolute if they begin with a protocol specification (https|https in this case) or with the double slash (//) to take advantage of the protocol relative URL (http://paulirish.com/2010/the-protocol-relative-url/) More...
 
 is_root_relative_url ($url)
 Check if an URL is root relative URL are considered root relative if they are not absolute but begin with a /. More...
 
 is_relative_url ($url)
 Check if an URL is relative URL are considered relative if they are not absolute and don't begin with a /. More...
 

Detailed Description

This module provides methods for accesing theme URL path.