170 return $this->_sheet ||
173 $this->_formatCells ||
174 $this->_formatColumns ||
175 $this->_formatRows ||
176 $this->_insertColumns ||
177 $this->_insertRows ||
178 $this->_insertHyperlinks ||
179 $this->_deleteColumns ||
180 $this->_deleteRows ||
181 $this->_selectLockedCells ||
183 $this->_autoFilter ||
184 $this->_pivotTables ||
204 $this->_sheet = $pValue;
224 $this->_objects = $pValue;
244 $this->_scenarios = $pValue;
264 $this->_formatCells = $pValue;
284 $this->_formatColumns = $pValue;
304 $this->_formatRows = $pValue;
324 $this->_insertColumns = $pValue;
344 $this->_insertRows = $pValue;
364 $this->_insertHyperlinks = $pValue;
384 $this->_deleteColumns = $pValue;
404 $this->_deleteRows = $pValue;
424 $this->_selectLockedCells = $pValue;
444 $this->_sort = $pValue;
464 $this->_autoFilter = $pValue;
484 $this->_pivotTables = $pValue;
504 $this->_selectUnlockedCells = $pValue;
525 if (!$pAlreadyHashed) {
528 $this->_password = $pValue;
536 $vars = get_object_vars($this);
537 foreach ($vars as $key => $value) {
538 if (is_object($value)) {
539 $this->$key = clone $value;
541 $this->$key = $value;
setSelectLockedCells($pValue=false)
Set SelectLockedCells.
getFormatCells()
Get FormatCells.
setPassword($pValue='', $pAlreadyHashed=false)
Set Password.
getSelectUnlockedCells()
Get SelectUnlockedCells.
setObjects($pValue=false)
Set Objects.
getFormatColumns()
Get FormatColumns.
setScenarios($pValue=false)
Set Scenarios.
getFormatRows()
Get FormatRows.
getInsertHyperlinks()
Get InsertHyperlinks.
getDeleteRows()
Get DeleteRows.
setFormatColumns($pValue=false)
Set FormatColumns.
__construct()
Create a new PHPExcel_Worksheet_Protection.
setAutoFilter($pValue=false)
Set AutoFilter.
setSort($pValue=false)
Set Sort.
setSelectUnlockedCells($pValue=false)
Set SelectUnlockedCells.
setInsertHyperlinks($pValue=false)
Set InsertHyperlinks.
setPivotTables($pValue=false)
Set PivotTables.
setDeleteRows($pValue=false)
Set DeleteRows.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
setSheet($pValue=false)
Set Sheet.
isProtectionEnabled()
Is some sort of protection enabled?
getPivotTables()
Get PivotTables.
getInsertColumns()
Get InsertColumns.
static hashPassword($pPassword='')
Create a password hash from a given string.
getAutoFilter()
Get AutoFilter.
setDeleteColumns($pValue=false)
Set DeleteColumns.
getDeleteColumns()
Get DeleteColumns.
getInsertRows()
Get InsertRows.
setInsertRows($pValue=false)
Set InsertRows.
setInsertColumns($pValue=false)
Set InsertColumns.
setFormatRows($pValue=false)
Set FormatRows.
setFormatCells($pValue=false)
Set FormatCells.
getSelectLockedCells()
Get SelectLockedCells.
getPassword()
Get Password (hashed)
getScenarios()
Get Scenarios.