\ERRORS

ERRORS extends PRINTMESSAGES

Handle error messages

Summary

Methods
Properties
Constants
__construct()
loadDir()
text()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : 

ERRORS

Returns

loadDir()

loadDir() : mixed||string|int

read and return languages/ directory for language preferences and check we have a sane environment

Returns

mixed||string|int —

text()

text(  arrayName,   indexName,   extra = FALSE,   html = TRUE) : 

Grab the message

Parameters

arrayName
indexName
extra

Optional string that replaces '###' in the array element value string. Default is FALSE

html

Optional boolean for HTML printing (TRUE/default) or plain text (FALSE)

Returns