Beispiel #1
0
 public function onRun()
 {
     $attributes = array_except($this->getProperties(), ['lang']);
     array_walk($attributes, function (&$value, $key) {
         switch ($value) {
             case '1':
                 $value = 'true';
                 break;
             case '0':
                 $value = 'false';
                 break;
             default:
                 $value = $value;
                 break;
         }
     });
     $this->attributes = HTML::attributes($attributes);
     $this->lang = $this->property('lang');
     $this->appId = Settings::get('app_id');
 }
 public function onRun()
 {
     $this->appId = Settings::get('app_id');
 }
 public function onRun()
 {
     $this->lang = $this->property('lang');
     $this->appId = Settings::get('app_id');
 }