Developer Area

Changeset 322 for apps

Show
Ignore:
Timestamp:
04/20/09 17:52:27 (5 years ago)
Author:
henri
Message:

Added docs on $removeDuplicates for keywords setting

Location:
apps/php/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • apps/php/trunk/sample_client.php

    r320 r322  
    6565$keywords->searchData->keyword[] = $k_name; 
    6666$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); 
    6969 
    7070// Get search data again after insert 
  • apps/php/trunk/Telhosting_Client.php

    r309 r322  
    264264         * @param string $domain 
    265265         * @param array $data 
     266   * @param bool $removeDuplicates 
    266267   * 
    267268   * 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 
    268271         */ 
    269272        function set_search_data($domain, $data, $removeDuplicates = TRUE) { 
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us