Changeset 468 for trunk/lib/Google_API.inc.php
- Timestamp:
- Feb 20, 2014 3:03:59 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/eli_branch merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/lib/Google_API.inc.php
r396 r468 53 53 * @access private 54 54 */ 55 var$_licenseKey = '';55 private $_licenseKey = ''; 56 56 57 57 /** … … 59 59 * @access private 60 60 */ 61 var$_soapClient = NULL;61 private $_soapClient = NULL; 62 62 63 63 /** … … 67 67 * @access public 68 68 */ 69 function Google_API($licenseKey)69 public function __construct($licenseKey) 70 70 { 71 71 $this->_licenseKey = $licenseKey; … … 82 82 * @access public 83 83 */ 84 function getCachedPage($url)84 public function getCachedPage($url) 85 85 { 86 86 $result = $this->_performAPICall( … … 104 104 * @access public 105 105 */ 106 function getSpellingSuggestion($phrase)106 public function getSpellingSuggestion($phrase) 107 107 { 108 108 return $this->_performAPICall( … … 122 122 * @access public 123 123 */ 124 function search($parameters = array())124 public function search($parameters = array()) 125 125 { 126 126 if (!isset($parameters['query'])) { … … 150 150 * @access private 151 151 */ 152 function _performAPICall($apiCall, $parameters)152 private function _performAPICall($apiCall, $parameters) 153 153 { 154 154 $app =& App::getInstance(); … … 167 167 } 168 168 } 169 ?>170 171
Note: See TracChangeset
for help on using the changeset viewer.