Exemple #1
0
 public function __construct($name, $label, &$model = null, &$model_relations = null)
 {
     parent::__construct($name, $label, $model, $model_relations);
     \Event::listen('rapyd.uploaded.' . $this->name, function () {
         $this->fileProcess();
     });
 }
 public function __construct($name, $label, &$model = null, &$model_relations = null)
 {
     parent::__construct($name, $label, $model, $model_relations);
     $this->language = config('app.locale', $this->language);
     $this->format = config('rapyd.fields.datetime.format', $this->format);
     $this->store_as = config('rapyd.fields.datetime.store_as', $this->store_as);
     //dd($this->language, $this->format, $this->store_as);
 }