src/View/BaseForm.php
protected function setActiveRecord($record)
    {
        // update the record row
        $this->dataPanel->setRecordArr($record);

        foreach ($record as $key => $value) {
            //if($key=='extend')continue;
            $this->activeRecord[$key] = $record[$key];
        }
    }
protected function setActiveRecord($record)
    {
        // update the record row
        $this->dataPanel->setRecordArr($record);

        foreach ($record as $key => $value) {
            //if($key=='extend')continue;
            $this->activeRecord[$key] = $record[$key];
        }
    }
Set active record

@param array $record
@return void