library/core/class.controller.php
public function AddStache($Template = '', $ControllerName = FALSE, $ApplicationFolder = FALSE) {
      
      $Template = StringEndsWith($Template, '.stache', TRUE, TRUE);
      $StacheTemplate = "{$Template}.stache";
      $TemplateData = $this->FetchView($StacheTemplate, $ControllerName, $ApplicationFolder);
      
      if ($TemplateData === FALSE) return FALSE;
      $this->_Staches[$Template] = $TemplateData;
   }
public function AddStache($Template = '', $ControllerName = FALSE, $ApplicationFolder = FALSE) {
      
      $Template = StringEndsWith($Template, '.stache', TRUE, TRUE);
      $StacheTemplate = "{$Template}.stache";
      $TemplateData = $this->FetchView($StacheTemplate, $ControllerName, $ApplicationFolder);
      
      if ($TemplateData === FALSE) return FALSE;
      $this->_Staches[$Template] = $TemplateData;
   }
public function AddStache ( $ Template = '' , $ ControllerName = FALSE , $ ApplicationFolder = FALSE ) { $ Template = StringEndsWith ( $ Template , '.stache' , TRUE , TRUE ) ; $ StacheTemplate = "{$Template}.stache" ; $ TemplateData = $ this -> FetchView ( $ StacheTemplate , $ ControllerName , $ ApplicationFolder ) ; if ( $ TemplateData === FALSE ) return FALSE ; $ this -> _Staches [ $ Template ] = $ TemplateData ; }
Add a Mustache template to the output

@param string $Template
@param string $ControllerName Optional.
@param string $ApplicationFolder Optional.
@return boolean
Add a Mustache template to the output