diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
commit | ff845f94cc8876bc6c23c2f55b695bc569038512 (patch) | |
tree | 758d7880dabce6b0c89eb79bc11a60699c52b2fb /user_guide/libraries/pagination.html | |
parent | 85f66ea6d2291c77a937305457592e24c85425ae (diff) |
changed your-site.com to example.com doc-wide
Diffstat (limited to 'user_guide/libraries/pagination.html')
-rw-r--r-- | user_guide/libraries/pagination.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html index 65529be43..a631aa462 100644 --- a/user_guide/libraries/pagination.html +++ b/user_guide/libraries/pagination.html @@ -70,7 +70,7 @@ Pagination Class <code>
$this->load->library('pagination');<br /><br />
-$config['base_url'] = 'http://www.your-site.com/index.php/test/page/';<br />
+$config['base_url'] = 'http://example.com/index.php/test/page/';<br />
$config['total_rows'] = '200';<br />
$config['per_page'] = '20';
<br /><br />
@@ -121,9 +121,9 @@ something different you can specify it.</p> will place two digits on either side, as in the example links at the very top of this page.</p>
<h4>$config['page_query_string'] = TRUE</h4>
<p>By default, the pagination library assume you are using <a href="../general/urls.html">URI Segments</a>, and constructs your links something like</p>
-<p><code>http://www.your-site.com/index.php/test/page/20</code></p>
+<p><code>http://example.com/index.php/test/page/20</code></p>
<p>If you have $config['enable_query_strings'] set to TRUE your links will automatically be re-written using Query Strings. This option can also be explictly set. Using $config['page_query_string'] set to TRUE, the pagination link will become.</p>
-<p><code>http://www.your-site.com/index.php?c=test&m=page&per_page=20</code></p>
+<p><code>http://example.com/index.php?c=test&m=page&per_page=20</code></p>
<p>Note that "per_page" is the default query string passed, however can be configured using $config['query_string_segment'] = 'your_string'</p>
<h2>Adding Enclosing Markup</h2>
|