original_string: protected function loadTemplates() {		
  		$manifest = SS_TemplateLoader::instance()->getManifest();
  		$templates = $manifest->getTemplates();
  		$total = sizeof($templates);
  		$count = 0;
  		$this->output->clearProgress();
  		
  		foreach($templates as $name => $data) {
  			foreach($manifest->getCandidateTemplate($name, $this->theme) as $template) {
  				$this->samples[] = $template;
  			}
  			$count++;			
  			$this->output->updateProgressPercent($count, $total);
  		}
  		$this->output->writeln();
  
  	}
code: protected function loadTemplates() {		
  		$manifest = SS_TemplateLoader::instance()->getManifest();
  		$templates = $manifest->getTemplates();
  		$total = sizeof($templates);
  		$count = 0;
  		$this->output->clearProgress();
  		
  		foreach($templates as $name => $data) {
  			foreach($manifest->getCandidateTemplate($name, $this->theme) as $template) {
  				$this->samples[] = $template;
  			}
  			$count++;			
  			$this->output->updateProgressPercent($count, $total);
  		}
  		$this->output->writeln();
  
  	}
code_tokens: protected function loadTemplates ( ) { $ manifest = SS_TemplateLoader :: instance ( ) -> getManifest ( ) ; $ templates = $ manifest -> getTemplates ( ) ; $ total = sizeof ( $ templates ) ; $ count = 0 ; $ this -> output -> clearProgress ( ) ; foreach ( $ templates as $ name => $ data ) { foreach ( $ manifest -> getCandidateTemplate ( $ name , $ this -> theme ) as $ template ) { $ this -> samples [ ] = $ template ; } $ count ++ ; $ this -> output -> updateProgressPercent ( $ count , $ total ) ; } $ this -> output -> writeln ( ) ; }
docstring: Loads all the static .ss templates as HTML into memory
docstring_tokens: Loads all the static . ss templates as HTML into memory