function replaceBlockfile($block, $filename, $keepContent = false) { $this->mapCustomizing($filename); $return = parent::replaceBlockfile($block, $filename, $keepContent); $this->unmapCustomizing(); return $return; }