code/CSSBlubberTask.php
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();

	}
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();

	}
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 ( ) ; }
Loads all the static .ss templates as HTML into memory
Loads all the static . ss templates as HTML into memory