dolibarr 20.0.0
modules.php File Reference

File to list all Dolibarr modules. More...

Go to the source code of this file.

Functions

 compareIdAsc (stdClass $a, stdClass $b)
 Compare two modules by their ID for a ascending order.
 
 compareIdDesc (stdClass $a, stdClass $b)
 Compare two modules by their ID for a descending order.
 
 comparePermissionIdsAsc (stdClass $a, stdClass $b)
 Compare two modules by their ID for a ascending order.
 
 comparePermissionIdsDesc (stdClass $a, stdClass $b)
 Compare two modules by their permissions for a descending order.
 

Detailed Description

File to list all Dolibarr modules.

Definition in file modules.php.

Function Documentation

◆ compareIdAsc()

compareIdAsc ( stdClass $a,
stdClass $b )

Compare two modules by their ID for a ascending order.

Parameters
stdClass$aFirst module
stdClass$bSecond module
Returns
int Compare result (-1, 0, 1)

Definition at line 441 of file modules.php.

Referenced by comparePermissionIdsAsc().

◆ compareIdDesc()

compareIdDesc ( stdClass $a,
stdClass $b )

Compare two modules by their ID for a descending order.

Parameters
stdClass$aFirst module
stdClass$bSecond module
Returns
int Compare result (-1, 0, 1)

Definition at line 457 of file modules.php.

Referenced by comparePermissionIdsDesc().

◆ comparePermissionIdsAsc()

comparePermissionIdsAsc ( stdClass $a,
stdClass $b )

Compare two modules by their ID for a ascending order.

Parameters
stdClass$aFirst module
stdClass$bSecond module
Returns
int Compare result (-1, 0, 1)

Definition at line 473 of file modules.php.

References compareIdAsc().

◆ comparePermissionIdsDesc()

comparePermissionIdsDesc ( stdClass $a,
stdClass $b )

Compare two modules by their permissions for a descending order.

Parameters
stdClass$aFirst module
stdClass$bSecond module
Returns
int Compare result (-1, 0, 1)

Definition at line 500 of file modules.php.

References compareIdDesc().