noalyss Version-9
Variables
ajax_test.php File Reference

this file let you debug and test the different functionnalities, there are 2 important things to do It is only a quick and dirty testing. You should use a tool as PHPUNIT for the unit testing More...

Go to the source code of this file.

Variables

global $cn =Dossier::connect()
 
global $g_failed
 
 $g_parameter =new Noalyss_Parameter_Folder($cn)
 
global $g_succeed
 
global $g_user =new Noalyss_user($cn)
 
 $gDossier =$http->request('gDossier', "number",-1)
 
if($gDossier==-1) $gDossierLogInput =$gDossier
 
 $http =new HttpInput()
 
 $w =$http->request("TestAjaxFile")
 
const AJAX_TEST 1
 
const ALLOWED (!file_exists('authorized_debug')) 1
 

Detailed Description

this file let you debug and test the different functionnalities, there are 2 important things to do It is only a quick and dirty testing. You should use a tool as PHPUNIT for the unit testing

Definition in file ajax_test.php.

Variable Documentation

◆ $cn

Definition at line 48 of file ajax_test.php.

◆ $g_failed

global $g_failed

Definition at line 48 of file ajax_test.php.

◆ $g_parameter

$g_parameter =new Noalyss_Parameter_Folder($cn)

Definition at line 51 of file ajax_test.php.

◆ $g_succeed

global $g_succeed

Definition at line 48 of file ajax_test.php.

◆ $g_user

$g_user =new Noalyss_user($cn)

Definition at line 48 of file ajax_test.php.

◆ $gDossier

$gDossier =$http->request('gDossier', "number",-1)

Definition at line 41 of file ajax_test.php.

◆ $gDossierLogInput

if ( $gDossier==-1) $gDossierLogInput =$gDossier

◆ $http

$http =new HttpInput()

Definition at line 40 of file ajax_test.php.

◆ $w

$w =$http->request("TestAjaxFile")

Definition at line 63 of file ajax_test.php.

◆ AJAX_TEST

const AJAX_TEST 1

Definition at line 61 of file ajax_test.php.

◆ ALLOWED

const ALLOWED(!file_exists( 'authorized_debug')) ( file_exists 'authorized_debug') 1

Definition at line 60 of file ajax_test.php.