Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 688
Zeile 230... Zeile 230...
230
     * Given a template path, render it within its own scope. This
230
     * Given a template path, render it within its own scope. This
231
     * method also accepts an array of additional variables to be
231
     * method also accepts an array of additional variables to be
232
     * passed to the template.
232
     * passed to the template.
233
     *
233
     *
234
     * @param string $template
234
     * @param string $template
235
     * @param array  $additionalVariables
-
 
236
     */
235
     */
237
    public function render($template, array $additionalVariables = null)
236
    public function render($template, array $additionalVariables = null)
238
    {
237
    {
239
        $variables = $this->getVariables();
238
        $variables = $this->getVariables();
Zeile 252... Zeile 251...
252
    }
251
    }
Zeile 253... Zeile 252...
253
 
252
 
254
    /**
253
    /**
255
     * Sets the variables to be passed to all templates rendered
254
     * Sets the variables to be passed to all templates rendered
256
     * by this template helper.
-
 
257
     *
-
 
258
     * @param array $variables
255
     * by this template helper.
259
     */
256
     */
260
    public function setVariables(array $variables)
257
    public function setVariables(array $variables)
261
    {
258
    {
262
        $this->variables = $variables;
259
        $this->variables = $variables;