/** * @see \wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); $commentableContents = \wcf\data\object\type\ObjectTypeCache::getInstance()->getObjectTypes('com.woltlab.wcf.comment.commentableContent'); $commentObjectTypeIDs = array(); foreach ($commentableContents as $objectType) { $commentObjectTypeIDs[$objectType->objectTypeID] = $objectType->objectType; } \wcf\system\WCF::getTPL()->assign(array('commentObjectTypeIDs' => $commentObjectTypeIDs)); }
/** * @see \wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); \wcf\system\WCF::getTPL()->assign('tagCount', $this->tagCount); }