This commit is contained in:
Manuel Raynaud
2014-04-11 09:36:43 +02:00
parent 441ac3dc2a
commit b60abb206b
8 changed files with 143 additions and 146 deletions

View File

@@ -49,8 +49,8 @@ class BaseFrontController extends BaseController
* Redirect to à route ID related URL
*
* @param string $routeId the route ID, as found in Config/Resources/routing/admin.xml
* @param array $urlParameters the URL parametrs, as a var/value pair array
* @param bool $referenceType
* @param array $urlParameters the URL parametrs, as a var/value pair array
* @param bool $referenceType
*/
public function redirectToRoute($routeId, $urlParameters = array(), $referenceType = Router::ABSOLUTE_PATH)
{
@@ -104,9 +104,9 @@ class BaseFrontController extends BaseController
/**
* Render the given template, and returns the result as an Http Response.
*
* @param string $templateName the complete template name, with extension
* @param array $args the template arguments
* @param int $status http code status
* @param string $templateName the complete template name, with extension
* @param array $args the template arguments
* @param int $status http code status
* @return \Thelia\Core\HttpFoundation\Response
*/
protected function render($templateName, $args = array(), $status = 200)