SortByLname

The WordPress Core SortByLname class.

Defined (1)

The class is defined in the following location(s).

/phpunit/CFDBTransformParserTest.php  
  1. class SortByLname /** implements CFDBTransform */ { 
  2.  
  3. var $data = array(); 
  4.  
  5. public function addEntry(&$entry) { 
  6. $this->data[] = $entry; 
  7.  
  8. public function getTransformedData() { 
  9. usort($this->data, 'compareLname'); 
  10. return $this->data;