/**
* Copy the view details from another scaffold view instance.
* @param TScaffoldBase scaffold view.
*/
protected function copyFrom(TScaffoldBase $obj)
{
$this->_record = $obj->_record;
$this->setRecordClass($obj->getRecordClass());
$this->setEnableDefaultStyle($obj->getEnableDefaultStyle());
}