56 return $this->lockRevision ||
57 $this->lockStructure ||
68 if ($pValue !== null) {
69 $this->lockRevision = $pValue;
82 if ($pValue !== null) {
83 $this->lockStructure = $pValue;
96 if ($pValue !== null) {
97 $this->lockWindows = $pValue;
110 if ($pValue !== null) {
111 if (!$pAlreadyHashed) {
114 $this->revisionsPassword = $pValue;
127 if ($pValue !== null) {
128 if (!$pAlreadyHashed) {
131 $this->workbookPassword = $pValue;
static hashPassword(string $password, string $algorithm='', string $salt='', int $spinCount=10000)
Create a password hash from a given string by a specific algorithm.
setWorkbookPassword(?string $pValue, bool $pAlreadyHashed=false)
setLockRevision(?bool $pValue)
setLockStructure(?bool $pValue)
__construct()
Create a new Document Security instance.
setLockWindows(?bool $pValue)
setRevisionsPassword(?string $pValue, bool $pAlreadyHashed=false)
isSecurityEnabled()
Is some sort of document security enabled?