gyro/core/lib/helpers/data/tld.lst.php File Reference
Go to the source code of this file.
Functions |
|
_url_sort_tld ($a, $b) | |
This fucntion is used to sort the tld array.
|
|
get_tlds () | |
Returns an array of (semi) top level domains
inuse (.co.uk is a semi TLD). |
Function Documentation
_url_sort_tld | ( | $ | a, | |
$ | b | |||
) |
This fucntion is used to sort the tld array.
If you have any changes, call this function with usort, and store the result in the above function
Definition at line 1487 of file tld.lst.php.
01487 { 01488 $la = String::length($a); 01489 $lb = String::length($b); 01490 if ($la == $lb) { 01491 return 0; 01492 } 01493 return ($la > $lb) ? -1 : 1; 01494 }