ENHANCEMENT Added SSViewer::getOption() as a logical counterpart to SSViewer::setOption()

This commit is contained in:
Ingo Schommer 2011-10-18 11:39:01 +02:00
parent 2279e9f3b3
commit 2ce1882e38

View File

@ -356,6 +356,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,
);