BORDER_NONE
BORDER_NONE = 'none'
PHPExcel_Style_Border
$_isSupervisor : bool
Supervisor?
$_parent : \PHPExcel_Style
Parent. Only used for supervisor
$_borderStyle : string
Border style
$_color : \PHPExcel_Style_Color
Border color
$_parentPropertyName : string
Parent property name
__construct(bool $isSupervisor = FALSE, bool $isConditional = FALSE) : mixed
Create a new PHPExcel_Style_Border
bool | $isSupervisor | Flag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are |
bool | $isConditional | Flag indicating if this is a conditional style or not Leave this value at default unless you understand exactly what its ramifications are |
applyFromArray(array $pStyles = null) : \PHPExcel_Style_Border
Apply styles from array
$objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->getTop()->applyFromArray(
array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
)
);
array | $pStyles | Array containing style information |
setBorderStyle(string|bool $pValue = PHPExcel_Style_Border::BORDER_NONE) : \PHPExcel_Style_Border
Set Border style
string|bool | $pValue | When passing a boolean, FALSE equates PHPExcel_Style_Border::BORDER_NONE and TRUE to PHPExcel_Style_Border::BORDER_MEDIUM |