示例#1
0
 public function __get($key)
 {
     if ($key == 'tabs') {
         return $this->wire('modules')->get('LanguageSupport')->getLanguageTabs();
     }
     if ($key == 'default') {
         return $this->getDefault();
     }
     if ($key == 'support') {
         return $this->wire('modules')->get('LanguageSupport');
     }
     return parent::__get($key);
 }