Basket::copyto PHP Method

copyto() public method

Populate hive array variable with item contents
public copyto ( $key ) : null
$key string
return null
    function copyto($key)
    {
        $var =& \Base::instance()->ref($key);
        foreach ($this->item as $key => $field) {
            $var[$key] = $field;
        }
    }