src/Neuron/Core/Template.php
private function combine ($template)
	{
		ob_start();

		foreach (self::$shares as $k => $v) {
			${$k} = $v;
		}

		foreach ($this->values as $k => $v) {
			${$k} = $v;
		}

		if ($ctlbtmpltfiles = $this->getFilenames($template, true)) {
			foreach ($ctlbtmpltfiles as $ctlbtmpltfile) {
				include $ctlbtmpltfile;
			}
		}

		$val = ob_get_contents();
		ob_end_clean();

		return $val;
	}
private function combine ($template)
	{
		ob_start();

		foreach (self::$shares as $k => $v) {
			${$k} = $v;
		}

		foreach ($this->values as $k => $v) {
			${$k} = $v;
		}

		if ($ctlbtmpltfiles = $this->getFilenames($template, true)) {
			foreach ($ctlbtmpltfiles as $ctlbtmpltfile) {
				include $ctlbtmpltfile;
			}
		}

		$val = ob_get_contents();
		ob_end_clean();

		return $val;
	}
private function combine ( $ template ) { ob_start ( ) ; foreach ( self :: $ shares as $ k => $ v ) { $ { $ k } = $ v ; } foreach ( $ this -> values as $ k => $ v ) { $ { $ k } = $ v ; } if ( $ ctlbtmpltfiles = $ this -> getFilenames ( $ template , true ) ) { foreach ( $ ctlbtmpltfiles as $ ctlbtmpltfile ) { include $ ctlbtmpltfile ; } } $ val = ob_get_contents ( ) ; ob_end_clean ( ) ; return $ val ; }
Go trough all set template directories and search for
a specific template. Concat all of them.
Go trough all set template directories and search for a specific template . Concat all of them .