# RenderToPlaceholder Helper

Renders a template (view script) and stores the rendered output as a placeholder variable for later use.

The helper uses the Placeholder helper and his Capture methods.

## Basic Usage of RenderToPlaceholder

    <?php
    // View script (backlink.phtml):
    echo sprintf(
        '<p class="older"><a href="%s">Older posts</a></p>',
        $this->url(array('controller' => 'index', 'action' => 'index'))
    )
    ?>

    <?php
    // Usage:
    $this->renderToPlaceholder('backlink.phtml', 'link');
    ?>

    <?php
    echo $this->placeholder('link');
    // Output: <p class="older"><a href="index/index">Older posts</a></p>
    ?>