• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$this->config in model breaks Output.php

#3
[eluser]Crafter[/eluser]
It could, Derek, but I'm running PHP 5.1.2 , and the docs say the reserved word limitations apply to PHP 4.

It seems like the the documentation is misplaced, as it is listed under the controllers section. I'm experiencing this on a model.

It's definitely a scope issue, and typically because my Model inherits from the CI Model.

I've worked around this ny mapping my db field (config) to a copy variable.

Perhaps a recommendation is to prefix reserved words with 'ci_'.


Messages In This Thread
$this->config in model breaks Output.php - by El Forum - 09-30-2007, 06:23 PM
$this->config in model breaks Output.php - by El Forum - 09-30-2007, 07:33 PM
$this->config in model breaks Output.php - by El Forum - 09-30-2007, 07:45 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.