DB\SQL\Mapper::copyto PHP 메소드

copyto() 공개 메소드

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