Jump to content

codeigniter :: instead of ->


thewooleymammoth

Recommended Posts

Im playin around with codeigniter and would be much happier if i could do something like this

$this::load:view('whatever');

instead of

$this->load->view('whatever');

 

because -> takes way longer to type then ::  but :: breaks my code.... anyone had any luck with this? does it work for other people? maybe its just me?

 

I tried searching but its too hard to find. :: is not a thing many search things like searching for.

Link to comment
https://forums.phpfreaks.com/topic/217532-codeigniter-instead-of/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.