Login   Register  
PHP Classes
elePHPant
Icontem

File: ClassTestFile/testMSGManager.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2007-03-16 14:19
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');
?>