dolibarr 18.0.6
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 418 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 434 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 450 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 477 of file modules.php.

References compareIdDesc().