Login   Register  
PHP Classes
elePHPant
Icontem

lightweight MVC Lang: Retrieve application texts from MySQL database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-03 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 455 This week: 1All time: 5,557 This week: 1,547Up
Version License PHP version Categories  
lightweightlang 1.2GNU General Public Lice...5.2Localization, PHP 5, Databases, Libra...
Description Author  

This class can be used to retrieve localization texts from MySQL database.

It extends the base model class of the Lightweight MVC framework to retrieve text translations for any supported idiom.

If the specified text is not available for the given idiom is not available, it defaults to English.

The application idiom can be stored in cookies.

Picture of martin barker
Name: martin barker <contact>
Classes: 12 packages by
Country: United Kingdom United Kingdom
Age: 25
All time rank: 32215 in United Kingdom United Kingdom
Week rank: 150 Up5 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagemodels (1 directory)
Files folder imageviews (1 file)
Accessible without login Plain text file lang.sql Data Example Database for lang

  Files folder image Files  /  models  
File Role Description
Files folder imagesite (1 file)

  Files folder image Files  /  models  /  site  
File Role Description
  Plain text file lang.php Class The main object for Lightweight

  Files folder image Files  /  views  
File Role Description
  Accessible without login Plain text file index.phtml Example example of use

Downloadlightweightlang-2011-02-03.zip 1KB
Downloadlightweightlang-2011-02-03.tar.gz 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
lightweight MVC Download .zip .tar.gz Object is built to use Required
 Version Control Unique User Downloads Download Rankings  
 0%Total:455All time:5,557
 This week:1This week:1,547Up