예제 #1
0
 protected static function kohanaVariables()
 {
     if (self::$kohanaVariables_) {
         return self::$kohanaVariables_;
     }
     self::$kohanaVariables_ = array('DOCROOT' => DOCROOT, 'APPPATH' => APPPATH, 'MODPATH' => MODPATH, 'SYSPATH' => SYSPATH, 'baseUrl' => Kohana::$base_url);
     return self::$kohanaVariables_;
 }
예제 #2
0
 /**
  * @param array $options Mustache_Engine configuration options
  */
 public function __construct(array $options = null)
 {
     if ($options !== null) {
         self::$mustacheOptions = $options;
     }
 }