File: example.php

Recommend this page to a friend!
  Classes of adam berger  >  Class Language  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: Class Language
Translate application strings based INI files
Author: By
Last change: php
Date: 5 years ago
Size: 340 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.