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

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

Defaults to false because PHP variable cleanup is affected if this is true. When unsetting a variable that is listening to global events, {@link unlisten} must explicitly be called when cleaning variables allocation or else the global event registry will contain references to the old object. This is true for PHP 5.4 Override this method by a subclass to change the setting. When set to true, this will enable {@link __construct} to call {@link listen}.
public getAutoGlobalListen ( ) : boolean
Результат boolean whether or not to auto listen to global events during {@link __construct}, default false
    public function getAutoGlobalListen()
    {
        return false;
    }