public function onInitConfirmation($event)
    {
        $sender = $event->sender;
        /* @var $sender static */
        if (!$sender->confirmationAttribute || empty($sender->confirmationAttribute)) {
            return;
        }
        $sender->confirmation = static::$confirmFalse;
        $sender->confirmCode = '';
    }
public function onInitConfirmation($event)
    {
        $sender = $event->sender;
        /* @var $sender static */
        if (!$sender->confirmationAttribute || empty($sender->confirmationAttribute)) {
            return;
        }
        $sender->confirmation = static::$confirmFalse;
        $sender->confirmCode = '';
    }
public function onInitConfirmation ( $ event ) { $ sender = $ event -> sender ; /* @var $sender static */ if ( ! $ sender -> confirmationAttribute || empty ( $ sender -> confirmationAttribute ) ) { return ; } $ sender -> confirmation = static :: $ confirmFalse ; $ sender -> confirmCode = '' ; }
Initialize the confirmation status.
This method is ONLY used for being triggered by event. DO NOT call,
override or modify it directly, unless you know the consequences.
@param ModelEvent $event
Initialize the confirmation status . This method is ONLY used for being triggered by event . DO NOT call override or modify it directly unless you know the consequences .