updated some helper docblocks - fixed usage of helpers

This commit is contained in:
Sebastian Ionescu 2010-09-27 15:48:21 +03:00 committed by Fabien Potencier
parent 9580c74f0b
commit 4edd0c269b
7 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver;
*/
/**
* ActionsHelper.
* ActionsHelper manages action inclusions.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/

View File

@ -15,7 +15,7 @@ use Symfony\Component\HttpFoundation\Request;
*/
/**
* RequestHelper.
* RequestHelper provides access to the current request parameters.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/

View File

@ -15,7 +15,7 @@ use Symfony\Component\Routing\Router;
*/
/**
* RouterHelper.
* RouterHelper manages links between pages in a template context.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/

View File

@ -15,7 +15,7 @@ use Symfony\Component\HttpFoundation\Request;
*/
/**
* SessionHelper.
* SessionHelper provides read-only access to the session attributes.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/

View File

@ -17,7 +17,7 @@ namespace Symfony\Component\Templating\Helper;
* Usage:
*
* <code>
* <img src="<?php echo $this->assets->getUrl('foo.png') ?>" />
* <img src="<?php echo $view['assets']->getUrl('foo.png') ?>" />
* </code>
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>

View File

@ -17,8 +17,8 @@ namespace Symfony\Component\Templating\Helper;
* Usage:
*
* <code>
* $this->javascripts->add('foo.css', array('media' => 'print'));
* echo $this->javascripts;
* $view['javascripts']->add('foo.js');
* echo $view['javascripts'];
* </code>
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>

View File

@ -17,8 +17,8 @@ namespace Symfony\Component\Templating\Helper;
* Usage:
*
* <code>
* $this->stylesheets->add('foo.css', array('media' => 'print'));
* echo $this->stylesheets;
* $view['stylesheets']->add('foo.css', array('media' => 'print'));
* echo $view['stylesheets'];
* </code>
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>