php usort method of class

35

private static function merchantSort($a,$b) {
       return ...// the sort
}

$array = $this->someThingThatReturnAnArray();
usort($array, array('ClassName','merchantSort'));

Comments

Submit
0 Comments