Welcome Guest, Not a member yet? Register   Sign In
Diff between Loading language and library
#1

[eluser]saidai jagan[/eluser]
Hai,
why we are loading a libraty by,
$this->load->library('libraryname');

and a language by,
$this->lang->load('filename', 'language');

Here we are loading a class file , then why this kind of loading?.
#2

[eluser]Milos Dakic[/eluser]
Because thats how CodeIgniter does it.

They are two things that you need, and do totally different things, therefore you need two different methods to distinguish between the two. Please read the CodeIgniter User Guide thoroughly to understand how CodeIgniter works.




Theme © iAndrew 2016 - Forum software by © MyBB