1 つのスクリプトではvar_dump()
、オブジェクトを出力するために使用します。
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$this->extKey.'/'.$this->scriptRelPath] as $classRef) {
$hookObj = t3lib_div::getUserObj($classRef);
var_dump($hookObj);
結果は次のとおりです。
object(tx_job_dagoupost)#73 (3) { ["extKey"]=> string(3) "job" ["prefixId"]=> string(10) "tx_job_pi1" ["scriptRelPath"]=> string(32) "hooks/class.tx_job_dagoupost.php" }
object(tx_christianvolunteer_dagoupost)#79 (2) { ["extKey"]=> string(19) "christian_volunteer" ["scriptRelPath"]=> string(47) "hooks/class.tx_christianvolunteer_dagoupost.php" }
object(tx_watermark_dagoupost)#73 (2) { ["extKey"]=> string(9) "watermark" ["scriptRelPath"]=> string(38) "hooks/class.tx_watermark_dagoupost.php" }
質問:
#73
とはどういう#79
意味ですか?object(tx_job_dagoupost)#73
とobject(tx_watermark_dagoupost)#73
は異なるオブジェクトですが、同じ id を持っています#73
。なぜですか?