URL Helper

URL Helper

The URL Helper file contains functions that assist in working with URLs.

Loading this Helper

This helper is loaded using the following code:

$this->load->helper('url');

Available Functions

The following functions are available:

site_url([$uri = ''[, $protocol = NULL]])
Parameters:
  • $uri (string<