Class Ext
Base class for DataTables classes.
Methods summary
public static
DataTables\Editor |DataTables\Editor\Field |DataTables\Editor\Join |DataTables\Editor\Upload
|
#
instantiate( )
Static method to instantiate a new instance of a class.
Static method to instantiate a new instance of a class.
A factory method that will create a new instance of the class
that has extended 'Ext'. This allows classes to be instantiated
and then chained - which otherwise isn't available until PHP 5.4.
If using PHP 5.4 or later, simply create a 'new' instance of the
target class and chain methods as normal.
Returns
|
public static
DataTables\Editor |DataTables\Editor\Field |DataTables\Editor\Join |DataTables\Editor\Upload
|
#
inst( )
Static method to instantiate a new instance of a class (shorthand of
'instantiate').
Static method to instantiate a new instance of a class (shorthand of
'instantiate').
This method performs exactly the same actions as the 'instantiate'
static method, but is simply shorter and easier to type!
Returns
|
protected
DataTables\Ext |*
|
#
_getSet( mixed & $prop, mixed $val, boolean $array = false )
Common getter / setter function for DataTables classes.
Common getter / setter function for DataTables classes.
This getter / setter method makes building getter / setting methods
easier, by abstracting everything to a single function call.
Parameters
- $prop
- $prop The property to set
- $val
The value to set - if given as null, then we assume
that the function is being used as a getter.
- $array
Treat the target property as an array or not
(default false). If used as an array, then values passed in are added
to the $prop array.
Returns
DataTables\Ext |* Class instance if setting (allowing chaining), or
the value requested if getting.
|