[TYPO3-english] some questions about extension codes

tom liu typostudy at gmail.com
Fri Jul 26 06:26:21 CEST 2013


Hi,

I am reading a typo3 extension file, but got some questions:

1. class.tx_jcjob_pi1.php(extension file):

function main($content, $conf) {

        $this->conf = $conf;
        $this->pi_setPiVarDefaults();
        $this->pi_loadLL();
        $this->template =
$this->cObj->fileResource($this->conf['templateFile']);

I used var_dump($conf); to output $conf, it shows:

array(53) { ["includeLibs"]=> string(47)
"typo3conf/ext/jc_job/pi1/class.tx_jcjob_pi1.php" ["userFunc"]=>
string(18) "tx_jcjob_pi1->main" ["templateFile"]=> string(28)
"EXT:jc_job/pi1/template.html" ["pidList"]=> string(1) "7" ["code"]=>
string(4)...



More information about the TYPO3-english mailing list