DB\Jig\Mapper::copyto PHP Method

copyto() public method

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