Brimbox Logo Brimbox Version 2.3.4 Released

set>>

Method to set an state array ($arr_state) with a value.

Class: bb_work, called as $main

File: bb_work.php (php)

Declaration:

function set($name, &$arr_state, $value)

Usage:

$value = $main->set($name, $arr_state, $value);

Returns: value submitted (cast as string).

Note: $arr_state passed as a value and updated.

Parameter: $name (string)
Name of the $arr_state associative key.

Parameter: $arr_state (array)
PHP array to be updated.

Parameter: $value (string)
Value to be added to or updated in $arr_state.

Updated: 2016-07-08