Feature #9429

f:render section with arguments

Added by Dieter Müller almost 5 years ago. Updated about 4 years ago.

Status:Closed Start date:2010-08-24
Priority:Should have Due date:
Assigned To:Sebastian Kurfuerst % Done:

0%

Category:View
Target version:-
Has patch:

Description

Why only partials can use arguments ?

I want to transfer some arguments to a sections, but i dont want to make every small peace of code a partial file. I think thats a little to much for smaller projects / templates.

Use within section makes it possible to write small "functions" in one templatefile.

History

#1 Updated by Sebastian Kurfuerst almost 5 years ago

  • Status changed from New to Needs Feedback

Hey,

please try this feature out in newest trunk, or the version which will be included in 4.5alpha1. This feature has been implemented in the meanwhile, I think.

Greets,
Sebastian

#2 Updated by Dieter Müller almost 5 years ago

Ok thank you, i try the newest trunk :)

#3 Updated by Sebastian Kurfuerst about 4 years ago

  • Status changed from Needs Feedback to Closed

Also available in: Atom PDF