PHP Classes

File: ClassTestFile/testMSGManager.php

Recommend this page to a friend!
  Classes of Guerrieri Luca   PXAServer   ClassTestFile/testMSGManager.php   Download  
File: ClassTestFile/testMSGManager.php
Role: Example script
Content type: text/plain
Description: Test for Message Manager class
Class: PXAServer
Library to build applications configured with XML
Author: By
Last change:
Date: 17 years ago
Size: 389 bytes
 

Contents

Class file image Download
<?php
/*
 *File per testare la classe MSGManager
 */
 
require ('../libreria/global.inc.php');
 
$msg = new MSGManager;
 
// visualizza il messaggio di errore in ITALIANO
 // elencato in libmsgerror.inc.php $db_error_db_type
 
echo $msg -> print_msg('db_error_db_type');
 
// imposta la lingua INGLESE
 
$msg -> set_language('EN');
 echo
$msg -> print_msg('db_error_db_type');
?>