예제 #1
0
 /**
  * Build the template file indicated by key into string. Use data in
  * the dictionary as scope
  *
  * @param	string	$key	template file identifier
  * @param	array	$data	used for private scope
  * @return	string
  */
 public function build()
 {
     if ($this->templateCount() > 0) {
         $this->buildTemplates();
     }
     return ViewCompositor::composeList($this->getAll());
 }