CoreObject Class
Base for all objects
Item Index
Methods
assert
(
static
chainable
-
expression
-
message
Make an assertion and throw an error if it fails
assert
(
chainable
-
expression
-
message
Make an assertion and throw an error if it fails
className
()
String
Returns the name of the class for this object
Returns:
String:
class name of this object
destroy
()
Used to destroy the object
identify
()
String
Get a string identification of the object
Returns:
String:
the string identifying the object
lockProperties
(
static
chainable
-
names
Lock given properties so that setting them will fail
Parameters:
-
names
String multiplethe name of each property to lock
lockProperties
(
chainable
-
names
Lock given properties so that setting them will fail
Parameters:
-
names
String multiplethe name of each property to lock
log
(
static
chainable
-
[level="debug"]
-
items
Log a string with the class name as a prefix
Parameters:
-
[level="debug"]
String optionallevel (debug, notice, info, warning, error, danger or fatal)
-
items
Mixed multipleanything to give back to the logger
log
(
chainable
-
[level="debug"]
-
items
Log a string with the class name as a prefix
Parameters:
-
[level="debug"]
String optionallevel (debug, notice, info, warning, error, danger or fatal)
-
items
Mixed multipleanything to give back to the logger