Prado\Util\TBehavior::detach PHP Метод

detach() публичный Метод

The default implementation will unset the {@link owner} property and detach event handlers declared in {@link events}. Make sure you call the parent implementation if you override this method.
public detach ( $owner )
    public function detach($owner)
    {
        foreach ($this->events() as $event => $handler) {
            $owner->detachEventHandler($event, array($this, $handler));
        }
        $this->_owner = null;
    }