noalyss Version-9
Variables
profile_menu_display_submenu.php File Reference

display a submenu contained in a array More...

Go to the source code of this file.

Variables

 $a_module [$i]['p_order']
 
 $nb_module =count($a_module)
 
for($i=0;$i< $nb_module ; $i++)( $a_module[$i]['me_file'] !="") else if($a_module[ $i][ 'me_url'] !="") else if($a_module[$i]['me_javascript'] !="") else
 
$a_module[ $i][ 'pm_default'] endfor ==1)?_('Oui'):_('Non')
 

Detailed Description

display a submenu contained in a array

Parameters
$a_modulecontains rows from profile_menu
$p_module_idis the module / menu id main menu
See also
Profile_Menu::display_module_menu

Definition in file profile_menu_display_submenu.php.

Variable Documentation

◆ $a_module

$a_module[ $i][ 'p_order']

◆ $nb_module

$nb_module =count($a_module)

Definition at line 32 of file profile_menu_display_submenu.php.

◆ else

for( $i=0; $i< $nb_module ;$i++)($a_module[ $i][ 'me_file'] !="") else if( $a_module[$i]['me_url'] !="") else if ( $a_module[ $i][ 'me_javascript'] !="") else
Initial value:
{
$url = HtmlInput::anchor("sous-menu", "x",
sprintf(" onclick = \" display_sub_menu(%d,%d,%d,%d)\"",Dossier::id(),$this->p_id,$a_module[$i]['pm_id'],$p_level),
' class="line" ')
$p_level
$url
$profile p_id
static id()
return the 'gDossier' value after a check
static anchor($p_text, $p_url="", $p_js="", $p_style=' class="line" ', $p_title="click", array $p_attribute=[])
Return a simple anchor with a url or a javascript if $p_js is not null then p_url will be javascript:...
$a_module[$i]['p_order']

Definition at line 43 of file profile_menu_display_submenu.php.

◆ endfor

$a_module [$i]['pm_default'] endfor ==1)?_('Oui'):_('Non')

Definition at line 71 of file profile_menu_display_submenu.php.