noalyss Version-9
Variables
menu.inc.php File Reference

Show the table menu and let you add your own. More...

Go to the source code of this file.

Variables

if(isset($_POST['save_plugin'])) if(isset( $_POST[ 'mod_plugin'])) if(isset($_POST['create_menu'])||isset($_POST['modify_menu'])) global $cn
 if post save then we save a new one More...
 
 $gDossier =Dossier::id()
 
 $iselect =new ISelect('p_type')
 
if( $iselect->selected !='') $menu =new Menu_Ref_SQL($cn)
 
 $ord =(isset($_REQUEST['ord']))?$_REQUEST['ord']:'codea'
 
 $order =$table->get_sql_order($ord)
 
 $ret =$menu->seek($sql.$order)
 
 $sql =""
 
 $table =new Sort_Table()
 
 $url =$_SERVER['REQUEST_URI']
 
 for ( $i=0;$i< Database::num_row( $ret);$i++)
 
$iselect selected =(isset($_REQUEST['p_type']))?$_REQUEST['p_type']:''
 
$iselect value
 

Detailed Description

Show the table menu and let you add your own.

Definition in file menu.inc.php.

Variable Documentation

◆ $cn

if(isset( $_POST[ 'save_plugin'])) if(isset($_POST['mod_plugin'])) if (isset( $_POST[ 'create_menu'])||isset( $_POST[ 'modify_menu'])) global $cn

if post save then we save a new one

if post update then we update if post save then we save a new one

Definition at line 101 of file menu.inc.php.

◆ $gDossier

$gDossier =Dossier::id()

Definition at line 147 of file menu.inc.php.

◆ $iselect

$iselect =new ISelect('p_type')

Definition at line 121 of file menu.inc.php.

Referenced by Exercice\select(), and Exercice\select_date().

◆ $menu

if ($iselect->selected !='') $menu =new Menu_Ref_SQL($cn)

Definition at line 135 of file menu.inc.php.

◆ $ord

$ord =(isset($_REQUEST['ord']))?$_REQUEST['ord']:'codea'

Definition at line 115 of file menu.inc.php.

Referenced by Acc_Ledger_Search\list_operation(), and Follow_Up\myList().

◆ $order

$order =$table->get_sql_order($ord)

Definition at line 117 of file menu.inc.php.

◆ $ret

$ret =$menu->seek($sql.$order)

Definition at line 136 of file menu.inc.php.

◆ $sql

$sql =""

Definition at line 130 of file menu.inc.php.

◆ $table

$table =new Sort_Table()

◆ $url

$url =$_SERVER['REQUEST_URI']

Definition at line 104 of file menu.inc.php.

◆ for

for($i=0; $i< Database::num_row($ret); $i++) ( )

Definition at line 163 of file menu.inc.php.

◆ selected

$iselect selected =(isset($_REQUEST['p_type']))?$_REQUEST['p_type']:''

Definition at line 129 of file menu.inc.php.

◆ value

$iselect value
Initial value:
=array(
array("value"=>'',"label"=>_("Tout")),
array("value"=>'ME',"label"=>_("Menu")),
array("value"=>'PR',"label"=>_("Impression")),
array("value"=>'PL',"label"=>_("Extension / Plugin")),
array("value"=>'SP',"label"=>_("Valeurs spéciales"))
)

Definition at line 122 of file menu.inc.php.