Ejemplo 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;
 }
Ejemplo n.º 2
0
 public function __construct(Request $request, $name, $label, $callback)
 {
     parent::__construct($request, $name, $label);
     $this->callback = $callback;
 }
Ejemplo n.º 3
0
 public function __construct(Request $request, $name, $label)
 {
     parent::__construct($request, $name, $label);
 }
Ejemplo n.º 4
0
 public function __construct(Request $request, $name, $label, $formatting)
 {
     parent::__construct($request, $name, $label);
     $this->formatting = $formatting;
 }