Hi all,
I have a field in my db table by name foo_bar
and in my model, I try to set/get it as follow:
public function setFooBar($value)
{
$this->foo_bar = $value
}
public function getFooBar()
{
return 'foo_bar value gets';
}
but when I try to get foo_bar value in controller $model->foo_bar
the getter method does not calls anymore!
In source I see there is logic to do that.
What is wrong here?
Thanks.