/** * Get the data file, get draft file if it exists * */ public function GetFile() { parent::GetFile(); if ($this->draft_exists) { $this->file_sections = \gp\tool\Files::Get($this->draft_file, 'file_sections'); $this->draft_meta = \gp\tool\Files::$last_meta; $this->draft_stats = \gp\tool\Files::$last_stats; } $this->checksum = $this->Checksum(); }