protected function getClientTimeout()
    {
        $ext = $this->getServiceManager()->get(common_ext_ExtensionsManager::SERVICE_ID)->getExtensionById('tao');
        $config = $ext->getConfig('js');
        if($config !== null && isset($config['timeout'])){
            return (int)$config['timeout'];
        }
        return 30;
    }
protected function getClientTimeout()
    {
        $ext = $this->getServiceManager()->get(common_ext_ExtensionsManager::SERVICE_ID)->getExtensionById('tao');
        $config = $ext->getConfig('js');
        if($config !== null && isset($config['timeout'])){
            return (int)$config['timeout'];
        }
        return 30;
    }
protected function getClientTimeout ( ) { $ ext = $ this -> getServiceManager ( ) -> get ( common_ext_ExtensionsManager :: SERVICE_ID ) -> getExtensionById ( 'tao' ) ; $ config = $ ext -> getConfig ( 'js' ) ; if ( $ config !== null && isset ( $ config [ 'timeout' ] ) ) { return ( int ) $ config [ 'timeout' ] ; } return 30 ; }
Get the client timeout value from the config.

@return int the timeout value in seconds
@throws common_ext_ExtensionException
Get the client timeout value from the config .