For those who asked for more context... $text[type][page][key][sub_key][sub_sub_key] is a five-dimensional-array containing _all_ texts and actually the code looks like this:
class Email { private $language = false; private $text = false; ... public function __construct($type,$case,$receiver,$data) { global $text; ... $this->language = $text; $this->text = $this->language['global']; } public function sendEmail($subject = false, $message = false) { ... switch($this->type) { case 'direct': $subject = $this->language['emails']['e_'.$this->case]['subject']; $body = $this->language['emails']['e_'.$this->case]['body']; $smarty->assign('text',$this->text); ... break; ... } } ... }