Esempio n. 1
0
 /**
  * @param Request $request
  * @param $name
  * @param $label
  * @param $className
  * @throws \Sygmaa\Grids\Exceptions\FieldLabelMustBeStringException
  * @throws \Sygmaa\Grids\Exceptions\FieldNameMustBeStringException
  */
 public function __construct(Request $request, $name, $label, $modelName)
 {
     parent::__construct($request, $name, $label);
     $explode = explode('.', $name);
     $this->relation = $explode[0];
     $this->name = $explode[1];
     $this->modelName = $modelName;
 }
Esempio n. 2
0
 public function __construct(Request $request, $name, $label, $callback)
 {
     parent::__construct($request, $name, $label);
     $this->callback = $callback;
 }
Esempio n. 3
0
 public function __construct(Request $request, $name, $label)
 {
     parent::__construct($request, $name, $label);
 }
Esempio n. 4
0
 public function __construct(Request $request, $name, $label, $formatting)
 {
     parent::__construct($request, $name, $label);
     $this->formatting = $formatting;
 }