import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_View
|
||||
* @subpackage Helper
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: RenderToPlaceholder.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: RenderToPlaceholder.php 18209 2009-09-17 22:36:12Z padraic $
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -24,7 +24,8 @@
|
||||
require_once 'Zend/View/Helper/Abstract.php';
|
||||
|
||||
/**
|
||||
* Helper for making easy links and getting urls that depend on the routes and router
|
||||
* Renders a template and stores the rendered output as a placeholder
|
||||
* variable for later use.
|
||||
*
|
||||
* @package Zend_View
|
||||
* @subpackage Helper
|
||||
@ -35,6 +36,14 @@ require_once 'Zend/View/Helper/Abstract.php';
|
||||
class Zend_View_Helper_RenderToPlaceholder extends Zend_View_Helper_Abstract
|
||||
{
|
||||
|
||||
/**
|
||||
* Renders a template and stores the rendered output as a placeholder
|
||||
* variable for later use.
|
||||
*
|
||||
* @param $script The template script to render
|
||||
* @param $placeholder The placeholder variable name in which to store the rendered output
|
||||
* @return void
|
||||
*/
|
||||
public function renderToPlaceholder($script, $placeholder)
|
||||
{
|
||||
$this->view->placeholder($placeholder)->captureStart();
|
||||
|
Reference in New Issue
Block a user