[TYPO3-mvc] How to store a value and use it else where

Kay Strobach typo3 at kay-strobach.de
Wed Apr 18 22:39:36 CEST 2012


Hi,

use the alias viewHelper ;)

http://wiki.typo3.org/Fluid#f:alias

Regards
Kay

Am 18.04.2012 19:38, schrieb Stephen Bungert:
> I have a groupd of objects, they have one child object.
> 
> In my current problem, the child objects are all the same. I want to use
> the image from the child object.
> 
> I know I can easily get the image from the child object, but since the
> child object in my current case are the same for every record, can I
> somehow store this image after getting it once and then in subsequent
> loops just output the same image.
> 
> What I'm trying to do is to avoid in every loop, the need to get exactly
> the same child object and generate exactly the same image.
> 
> Stephen.


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful: https://flattr.com/profile/kaystrobach


More information about the TYPO3-project-typo3v4mvc mailing list