public static function append($name, $type, $val) { global $_STATUS; if (array_key_exists($type, $_STATUS)) { $typeArray = $_STATUS[$type]; if (array_key_exists(strtoupper($name), $_STATUS)) { $_STATUS[strtoupper($type)][strtoupper($name)] .= $val; } else { value::set($name, $type, $val); } // create new entry } }