PHPExcel_Style_Protection
category | PHPExcel |
---|---|
package | PHPExcel_Style |
copyright | Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) |
__clone()
inherited_from | \PHPExcel_Style_Supervisor::__clone() |
---|
__construct(boolean $isSupervisor, boolean $isConditional)
boolean
Flag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are
boolean
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) : \PHPExcel_Style_Protection
$objPHPExcel->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray(
array(
'locked' => TRUE,
'hidden' => FALSE
)
);
array
Array containing style information
\PHPExcel_Exception |
---|
bindParent(\PHPExcel $parent, $parentPropertyName) : \PHPExcel_Style_Supervisor
Only used for supervisor
inherited_from | \PHPExcel_Style_Supervisor::bindParent() |
---|
\PHPExcel
getActiveCell() : string
Only used for supervisor
inherited_from | \PHPExcel_Style_Supervisor::getActiveCell() |
---|
string
E.g. 'A1'getActiveSheet() : \PHPExcel_Worksheet
Only used for supervisor
inherited_from | \PHPExcel_Style_Supervisor::getActiveSheet() |
---|
getHashCode() : string
string
Hash codegetHidden() : string
string
getIsSupervisor() : boolean
inherited_from | \PHPExcel_Style_Supervisor::getIsSupervisor() |
---|
boolean
getLocked() : string
string
getSelectedCells() : string
Only used for supervisor
inherited_from | \PHPExcel_Style_Supervisor::getSelectedCells() |
---|
string
E.g. 'A1'getSharedComponent() : \PHPExcel_Style_Protection
getStyleArray(array $array) : array
array
array
PROTECTION_INHERIT
PROTECTION_PROTECTED
PROTECTION_UNPROTECTED