Changeset 1995
- Timestamp:
- 06/22/10 15:11:15 (3 years ago)
- File:
-
- 1 edited
-
branches/1.4/libs/SystemInfo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/libs/SystemInfo.php
r1892 r1995 119 119 120 120 121 /** 122 * 123 * @param <type> $search 124 */ 125 public function pluginSearch($h, $search) 126 { 127 $query_vals = array( 128 'api_key' => '', 129 'format' => 'json', 130 'method' => 'hotaru.plugin.search', 131 'args' => $search 132 ); 133 134 $plugins = $this->sendApiRequest($h, $query_vals, 'http://hotaruplugins.com/index.php?page=api'); 135 136 return $plugins; 137 } 138 139 /** 140 * 141 */ 142 public function pluginTagCloud($h, $number = 20) 143 { 144 $query_vals = array( 145 'api_key' => '', 146 'format' => 'json', 147 'method' => 'hotaru.plugin.tagcloud', 148 'args' => $number 149 ); 150 151 $result = $this->sendApiRequest($h, $query_vals, 'http://hotaruplugins.com/index.php?page=api'); 152 153 return $result; 154 } 155 156 157 /** 158 * 159 * @param <type> $query_vals 160 * @param <type> $url 161 * @return <type> 162 */ 121 163 public function sendApiRequest($h, $query_vals, $url) 122 164 {
Note: See TracChangeset
for help on using the changeset viewer.