You are here

function eck_alphabetical_cmp in Entity Construction Kit (ECK) 7.3

Same name and namespace in other branches
  1. 7.2 eck.module \eck_alphabetical_cmp()

Helper function to order objects with a name in alphabetical order.

2 string references to 'eck_alphabetical_cmp'
eck__bundle__list in ./eck.bundle.inc
Page call back for the bundle overview table.
eck__entity_type__list in ./eck.entity_type.inc
Callback for the entity_type overview.

File

./eck.module, line 1075

Code

function eck_alphabetical_cmp($a, $b) {
  return strcasecmp($a->name, $b->name);
}