noalyss Version-9
Variables
direct.php File Reference

used by the autocomplete feature of the Direct Access More...

Go to the source code of this file.

Variables

 $cn =Dossier::connect()
 
global $g_user =new Noalyss_user($cn)
 
 $http =new \HttpInput()
 
 $nb =Database::num_row($res)
 
 $res =$cn->exec_sql("select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $2 order by code limit 5 ",array($g_user->get_profile(),$http->post("acs")))
 
 for ( $i=0; $i< $nb; $i++)
 

Detailed Description

used by the autocomplete feature of the Direct Access

Definition in file direct.php.

Variable Documentation

◆ $cn

Definition at line 30 of file direct.php.

◆ $g_user

$g_user =new Noalyss_user($cn)

Definition at line 31 of file direct.php.

◆ $http

$http =new \HttpInput()

Definition at line 32 of file direct.php.

◆ $nb

Definition at line 37 of file direct.php.

◆ $res

$res =$cn->exec_sql("select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $2 order by code limit 5 ",array($g_user->get_profile(),$http->post("acs")))

Definition at line 36 of file direct.php.

◆ for

for($i=0;$i< $nb;$i++) ( )

Definition at line 40 of file direct.php.