Welcome Guest, Not a member yet? Register   Sign In
Questions about CI
#3

[eluser]Michael Wales[/eluser]
1. You won't need two separate applications - just do some reading on controllers. Some of your controllers will be for simply pulling data and sending it to your views, while others will be secured and will allow you to insert/update records.

2. I'm not sure what you mean by this... a selected number? Are you only wanting a certain number of results returned (for example, 10 blog entries)? If you use the Active Record class, it would be similar to this:
Code:
$this->db->get('entries', 10, 0);

3. Pagination is used to modify parameter of your SQL queries. In the above example (answer #2) I used a SQL query generated by the Active Record class, with an offset of 0 (start at the first record based on however you decide to order the results). The Pagination class makes it easy to modify this offset, therefore cycling forward or backward through results.

4. The Language class provides functionality for localization, and is now configurable via autload as of CI 1.5.4 (ChangeLog).


Messages In This Thread
Questions about CI - by El Forum - 07-30-2007, 06:48 AM
Questions about CI - by El Forum - 07-30-2007, 04:16 PM
Questions about CI - by El Forum - 07-30-2007, 04:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB