updated some helper docblocks - fixed usage of helpers
This commit is contained in:
parent
9580c74f0b
commit
4edd0c269b
@ -16,7 +16,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver;
|
||||
*/
|
||||
|
||||
/**
|
||||
* ActionsHelper.
|
||||
* ActionsHelper manages action inclusions.
|
||||
*
|
||||
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
*/
|
||||
|
@ -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>
|
||||
*/
|
||||
|
@ -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>
|
||||
*/
|
||||
|
@ -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>
|
||||
*/
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user