HumHub Documentation (unofficial)

SecurityNotAllowedPropertyError extends SecurityError
in package

FinalYes

Exception thrown when a not allowed class property is used in a template.

Tags
author

Kit Burton-Senior mail@kitbs.com

Table of Contents

Properties

$className  : mixed
$lineno  : mixed
$name  : mixed
$propertyName  : mixed
$rawMessage  : mixed
$sourceCode  : mixed
$sourcePath  : mixed

Methods

__construct()  : mixed
Constructor.
appendMessage()  : void
getClassName()  : string
getPropertyName()  : mixed
getRawMessage()  : string
getSourceContext()  : Source|null
getTemplateLine()  : int
guess()  : void
setSourceContext()  : void
setTemplateLine()  : void
guessTemplateInfo()  : void
updateRepr()  : void

Properties

$lineno

private mixed $lineno

$rawMessage

private mixed $rawMessage

$sourceCode

private mixed $sourceCode

$sourcePath

private mixed $sourcePath

Methods

__construct()

Constructor.

public __construct(string $message, string $className, string $propertyName) : mixed

By default, automatic guessing is enabled.

Parameters
$message : string

The error message

$className : string
$propertyName : string

appendMessage()

public appendMessage(mixed $rawMessage) : void
Parameters
$rawMessage : mixed

getRawMessage()

public getRawMessage() : string
Return values
string

getTemplateLine()

public getTemplateLine() : int
Return values
int

guess()

public guess() : void

setSourceContext()

public setSourceContext([Source|null $source = null ]) : void
Parameters
$source : Source|null = null

setTemplateLine()

public setTemplateLine(int $lineno) : void
Parameters
$lineno : int

guessTemplateInfo()

private guessTemplateInfo() : void

updateRepr()

private updateRepr() : void

        
On this page

Search results