[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/Style/ -> Protection.php (summary)

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: 1.4.5, 2007-08-23
File Size: 207 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Style_Protection:: (9 methods):
  __construct()
  getSharedComponent()
  getStyleArray()
  applyFromArray()
  getLocked()
  setLocked()
  getHidden()
  setHidden()
  getHashCode()


Class: PHPExcel_Style_Protection  - X-Ref

PHPExcel_Style_Protection

__construct($isSupervisor = FALSE, $isConditional = FALSE)   X-Ref
Create a new PHPExcel_Style_Protection

param: boolean    $isSupervisor    Flag indicating if this is a supervisor or not
param: boolean    $isConditional    Flag indicating if this is a conditional style or not

getSharedComponent()   X-Ref
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor

return: PHPExcel_Style_Protection

getStyleArray($array)   X-Ref
Build style array from subcomponents

param: array $array
return: array

applyFromArray($pStyles = NULL)   X-Ref
Apply styles from array

<code>
$objPHPExcel->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray(
array(
'locked' => TRUE,
'hidden' => FALSE
)
);
</code>

param: array    $pStyles    Array containing style information
return: PHPExcel_Style_Protection

getLocked()   X-Ref
Get locked

return: string

setLocked($pValue = self::PROTECTION_INHERIT)   X-Ref
Set locked

param: string $pValue
return: PHPExcel_Style_Protection

getHidden()   X-Ref
Get hidden

return: string

setHidden($pValue = self::PROTECTION_INHERIT)   X-Ref
Set hidden

param: string $pValue
return: PHPExcel_Style_Protection

getHashCode()   X-Ref
Get hash code

return: string    Hash code



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1