public function __construct($name, $page) { parent::__construct($name); $this->page = $page; }
/** * @param Dataset $dataset * @param string $name * @param string $idField * @param string $valueField */ public function __construct(Dataset $dataset, $name, $idField, $valueField) { parent::__construct($name); $this->dataset = $dataset; $this->idField = $idField; $this->valueField = $valueField; }
public function __construct($name, Dataset $dataset, $idFieldName, $captionFieldName, $parentIdFieldName, SuperGlobals $globals) { parent::__construct($name); $this->dataset = $dataset; $this->idFieldName = $idFieldName; $this->captionFieldName = $captionFieldName; $this->parentIdFieldName = $parentIdFieldName; $this->globals = $globals; }
/** * @param string $name * @param Grid $grid */ public function __construct($name, Grid $grid) { parent::__construct($name); $this->grid = $grid; }
public function __construct($name, Dataset $dataset, $idFieldName, $captionFieldName, $parentIdFieldName, ArrayWrapper $arrayWrapper) { parent::__construct($name); $this->dataset = $dataset; $this->idFieldName = $idFieldName; $this->captionFieldName = $captionFieldName; $this->parentIdFieldName = $parentIdFieldName; $this->arrayWrapper = $arrayWrapper; }