Yii: Custom function calls in CGridView or TbGridView

Yii: Custom function calls in CGridView or TbGridView

Posted by on Dec 16, 2013 in Yii | 0 comments

How to call a custom model function from inside a CGridView or TbGridView widget.

The Controller:

The View:

User Model:

Post a Reply

Your email address will not be published. Required fields are marked *