File/functions/array_functions.php

Description

CodeIgniter

An open source application development framework for PHP 4.3.2 or newer

Functions
element (line 41)

Element

Lets you determine whether an array index is set and whether it has a value. If the element is empty it returns FALSE (or whatever you specify as the default value.)

  • return: depends on what the array contains
  • access: public
mixed element (string $item, array $array, [mixed $default = FALSE])
  • string $item
  • array $array
  • mixed $default
join_recordset (line 85)

Random Element - Takes an array as input and returns a random element

  • return: depends on what the array contains
  • access: public
mixed join_recordset (array $cGlue,  $aArray,  $vKey)
  • array $cGlue
  • $aArray
  • $vKey
random_element (line 63)

Random Element - Takes an array as input and returns a random element

  • return: depends on what the array contains
  • access: public
mixed random_element (array $array)
  • array $array
trim_recursive (line 105)

Trims a entire array recursivly.

void trim_recursive (array $Input)
  • array $Input: Input array

Documentation generated on Tue, 22 Nov 2011 13:28:50 -0200 by phpDocumentor 1.4.3