Welcome Guest, Not a member yet? Register   Sign In
Déclarer une librairie pagination privée
#4

[eluser]erik.brannstrom[/eluser]
If you only wish to store the configuration, this is copied from the user guide:

Quote:If you prefer not to set preferences using the above method, you can instead put them into a config file. Simply create a new file called pagination.php, add the $config array in that file. Then save the file in: config/pagination.php and it will be used automatically. You will NOT need to use the $this->pagination->initialize function if you save your preferences in a config file.

If you need to get down and dirty with the code, create a MY_Pagination class in your application/libraries folder and either override the needed methods or write your own class from scratch.

See http://ellislab.com/codeigniter/user-gui...aries.html for more information on creating your own libraries.


Messages In This Thread
Déclarer une librairie pagination privée - by El Forum - 05-06-2010, 02:35 AM
Déclarer une librairie pagination privée - by El Forum - 05-06-2010, 03:16 AM
Déclarer une librairie pagination privée - by El Forum - 05-06-2010, 04:25 AM
Déclarer une librairie pagination privée - by El Forum - 05-06-2010, 04:31 AM
Déclarer une librairie pagination privée - by El Forum - 05-06-2010, 05:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB