You are here

public function PHPExcel_Style_Borders::getAllBorders in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Borders.php \PHPExcel_Style_Borders::getAllBorders()

Get AllBorders (pseudo-border). Only applies to supervisor.

Return value

PHPExcel_Style_Border

Throws

PHPExcel_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Borders.php, line 314

Class

PHPExcel_Style_Borders
PHPExcel_Style_Borders

Code

public function getAllBorders() {
  if (!$this->_isSupervisor) {
    throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.');
  }
  return $this->_allBorders;
}