12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- class HookUpdateUser extends HookEvent implements HookUpdateUserEventInterface
- {
-
- public function __construct()
- {
- parent::__construct('HookUpdateUser');
- }
-
- public function notifyUpdateUser($type)
- {
- $this->eventData['type'] = $type;
-
- foreach ($this->observers as $observer) {
- $observer->hookUpdateUser($this);
- }
- return 1;
- }
- }
|