Prado\TComponent::fxDetachClassBehavior PHP Метод

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

This is the method registered for all instanced objects should a class behavior be removed after the class is instanced. Only when the class to which the behavior is being added is in this object's class hierarchy, via {@link getClassHierarchy}, is the behavior removed from this instance.
С версии: 3.2.3
public fxDetachClassBehavior ( $sender, $param )
$sender the application
$param TClassBehaviorEventParameter
    public function fxDetachClassBehavior($sender, $param)
    {
        if (in_array($param->getClass(), $this->getClassHierarchy(true))) {
            return $this->detachBehavior($param->getName(), $param->getPriority());
        }
    }