openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

ProfileLanguageAction.class.php (394B)


      1 <?php
      2 namespace cms\action\profile;
      3 use cms\action\Method;
      4 use cms\action\ProfileAction;
      5 use cms\base\Configuration;
      6 
      7 class ProfileLanguageAction extends ProfileAction implements Method {
      8 
      9     public function view() {
     10 
     11     	$this->setTemplateVar('language',Configuration::Conf()->get('language') );
     12     }
     13     public function post() {
     14     }
     15 
     16 	public function checkAccess() {
     17 		return true;
     18 	}
     19 }