dolibarr 20.0.0
|
Lib for public access of WebPortal. More...
Go to the source code of this file.
Functions | |
getNav ($Tmenu) | |
Get nav menu. | |
getNavItem ($item, $deep=0) | |
Get nav item. | |
menuSortInv ($a, $b) | |
Sort menu uasort callback function to Sort menu fields. | |
Lib for public access of WebPortal.
Definition in file webportal.lib.php.
getNav | ( | $Tmenu | ) |
Get nav menu.
array<string,array{id:string,rank:int,url:string,name:string,group:string,override?:int<0,1>,children?:array<array{id:string,rank:int,url:string,name:string,group:string,override?:int<0,1>}>}> | $Tmenu Array of menu |
Definition at line 17 of file webportal.lib.php.
References getNavItem().
getNavItem | ( | $item, | |
$deep = 0 ) |
Get nav item.
TODO : Dropdown is actually not css implemented
array{id:string,rank:int,url:string,name:string,group:string,override?:int<0,1>,children?:array<array{id:string,rank:int,url:string,name:string,group:string,override?:int<0,1>,active?:bool,separator?:bool}>} | $item Item of menu | |
int | $deep | Level of deep |
Definition at line 36 of file webportal.lib.php.
References Context\getInstance(), and getNavItem().
Referenced by getNav(), and getNavItem().
menuSortInv | ( | $a, | |
$b ) |
Sort menu uasort callback function to Sort menu fields.
array{rank?:int} | $a PDF lines array fields configs |
array{rank?:int} | $b PDF lines array fields configs |
// Sorting uasort ( $this->cols, array( $this, 'menuSort' ) );
Definition at line 114 of file webportal.lib.php.