|
Revision 3560, 0.8 kB
(checked in by tristan, 6 years ago)
|
Initial import.
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
sfPropelBehavior::registerHooks('sfPropelNotificationPlugin', array( |
|---|
| 12 |
':save:pre' => array('sfPropelNotificationBehavior', 'preSave'), |
|---|
| 13 |
':save:post' => array('sfPropelNotificationBehavior', 'postSave'), |
|---|
| 14 |
':update:post' => array('sfPropelNotificationBehavior', 'postUpdate'), |
|---|
| 15 |
)); |
|---|
| 16 |
|
|---|
| 17 |
sfPropelBehavior::registerMethods('sfPropelNotificationPlugin', array( |
|---|
| 18 |
'wasNew' => array('sfPropelNotificationBehavior', 'wasNew'), |
|---|
| 19 |
'setWasNew' => array('sfPropelNotificationBehavior', 'setWasNew'), |
|---|
| 20 |
'getWasNew' => array('sfPropelNotificationBehavior', 'getWasNew'), |
|---|
| 21 |
)); |
|---|