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;
    }