Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter 3.1.4 released
Post: RE: CodeIgniter 3.1.4 released

Thanks for the continuous work and dedication you guys put on CI 3.x, it's really appreciated!!
102,379 Views
37 Replies
03-23-2017, 09:04 AM
gastongr
    Thread: Custom validation rules not called when input data is a multi-dimensional array
Post: Custom validation rules not called when input data...

Hello, when using custom validation rules defined in MY_Form_validation on input fields with multi dimensional array data, the validation function is not called at all in my tests. I am sending the...
1,947 Views
0 Replies
08-01-2016, 12:05 PM
gastongr
  Exclamation Thread: Custom validation rules with array input data
Post: Custom validation rules with array input data

Hello, when using custom validation rules defined in MY_Form_validation on input fields with array data, the data is passed as a string to the validation function. PHP Code: --
1,902 Views
0 Replies
08-01-2016, 11:53 AM
gastongr
    Thread: CodeIgniter 3.1.0 Released
Post: RE: CodeIgniter 3.1.0 Released

Thanks so much for the updates and fixes!!
91,063 Views
26 Replies
07-29-2016, 08:28 PM
gastongr
    Thread: Codeigniter on PHP paas
Post: RE: Codeigniter on PHP paas

Quote: -- 2- Don't if this is practical but could you write the log to a database? -- I might have to log to a database, but since this is a multi tenant application in which each tenant has it's ...
8,097 Views
4 Replies
06-24-2016, 06:35 AM
gastongr
  Star Thread: Codeigniter on PHP paas
Post: Codeigniter on PHP paas

Hello guys, i was wondering if anyone has used Codeigniter for projects hosted on a Platform as a Service provider, like fortrabbit or platform.sh ? I am planning to use fortrabbit and there are a ...
8,097 Views
4 Replies
06-21-2016, 07:51 AM
gastongr
    Thread: Form Validation: One set of rules for all forms of same model
Post: RE: Form Validation: One set of rules for all form...

Thanks for the suggestion @skunkbad !
5,367 Views
4 Replies
12-20-2015, 01:41 PM
gastongr
    Thread: Pagination best practices
Post: Pagination best practices

Hello everyone, i am wondering if someone could share a few best practises for doing pagination with the CI library. Currently i do it like PHP Code: -- public function method() { $c...
2,337 Views
1 Replies
12-20-2015, 12:44 PM
gastongr
    Thread: Form Validation: One set of rules for all forms of same model
Post: RE: Form Validation: One set of rules for all form...

Great thanks! Your idea made me think i could do it like this: PHP Code: -- $login_rules = elements(array('username', 'password'), $this->user_model->all_rules); -- Thanks again for taking...
5,367 Views
4 Replies
12-20-2015, 11:31 AM
gastongr
    Thread: Form Validation: One set of rules for all forms of same model
Post: Form Validation: One set of rules for all forms of...

Hello everyone, I am using the CI form validation library in my controllers but i have the validation rules defined in the models. For example in my Users controller, in the edit() method i have: ...
5,367 Views
4 Replies
12-19-2015, 03:33 PM
gastongr
    Thread: get_instance return null
Post: RE: get_instance return null

Quote: -- P.S. And why do you need CI instance inside the exceptions at all ? Exceptions should not do any logical steps.. -- Mainly to translate the error message, at least in my case.
16,129 Views
9 Replies
11-27-2015, 09:58 AM
gastongr
    Thread: get_instance return null
Post: RE: get_instance return null

Your code will work when you call show_404() or show_error() from any of your controllers, but if the error is dispatched at a higher level like a real 404 this wont work since at that point no CI ins...
16,129 Views
9 Replies
11-26-2015, 11:16 AM
gastongr
  Star Thread: Custom error pages
Post: Custom error pages

Hello everyone, I have created MY_Exceptions class which extends CI_Exceptions to be able to overwrite the error methods natively called by CodeIgniter. However, when manually calling these methods I...
6,558 Views
1 Replies
10-08-2015, 10:08 PM
gastongr
    Thread: New course on RESTful APIs with CI 3.0
Post: RE: New course on RESTful APIs with CI 3.0

Just joined the course, thanks so much for giving us a coupon!
12,175 Views
5 Replies
09-03-2015, 08:53 PM
gastongr

Theme © iAndrew 2016 - Forum software by © MyBB