Welcome Guest, Not a member yet? Register   Sign In
Page library
#9

[eluser]anthrotech[/eluser]
What is the difference of this approach versus putting vars in a language file?

I've put all my metadata variables in a custom language file and called the objects via:

$this->lang->line('some_var')

<?=$this->lang->line('some_var')?>

in my header.php file

Just curious...I am sure it's "Six One Way, Half a Dozen Another" type of thing. But I've only begun using CI, so I am curious to find out "best practices."


Messages In This Thread
Page library - by El Forum - 07-19-2007, 02:57 AM
Page library - by El Forum - 07-19-2007, 03:00 AM
Page library - by El Forum - 12-10-2007, 02:50 PM
Page library - by El Forum - 12-10-2007, 03:06 PM
Page library - by El Forum - 12-10-2007, 03:34 PM
Page library - by El Forum - 12-10-2007, 03:55 PM
Page library - by El Forum - 12-10-2007, 04:54 PM
Page library - by El Forum - 12-10-2007, 07:10 PM
Page library - by El Forum - 12-13-2007, 08:24 AM
Page library - by El Forum - 12-13-2007, 08:38 AM
Page library - by El Forum - 04-20-2011, 08:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB