![]() |
Jeff PHP framework
0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
|
language model class More...
Inheritance diagram for language:
Collaboration diagram for language:Public Member Functions | |
| __construct ($id) | |
| Constructs a language model instance. | |
Static Public Member Functions | |
| static | get ($registry, $opts=null) |
| Get language objects. | |
| static | getFromLabel ($label) |
| Get language object from label. | |
| static | setLanguage () |
| Set the active language. | |
language model class
Model fields:
Definition at line 29 of file language.php.
| language::__construct | ( | $ | id | ) |
Constructs a language model instance.
| mixed | $id | the object id (primary key value of the record) |
Definition at line 37 of file language.php.
| static language::get | ( | $ | registry, |
| $ | opts = null |
||
| ) | [static] |
Get language objects.
| array | $opts | associative array of options:
|
Definition at line 52 of file language.php.
Here is the call graph for this function:
Here is the caller graph for this function:| static language::getFromLabel | ( | $ | label | ) | [static] |
Get language object from label.
| string | $label | language label |
Definition at line 69 of file language.php.
Here is the call graph for this function:| static language::setLanguage | ( | ) | [static] |
Set the active language.
Looks for $_GET 'lng' parameter, existing session value or sets the default language
Definition at line 87 of file language.php.
Here is the call graph for this function:
Here is the caller graph for this function: