View Issue Details

IDProjectCategoryView StatusLast Update
0000299Adventure PHP FrameworkNeues Feature // New Featurepublic2016-05-01 19:16
ReporterChristianAchatzAssigned ToChristianAchatz 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version3.1 
Target Version3.2Fixed in Version3.2 
Summary0000299: Create simple option to display repetitive content with a loop template
DescriptionThe iterator tag (see http://adventure-php-framework.org/Seite/078-Spezielle-Tags#Chapter-1-Iterator) provides a highy sophisticated way to display repetitive content.

With this issue a light-weight and simple way of displaying repetitive content should be introduced.

Tag signature idea:

<loop:template name="loop-template" content-mapping="my-data-attribute">
   


      Method expressions: ${content->getFoo()}
      

      Array expressions: ${content['bar']}
      

      Static place holder: ${static-place-holder}
   


</loop:template>

Filling in controller:

$this->getTemplate('loop-template')->setData('my-data-attribute', ...);
TagsNo tags attached.
Codereferenz: ([Datei]:[Zeile])
Namespacecore

Activities

ChristianAchatz

2016-04-29 16:25

administrator   ~0000713

- Implementation done.
- Unit Tests written.

ChristianAchatz

2016-05-01 19:16

administrator   ~0000714

- Finished documentation.

Issue History

Date Modified Username Field Change
2016-04-29 16:21 ChristianAchatz New Issue
2016-04-29 16:21 ChristianAchatz Status new => assigned
2016-04-29 16:21 ChristianAchatz Assigned To => ChristianAchatz
2016-04-29 16:25 ChristianAchatz Note Added: 0000713
2016-05-01 19:16 ChristianAchatz Note Added: 0000714
2016-05-01 19:16 ChristianAchatz Status assigned => resolved
2016-05-01 19:16 ChristianAchatz Fixed in Version => 3.2
2016-05-01 19:16 ChristianAchatz Resolution open => fixed