Im wondering if someone could give me some help.
I'm very new to the Yii framework and im taking over some code for a friend.
Would someone be kind enough to tell me what the following lines do.
$variable = new ModuleModel('search');
$another->columns = $variable->search()->data;
I've never seen something passed when creating a new model instance and im not sure what the 'data' call does.
Any help would be greatly appreciated.
Cheers,
No comments:
Post a Comment