diff --git a/model/Versioned.php b/model/Versioned.php index caf87ad99..21d59e39e 100644 --- a/model/Versioned.php +++ b/model/Versioned.php @@ -1322,6 +1322,22 @@ class Versioned extends DataExtension { public function cacheKeyComponent() { return 'versionedmode-'.self::get_reading_mode(); } + + /** + * Returns an array of possible stages. + * + * @return array + */ + public function getVersionedStages() { + return $this->stages; + } + + /** + * @return string + */ + public function getDefaultStage() { + return $this->defaultStage; + } } /**