Class rcube_header_sorter

Description

Class for sorting an array of rcube_mail_header objects in a predetermined order.

  • author: Eric Stadtherr

Located in /rcube_storage.php (line 1029)


	
			
Method Summary
 void compare_uids (int $a, int $b)
 void set_index (array $index)
 void sort_headers ( &$headers, array $headers)
Methods
compare_uids (line 1062)

Sort method called by uksort()

void compare_uids (int $a, int $b)
  • int $a: Array key (UID)
  • int $b: Array key (UID)
set_index (line 1039)

Set the predetermined sort order.

void set_index (array $index)
  • array $index: Numerically indexed array of IMAP UIDs
sort_headers (line 1051)

Sort the array of header objects

void sort_headers ( &$headers, array $headers)
  • array $headers: Array of rcube_mail_header objects indexed by UID
  • &$headers

Documentation generated on Wed, 23 May 2012 16:40:53 +0200 by phpDocumentor 1.4.4