123456789101112131415161718192021222324252627282930313233 |
- <?php
- class HookCreateUser extends HookEvent implements HookCreateUserEventInterface
- {
-
- protected function __construct()
- {
- parent::__construct('HookCreateUser');
- }
-
- public function notifyCreateUser($type)
- {
-
- $this->eventData['type'] = $type;
- foreach ($this->observers as $observer) {
- $observer->hookCreateUser($this);
- }
- return 1;
- }
- }
|