public function PHPExcel_Worksheet_AutoFilter_Column::setFilterType in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/AutoFilter/Column.php \PHPExcel_Worksheet_AutoFilter_Column::setFilterType()
* Set AutoFilter Type * *
Parameters
string $pFilterType: * @throws PHPExcel_Exception * @return PHPExcel_Worksheet_AutoFilter_Column
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ AutoFilter/ Column.php, line 202
Class
- PHPExcel_Worksheet_AutoFilter_Column
- PHPExcel_Worksheet_AutoFilter_Column
Code
public function setFilterType($pFilterType = self::AUTOFILTER_FILTERTYPE_FILTER) {
if (!in_array($pFilterType, self::$_filterTypes)) {
throw new PHPExcel_Exception('Invalid filter type for column AutoFilter.');
}
$this->_filterType = $pFilterType;
return $this;
}