You are here

function skinr_ui_sort_by_title in Skinr 7.2

Sort skin infos by title.

Parameters

$a: The first skin info to compare.

$b: The second skin info to compare.

Return value

Returns < 0 if $a is less than $b; > 0 if $a is greater than $b, and 0 if they are equal.

1 string reference to 'skinr_ui_sort_by_title'
skinr_ui_admin_library_form in ./skinr_ui.admin.inc
Menu callback: skins administration.

File

./skinr_ui.admin.inc, line 792
Admin page callbacks for the Skinr UI module.

Code

function skinr_ui_sort_by_title($a, $b) {
  return strcasecmp($a['title'], $b['title']);
}