菜单

Get tt_content uid

2012年07月25日 - Extbase/Fluid

You fetch all tt_content’s data in array:

$this->cObj->data

ie:

$uidOfCE = $this->cObj->data['uid'];

If you’re using Extbase of course you need to get the content object first, ie:

$this->contentObj = $this->configurationManager->getContentObject();
debug($this->contentObj->data, "current tt_content's data");

发表评论

电子邮件地址不会被公开。 必填项已用*标注