Welcome To Snipplr


Everyone's Recent Snippets Tagged codeigniter



0 825 posted 14 years ago by mpiccinato
Using the bootstrap provided by http://jonathonhill.net/codeigniter/cron/
0 703 posted 14 years ago by littlebird
Esto es para obtener los codigos de paises desde geonames.org y almacenarlos en una tabla. Se iso bajo CodeIgniter.
0 1152 posted 14 years ago by jrobinsonc
Within your view, you place something like: <?=>session->flashdata('feedback') ?>
0 978 posted 14 years ago by screon
CodeIgniter Helper function to repopulate form values when a muli-dimensional post array key is used.
0 1018 posted 14 years ago by bretticus
Just save this as MY_Router.php and upload to application/core/ and now you'll be able to use us :alpha along with :num and :any in your routes to signify that you just want to match a-z.
0 1260 posted 14 years ago by Josh
0 1010 posted 14 years ago by nextneed
0 915 posted 14 years ago by nextneed
0 722 posted 14 years ago by cwicaksono
this gives you the real controller/method names, even if you reroute them.
1 1413 posted 14 years ago by aelien
2 etapas: .htaccess e config.php
0 927 posted 14 years ago by joaobarbosa
Basta mudar a linha correspondente no arquivo de configuração do CI
0 838 posted 14 years ago by joaobarbosa
1 1038 posted 14 years ago by sybrex
1 1142 posted 14 years ago by sybrex
1 995 posted 14 years ago by pictura4
2 1139 posted 14 years ago by traeregan
searching for a date sort function I found: http://slevy1.wordpress.com/2010/06/30/sorting-date-strings-in-php/ and built my codeigniter helper call : $arrSortedDates = bubbleSort( $unsorted ); (previous->helper autoload)
0 1066 posted 14 years ago by lluisr
0 1175 posted 14 years ago by traeregan
make pagination for dataview in model
2 963 posted 15 years ago by nazir
It's fun to read what I wrote ages ago. An ORM that was heavily influenced (or should I say misguided) by CakePHP, lol.
2 1165 posted 15 years ago by fredwu
run as callback from form_validation->setrules ex: $this->form_validation->set_rules('cc_number','Credit Card #','required|max_length[20]|callback_alpha_dash_space');
0 1138 posted 15 years ago by myke
Меня часто спрашивают как с помощью CodeIgniter получить доступ к $_GET параметрам. Для этого нужна всего лишь одна строчка кода в контроллере:...
1 1130 posted 15 years ago by stancox
This one controller will load views based on the URI segments returned, good for static sites that don\\\\\\\'t require a controller for every page. Requires a view \\\\\\\"404\\\\\\\" as a default when nothing is found.
0 1054 posted 15 years ago by StevenW721
The standard codeigniter pagination class doesn't allow you to use images in the pagination navigation. I altered the default pagination class a bit. Now you can add the path to the images for the previous link, next link, digit and active digit in e...
2 1491 posted 15 years ago by stevendobbelaere
I know this code isn't perfect (and there's a spot where it kind of repeats itself), but I figured I'd share anyway. NOTE: This code assumes that you are programming in CodeIgniter and you have uploaded a file and posted to a Controller which then...
2 1049 posted 15 years ago by polarbear