Function Class
Module: Utils
It provide APIs to deal with class.
Item Index
Methods
- containProperties
- createFunctionInstance static
- createFunctionInstanceDescend static
- extend static
- getObjectName
- getterProperties
- invokeAndFetch static
- invokeAndInflate static
- properties
- setterProperties
Methods
containProperties
()
Boolean
Check whether a give function contain provided property or not.
Returns:
Boolean:
true/false; TRUE: If it contain property; FALSE: If it does not contain property.
createFunctionInstance
()
Object
static
Create a instance of function.
Returns:
Object:
Function Instance
createFunctionInstanceDescend
()
Object
static
Create the inner function instances
Returns:
Object:
Function Instance
extend
()
static
It is use to implement inherit parent properties in child.
getterProperties
()
Array
Get all GET properties a given function contain.
Returns:
Array:
All GET Properties
invokeAndFetch
()
Object
static
Invoke API and get data from object.
Returns:
Object:
Return object from invoked API
invokeAndInflate
()
static
Populate data in object by invoking API and passing parameters to it.