File: functions.php

Recommend this page to a friend!
  Classes of Kemal GENIS  >  Fast Multi Language  >  functions.php  >  Download  
File: functions.php
Role: Auxiliary script
Content type: text/plain
Description: functions
Class: Fast Multi Language
Translate application texts using Yandex
Author: By
Last change:
Date: 3 years ago
Size: 149 bytes
 

Contents

Class file image Download
<?php
function trans($str) {
    global
$lang;
    if(isset(
$lang) and is_object($lang)) {
        return
$lang->w($str);
    }
    else {
        return
$str;
    }
}


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