add composer.lock and new documentation

This commit is contained in:
Manuel Raynaud
2013-02-18 14:19:17 +01:00
parent 93cbea2952
commit cfb2d00b13
33 changed files with 4453 additions and 2992 deletions

View File

@@ -139,9 +139,11 @@ class Parser implements ParserInterface
public function loadParser()
{
$content = $this->openFile($this->getRequest());
$content = $this->parseInclude($content);
}
public function openFile(Request $request)
protected function openFile(Request $request)
{
$file = $request->attributes->get('_view');
$fileName = THELIA_TEMPLATE_DIR . rtrim($this->template, "/") . "/" . $file . ".html";
@@ -150,8 +152,14 @@ class Parser implements ParserInterface
} else {
throw new ResourceNotFoundException(sprintf("%s file not found in %s template", $file, $this->template));
}
return $content;
}
protected function parseInclude($content)
{
}
}