/** * Get the array of the current active language (its not an AR object!) * * @return array */ public function getActiveLanguage() { if ($this->_activeLanguage === null) { $this->_activeLanguage = Lang::findActive(); } return $this->_activeLanguage; }