Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/lib/array_column.php - 113 lines - 4104 bytes - Source - Print

Description: This file is part of the array_column library For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Copyright: Copyright (c) Ben Ramsey (http://benramsey.com)
License: http://opensource.org/licenses/MIT MIT
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

array_column()

Functions

Functions that are not part of a class:

array_column($input = null, $columnKey = null, $indexKey = null)  line: 13
Returns the values from a single column of the input array, identified by
the $columnKey.

Optionally, you may provide an $indexKey to index the values in the returned
array by the values from the $indexKey column in the input array.

return: array
param: array $input A multi-dimensional array (record set) from which to pull
param: mixed $columnKey The column of values to return. This value may be the
param: mixed $indexKey (Optional.) The column to use as the index/keys for

title

Body