cAllDatabaseFields::fn_compare() - rstoetter/libsqlphp GitHub Wiki

Method fn_compare( )

 private  static   mixed rstoetter\libsqlphp\cAllDatabaseFields::fn_compare(\rstoetter\libsqlphp\cDatabaseField $a, \rstoetter\libsqlphp\cDatabaseField $b)

The compare function of SortEntries( )

The comparison function must return an integer less than, equal to, or greater than zero if the first argument is considered to be respectively less than, equal to, or greater than the second. Note that before PHP 7.0.0 this integer had to be in the range from -2147483648 to 2147483647.

Example:

Arguments