From 6d6fdd24d9b4c19c33c64198528fea164f1af2d0 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 17 Oct 2011 18:00:30 +0200 Subject: [PATCH] ENHANCEMENT Added SSViewer::getOption() as a logical counterpart to SSViewer::setOption() --- core/SSViewer.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/SSViewer.php b/core/SSViewer.php index ce22809f0..13d2ef1ce 100755 --- a/core/SSViewer.php +++ b/core/SSViewer.php @@ -235,6 +235,15 @@ class SSViewer { public static function setOption($optionName, $optionVal) { SSViewer::$options[$optionName] = $optionVal; } + + /** + * @param String + * @return Mixed + */ + static function getOption($optionName) { + return SSViewer::$options[$optionName]; + } + protected static $options = array( 'rewriteHashlinks' => true, );