PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of adam berger  >  Class Language  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Class Language
Translate application strings based INI files
Author: By
Last change:
Date: 1 year ago
Size: 344 bytes
 

Contents

Class file image Download
<?php
require_once('class_lang.php');
/* Okresl ktory jezyk "1" to polski "2" to angielski */
/* Specify which language "1" is the Polish "2" is an English */
       
$file="lang.ini";
       
$pl=1;
       
$en=2;
       
$lang = new class_lang($en, $file);
    echo
$lang->_lang("ZALOGUJ");
    echo
"<br>";
    echo
$lang->_lang("WYLOGUJ");

For more information send a message to info at phpclasses dot org.