noalyss Version-9
Variables
ajax_get_menu_detail.php File Reference

get detail of a menu More...

Go to the source code of this file.

Variables

 $a_value =$cn->make_array("select me_code,me_code||' '||me_menu||' '||coalesce(me_description,'') from menu_ref",0)
 
 $array
 
 $me_code =new ISelect('me_code')
 
 $p_order =new Inum('p_order',$array[0]['p_order'])
 
 $pm_default =new ICheckBox('pm_default','1')
 
 $profile =$cn->get_value("select p_id from profile_menu where pm_id=$1",array($pm_id))
 
 if (empty( $array))
 
$me_code selected =$array[0]['me_code']
 
$me_code value =$a_value
 

Detailed Description

get detail of a menu

Definition in file ajax_get_menu_detail.php.

Variable Documentation

◆ $a_value

$a_value =$cn->make_array("select me_code,me_code||' '||me_menu||' '||coalesce(me_description,'') from menu_ref",0)

Definition at line 31 of file ajax_get_menu_detail.php.

◆ $array

$array
Initial value:
=$cn->get_array("select p_id,pm_id,me_code,me_code_dep,p_order,p_type_display,pm_default
from profile_menu
where pm_id=$1",array($pm_id))

Definition at line 33 of file ajax_get_menu_detail.php.

◆ $me_code

$me_code =new ISelect('me_code')

◆ $p_order

$p_order =new Inum('p_order',$array[0]['p_order'])

◆ $pm_default

$pm_default =new ICheckBox('pm_default','1')

Definition at line 49 of file ajax_get_menu_detail.php.

◆ $profile

$profile =$cn->get_value("select p_id from profile_menu where pm_id=$1",array($pm_id))

Definition at line 30 of file ajax_get_menu_detail.php.

◆ if

if(empty($array)) ( empty( $array)  )

Definition at line 36 of file ajax_get_menu_detail.php.

◆ selected

$me_code selected =$array[0]['me_code']

Definition at line 46 of file ajax_get_menu_detail.php.

◆ value

$me_code value =$a_value

Definition at line 45 of file ajax_get_menu_detail.php.