setLang method

setLang set language value, this method used only with getLang method.

Basic Usage

The basic usage for setLang method.

setLang(string $language_codename): controllerObject


setLang method has 1 required parameter.


The language codename value, like en-US, en-DE, etc.

Example Usage

Here is the full example of setLang method.

class Blog extends SENE_Controller {
  public function __construct(){
  public function index(){