- Timestamp:
- 04/20/09 17:52:27 (4 years ago)
- Location:
- apps/php/trunk
- Files:
-
- 2 modified
-
sample_client.php (modified) (1 diff)
-
Telhosting_Client.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
apps/php/trunk/sample_client.php
r320 r322 65 65 $keywords->searchData->keyword[] = $k_name; 66 66 $keywords->searchData->keyword[] = $k_hobbies; 67 // And now set the kewords 68 $client->set_search_data($domain, $keywords->searchData );67 // And now set the kewords (with de-duplication) 68 $client->set_search_data($domain, $keywords->searchData, TRUE); 69 69 70 70 // Get search data again after insert -
apps/php/trunk/Telhosting_Client.php
r309 r322 264 264 * @param string $domain 265 265 * @param array $data 266 * @param bool $removeDuplicates 266 267 * 267 268 * inside $data: an array of all keywords 269 * Set $removeDuplicates to FALSE to disable removal of duplicate keywords 270 * $removeDuplicates is set to TRUE by default 268 271 */ 269 272 function set_search_data($domain, $data, $removeDuplicates = TRUE) {








