Exemple #1
0
 /**
  * Constructor
  * 
  * @param string $title
  * @param string|array $path
  * @param string $column
  * @param array $columns
  * @param bool $hidden
  * @param int $width
  */
 public function __construct($title, $path, $column = null, $columns = null, $isSortable = true, $isHidden = false, $width = 200, $extraOptions = [], $isEditable = true, $fieldKey = null)
 {
     parent::__construct($title, $column, [], $isSortable, $isHidden, $width, $isEditable, $fieldKey);
     $this->_path = $path;
     $this->_column = $column;
     $this->_columns = $columns;
     $this->_extraOptions = $extraOptions;
 }
Exemple #2
0
 /**
  * Constructor
  *
  * @param string $title
  * @param string $name
  * @param array $options
  * @param bool $isSortable
  * @param bool $isHidden
  * @param int $width
  * @param string $fieldKey
  */
 public function __construct($title, $name = null, array $options = [], $isSortable = true, $isHidden = false, $width = 200, $isEditable = true, $fieldKey = null)
 {
     parent::__construct($title, $name, $options, $isSortable, $isHidden, $width, $isEditable, $fieldKey);
 }