CheckBrowserSniffer
class CheckBrowserSniffer extends CheckAbstract
Check for browser sniffing This is a error level
Properties
protected | $template | Template context | from CheckAbstract |
protected | $fileName | Template filename | from CheckAbstract |
protected | $messages | Message container | from CheckAbstract |
Methods
boolean
execute()
Execute check, must return a boolean and set a message on failure
Details
in CheckAbstract at line 35
CheckAbstract
setFileName(string $name)
Set template filename
in CheckAbstract at line 46
CheckAbstract
loadTemplate(string $template)
Handle the loading of the template
in CheckAbstract at line 56
protected string
getFileName()
Return filename
in CheckAbstract at line 65
protected string
asString()
Return template as a string
in CheckAbstract at line 74
protected array
asArray()
Return template as an array of lines
in CheckAbstract at line 79
protected
setMessage($type, $message)
in CheckAbstract at line 92
array
getMessages()
Return messages, if it exists
at line 12
boolean
execute()
Execute check, must return a boolean and set a message on failure