PHP Classes

lightweight MVC Lang: Retrieve application texts from MySQL database

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 41%Total: 516 All time: 5,732 This week: 455Up
Version License PHP version Categories
lightweightlang 1.2GNU General Publi...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
  Performance   Level  
Name: Martin Barker <contact>
Classes: 14 packages by
Country: United Kingdom
Age: 35
All time rank: 29414 in United Kingdom
Week rank: 214 Up13 in United Kingdom Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (3)  
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 (3)  /  models  
File Role Description
Files folder imagesite (1 file)

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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
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:516
This week:0
All time:5,732
This week:455Up
 User Ratings  
 
 All time
Utility:60%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:3718