DGWebBrowser Extension
DoubleGIS company presents Yii extensions. The DGApiClient is a wrapper of sfWebBrowserPlugin.
'components' => array( ... 'webBrowser' => array( 'class' => 'application.components.DGWebBrowser.DGWebBrowser', 'adapter' => 'curl' // curl | sockets | fopen ), ... )
Yii::App()->webBrowser->get("http://api.2gis.ru"); echo Yii::App()->webBrowser->getResponseText();
For detailed description of methods and their parameters see documentation of the extension's base -- sfWebBrowserPlugin -- on http://www.symfony-project.org/plugins/sfWebBrowserPlugin/1_1_2
Support: curl, fopen and socket
Total 1 comment
There are no sfConfig class specified in component, but used in code
Leave a comment
Please login to leave your comment.