[TYPO3-english] qustion about cObject
tom
typostudy at gmail.com
Fri Dec 28 09:28:41 CET 2012
Hi,
In typo3conf/ext/tmplselect/pi1/class.tx_tmplselect_pi1.php,
...
function main($content,$conf)
{
...
}
I put var_dump($content); it shows:
string '' *(length=0)*
string '' *(length=0)*
string '' *(length=0)*
I put var_dump($content); it shows:
*array*
'includeLibs' => string
'typo3conf/ext/tmplselect/pi1/class.tx_tmplselect_pi1.php'
*(length=56)*
'userFunc' => string 'tx_tmplselect_pi1->main' *(length=23)*
*array*
'includeLibs' => string
'typo3conf/ext/tmplselect/pi1/class.tx_tmplselect_pi1.php'
*(length=56)*
'userFunc' => string 'tx_tmplselect_pi1->main' *(length=23)*
*array*
'includeLibs' => string
'typo3conf/ext/tmplselect/pi1/class.tx_tmplselect_pi1.php'
*(length=56)*
'userFunc' => string 'tx_tmplselect_pi1->main' *(length=23)*
'defaultTemplateFileName' => string 'ct_1.html' *(length=9)*
'templateType' => string 'sub' *(length=3)*
My question is:
1. what does $content,$conf mean?
2. How could I know the value of $content,$conf?
Thanks.
Tom
More information about the TYPO3-english
mailing list