Last Updated: February 20, 2016
·
1.375K
· mihan007

Useful ActiveRecord extension for Yii

Add next functionality to standart class:
- isDirty() method to check model consistence with db record;
- automatic timestamping for create/update attribute (using zii);
- convenient method for record attribute trimming for breadcrumbs;
- "Safe" updating and deleting of record using "Optimistic Locking" with ability to retry saving several times

https://github.com/boazrymland/PcBaseArModel