| category | 
PHPExcel | 
| package | 
PHPExcel_Style | 
| copyright | 
Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) | 
 Methods
Implement PHP __clone to create a deep clone, not just a shallow copy.
__clone() 
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::__clone() | 
  
 
Create a new PHPExcel_Style_Protection
__construct(boolean $isSupervisor, boolean $isConditional) 
Parameters
$isSupervisor
booleanFlag indicating if this is a supervisor or not
								Leave this value at default unless you understand exactly what
									its ramifications are
 
$isConditional
booleanFlag indicating if this is a conditional style or not
								Leave this value at default unless you understand exactly what
									its ramifications are
 
  
 
Apply styles from array
applyFromArray(array $pStyles) : \PHPExcel_Style_Protection
$objPHPExcel->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray(
    array(
        'locked' => TRUE,
        'hidden' => FALSE
    )
);
 
Parameters
$pStyles
arrayArray containing style information
 
Exceptions
Returns
  
 
Bind parent.
bindParent(\PHPExcel $parent, $parentPropertyName) : \PHPExcel_Style_Supervisor
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::bindParent() | 
Parameters
$parentPropertyName
Returns
  
 
Get the currently active cell coordinate in currently active sheet.
getActiveCell() : string
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::getActiveCell() | 
Returns
stringE.g. 'A1'
  
 
Get the currently active sheet.
getActiveSheet() : \PHPExcel_Worksheet
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::getActiveSheet() | 
Returns
  
 
Get hash code
getHashCode() : string
 
Get hidden
getHidden() : string
 
Is this a supervisor or a cell style component?
getIsSupervisor() : boolean
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::getIsSupervisor() | 
Returns
boolean
  
 
Get locked
getLocked() : string
 
Get the currently active cell coordinate in currently active sheet.
getSelectedCells() : string
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::getSelectedCells() | 
Returns
stringE.g. 'A1'
  
 
Get the shared style component for the currently active cell in currently active sheet.
getSharedComponent() : \PHPExcel_Style_Protection
Only used for style supervisor
 
Returns
  
 
Build style array from subcomponents
getStyleArray(array $array) : array
Parameters
$array
array
Returns
array
  
 
 Properties
 
 
$_isSupervisor : boolean
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::$$_isSupervisor | 
  
 
 
 
$_parent : \PHPExcel_Style
Inherited
| inherited_from | 
\PHPExcel_Style_Supervisor::$$_parent | 
  
 
 Constants
 
Protection styles
PROTECTION_INHERIT 
 
 
PROTECTION_PROTECTED
PROTECTION_PROTECTED 
 
 
PROTECTION_UNPROTECTED
PROTECTION_UNPROTECTED