Hi, is it possible to extend CModel?
PHPStorm only allows me to implement it, but not extend.
In the docs it's an abstract class, but so is CActiveRecord and I am able to extend from it.
I will use DB but not in ActiveRecord way, I need to access settings, which would be like this:
setting_name setting_value
post_per_page 2
admin_email email@e.com
What would you recommend?
Thanks!
PHPStorm only allows me to implement it, but not extend.
In the docs it's an abstract class, but so is CActiveRecord and I am able to extend from it.
I will use DB but not in ActiveRecord way, I need to access settings, which would be like this:
setting_name setting_value
post_per_page 2
admin_email email@e.com
What would you recommend?
Thanks!