noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
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
 
 $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 102 of file menu.inc.php.

◆ $gDossier

$gDossier =Dossier::id()

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

◆ $iselect

$iselect =new ISelect('p_type')

Definition at line 122 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 136 of file menu.inc.php.

◆ $ord

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

Definition at line 116 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 118 of file menu.inc.php.

◆ $ret

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

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

◆ $sql

$sql =""

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

◆ $table

◆ $url

$url =$_SERVER['REQUEST_URI']

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

◆ for

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

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

◆ selected

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

Definition at line 130 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"))
)
_("actif, passif,charge,...")

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