CodeIgniter Forums

Full Version: I am newbie for CI, two questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

first, I have almost finish all my php web scripts under CI
but I rarely use Mode part of CI, I don't know why.

second, maybe the CI producer hope we only use
<?php echo $some_variable;?>
in a viewer file
but I found for those language/config/MY_config variables,
if I use controller to transfer them to the viewers, it is so un-effecient, so I often use like this in the viewers files:
  //lang_value is a MY_language_helper function.

somebody can tell me whether I am using the right way?