APF-Tracker

Adventure PHP Framework Issue Management


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000299Adventure PHP FrameworkNeues Feature // New Featurepublic2016-04-29 16:212016-05-01 19:16
ReporterChristianAchatz 
Assigned ToChristianAchatz 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
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
Attached Files

- Relationships

-  Notes
(0000713)
ChristianAchatz (administrator)
2016-04-29 16:25

- Implementation done.
- Unit Tests written.
(0000714)
ChristianAchatz (administrator)
2016-05-01 19:16

- 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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker