public function beforeUnlock () {
        $event = new ModelEvent;
        $event->sender = $this;
        $this->onBeforeUnlock ($event);
        return $event->isValid;
    }
public function beforeUnlock () {
        $event = new ModelEvent;
        $event->sender = $this;
        $this->onBeforeUnlock ($event);
        return $event->isValid;
    }
public function beforeUnlock ( ) { $ event = new ModelEvent ; $ event -> sender = $ this ; $ this -> onBeforeUnlock ( $ event ) ; return $ event -> isValid ; }
Invoked before the mutex is unlocked.
The default implementation raises the onBeforeUnlock event
@return boolean true if the unlock should continue
Invoked before the mutex is unlocked . The default implementation raises the onBeforeUnlock event