PHP Classes

File: core/libraries/language.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq  >  PHP Language Selector class  >  core/libraries/language.php  >  Download  
File: core/libraries/language.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Language Selector class
Get texts for the current language from globals
Author: By
Last change: Apply fixes from StyleCI
Date: 4 years ago
Size: 194 bytes
 

Contents

Class file image Download
<?php
/**
 * print language string.
 *
 * @param (string) $key key of language
 *
 * @return string
 */
function printl($key)
{
   
$lang = new Language();

    return
$lang->LangPrint($key);
}