dev-master
9999999-devPropel behavior to track and record changes in your models
MIT
The Requires
- php >=5.2.4
- propel/propel1 >=1.6.4
by Alexandre MogĂšre
behavior propel auditable
Wallogit.com
2017 © Pedro PelĂĄez
Propel behavior to track and record changes in your models
Download the AuditableBehavior.php file in src/, put it somewhere on your project, then add the following line to your propel.ini:, (*2)
``` ini propel.behavior.auditable.class = path.to.AuditableBehavior, (*3)
Or use composer adding the requirement below: ``` js { "require": { "heristop/propel-auditable-behavior": "*" } }
Add this line to your schema.xml:, (*4)
``` xml
The Behavior will add several methods to the object: ``` php public function countActivity() public function flushActivities() public function getLastActivities()
Propel behavior to track and record changes in your models
MIT
behavior propel auditable