Welcome Guest, Not a member yet? Register   Sign In
how can I use CI tiny var name?
#1

[eluser]vps4[/eluser]
by default, it is
$this->load->library();
$this->vilidation();

it's too long to type them
i have no bundles like textmate.. etc..

how can i use them as:
$this->load->lib();
$this->vld();
#2

[eluser]sikkle[/eluser]
You gonna need to play within the core for that, but i don't think you save a lot of time honestly and that will make the stuff a bit harder to read.

Your call, but the core is the way to go if you want to play with that.

good luck.
#3

[eluser]Bramme[/eluser]
And I thought I was a lazy coder :o
#4

[eluser]vps4[/eluser]
may i do like this:

class XXX extends Controller {

function XXX() {
$this->vld =& $this->validation;
}
}




Theme © iAndrew 2016 - Forum software by © MyBB