Class: atkArrayDt
Source Location: /datatypes/class.atkarraydt.inc
Class atkArrayDt
Method Summary
| atkArrayDt |
__construct() |
The 'array' datatype for easy manipulation of arrays. |
| void |
replace() |
(Multidimensional) atkArray replace function If $replace is null, remove instead of replace it |
| void |
_replace() |
Private (Multidimensional) array replace function If $replace is null, remove instead of replace it |
Methods
atkArrayDt __construct(
array
$array
)
|
|
The 'array' datatype for easy manipulation of arrays.
Parameters:
API Tags:
Get the current array.
API Tags:
| Return: | The current array |
| Access: | public |
void replace(
mixed
$search, mixed
$replace, [bool
$recursive = true]
)
|
|
(Multidimensional) atkArray replace function If $replace is null, remove instead of replace it
Parameters:
|
mixed |
$search: |
|
|
mixed |
$replace: |
|
|
bool |
$recursive: |
|
void _replace(
&$array, mixed
$search, mixed
$replace, [bool
$recursive = true], array
$array
)
|
|
Private (Multidimensional) array replace function If $replace is null, remove instead of replace it
Parameters:
|
array |
$array: |
|
|
mixed |
$search: |
|
|
mixed |
$replace: |
|
|
bool |
$recursive: |
|
|
|
&$array: |
|
API Tags: