Generic array utilities.
More...
Matrix::calendar |
( |
|
$date = 'now' , |
|
|
|
$first = 0 |
|
) |
| |
Return month calendar of specified date, with optional setting for first day of week (0 for Sunday)
- Returns
- array
- Parameters
-
Matrix::changekey |
( |
array & |
$var, |
|
|
|
$old, |
|
|
|
$new |
|
) |
| |
Change the key of a two-dimensional array element
- Returns
- NULL
- Parameters
-
$var | array |
$old | string |
$new | string |
Matrix::pick |
( |
array |
$var, |
|
|
|
$col |
|
) |
| |
Retrieve values from a specified column of a multi-dimensional array variable
- Returns
- array
- Parameters
-
Matrix::sort |
( |
array & |
$var, |
|
|
|
$col, |
|
|
|
$order = SORT_ASC |
|
) |
| |
Sort a multi-dimensional array variable on a specified column
- Returns
- bool
- Parameters
-
$var | array |
$col | mixed |
$order | int |
Matrix::transpose |
( |
array & |
$var | ) |
|
Rotate a two-dimensional array variable
- Returns
- NULL
- Parameters
-
The documentation for this class was generated from the following file: