_submissionId = (int) $submissionId; } // // Public methods // /** * Get the base path for file storage. * @return string */ function getBasePath() { $dirNames = Application::getFileDirectories(); return parent::getBasePath() . $dirNames['submission'] . $this->_submissionId . '/'; } /** * Get the submission ID that this manager operates upon. * @return int */ function getSubmissionId() { return $this->_submissionId; } } ?>