Welcome Guest, Not a member yet? Register   Sign In
Alias Helper Feature Request
#1

I posted this on the CI4 thread however, someone suggested this would best fit on CI3. I know the CI team follows good conventions especially when it comes to helpers, which is purposefully for views as much as possible. However, I'm lazy and created alias_helper.php that contains mostly a duplicate of CI's library's, helpers, models and such without "$this->{class}->" structure. Here are a few:

Code:
$this->load->model() is now model()
$this->load->library() is now lib()
$this->load->helper() is now helper()
$this->load->view() is now view()
$this->parser->parse() is now parse()
$this->session is now sess()
$this->form_validation is now form_validation() or fv()
$this->load->vars() is now vars(), get_var(), get_vars(), clear_vars()
$this->input->post() is now post(), get(), server(), method()
and so forth...

I've yet to contribute on the GitHub Fork. Please let me know if this is possible to integrate. This would enhance everyone's productivity and make the CI3 code in a way, fancy.  Angel
Long live CodeIgniter!
Reply
#2

No, it's not going to be integrated.
Reply
#3

(06-15-2016, 08:16 AM)Narf Wrote: No, it's not going to be integrated.

Cool. Thanks Narf.
Long live CodeIgniter!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB