File: D:/HostingSpaces/SBogers10/ilysium.komma.pro/wwwroot/config/lang/language.class.php
<?php
/*
* en.php
* Created by Komma Mediadesign.
* Author: mike
* Date: 3/21/13
*/
class Language
{
/*
* @property array lang
*/
protected $lang = array();
/*
* Converter / LinkBuilder
* Keys have to be the same as the name of the controller/method
*/
protected $urls = array();
/*
* Pages
*/
protected $mainPages = array();
protected $subPages = array();
protected $pages = array();
/*
* Constructor
*/
public function __construct(){}
/*
* Get
* @return array
*/
public function get($what = 'data')
{
if($what == 'data')
{
return $this->lang;
}
else if($what == 'url')
{
return $this->urls;
}
else if($what == 'pages')
{
return $this->pages;
}
return false;
}
}