From e334c472fb4be44feec3a73402fc4a2b062cbfc0 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 21 Oct 2006 19:44:22 +0000 Subject: --- user_guide/helpers/url_helper.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'user_guide/helpers/url_helper.html') diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html index d54acc12f..eb0fd56e1 100644 --- a/user_guide/helpers/url_helper.html +++ b/user_guide/helpers/url_helper.html @@ -12,7 +12,7 @@ @@ -78,7 +78,7 @@ URL Helper

Returns your site URL, as specified in your config file. The index.php file (or whatever you have set as your site index_page in your config file) will be added to the URL, as will any URI segments you pass to the function.

-

You are encouraged to use this function any time you need to generate a local URL so that your pages become more portable +

You are encouraged to use this function any time you need to generate a local URL so that your pages become more portable in the event your URL changes.

Segments can be optionally passed to the function as a string or an array. Here is a string example:

@@ -139,9 +139,9 @@ will be added automatically from the information specified in your config file.

anchor_popup()

-

Nearly identical to the anchor() function except that it opens the URL in a new window. +

Nearly identical to the anchor() function except that it opens the URL in a new window. -You can specify JavaScript window attributes in the third parameter to control how the window is opened. If +You can specify JavaScript window attributes in the third parameter to control how the window is opened. If the third parameter is not set it will simply open a new window with your own browser settings. Here is an example with attributes:

@@ -236,7 +236,7 @@ $url = prep_url($url); to redirect to a local URL within your site. You will not specify the full site URL, but rather simply the URI segments to the controller you want to direct to. The function will build the URL based on your config file values.

-

The second parameter allows you to choose between the "location" +

The second parameter allows you to choose between the "location" method or the "refresh" method. Location is faster, but on Windows servers it can sometimes be a problem. Example:

if ($logged_in == FALSE)
-- cgit v1.2.3-24-g4f1b