[TYPO3] TS: userfunc with result of select

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Sep 4 17:38:43 CEST 2008


Hi!

Boris Degenhardt wrote:
> thx alot for you answer, but can you give me a little bit mor details.
> What else than COA?

COA is for combining output of several object. You need to replace:

temp.v3User = COA
temp.v3User {
    10 = TEMPLATE
    10.template = FILE 

with:

temp.v3User = TEMPLATE
temp.v3User {
	template = FILE 

And so on.

> What do i get out of tslib_cObj::cObjGetSingle?

What you pass, that you get :) If you pass "temp.startUser", you will get whatever this TS object produces. For example:

lib.text = TEXT
lib.text.value = Hello!

Passing it to cObjGetSingle will return "Hello!".

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/


More information about the TYPO3-english mailing list