/**
  * 唯一のインスタンスに対して設定を行う
  * 
  * @static
  * @param  array    $opts
  * @since  3.2.0
  */
 function setOptions($opts)
 {
     $instance =& SimpleView4Maple::getInstance();
     if (isset($opts['aliasFuncName'])) {
         $instance->setAliasFuncName($opts['aliasFuncName']);
         unset($opts['aliasFuncName']);
     }
     foreach ($opts as $attr => $value) {
         if (array_key_exists($attr, $instance)) {
             $instance->{$attr} = $value;
         }
     }
 }
 /**
  * SimpleView4Mapleのインスタンスを返す
  * 
  * @return Object
  */
 function &_getSimpleView()
 {
     $action =& $this->_actionChain->getCurAction();
     $errorList =& $this->_actionChain->getCurErrorList();
     $token =& $this->_token;
     $session =& $this->_session;
     if (isset($_SERVER['SCRIPT_NAME'])) {
         $scriptName = htmlspecialchars($_SERVER['SCRIPT_NAME'], ENT_QUOTES);
     } else {
         $scriptName = "";
     }
     $simpleView =& SimpleView4Maple::getInstance();
     $simpleView->setAction($action);
     $simpleView->setErrorList($errorList);
     $simpleView->setToken($token);
     $simpleView->setSession($session);
     $simpleView->setScriptName($scriptName);
     return $simpleView;
 }