<!-- TODO: Implement boolean option mode -->
{else}
<dl>
- <dt>objectTypeID = {@$container->getObjectTypeID()}</dt>
+ <dt>{lang}wcf.acp.label.container.{$container->getObjectTypeName()}{/lang}</dt>
<dd>
<ul class="container structuredList">
{foreach from=$container item=objectType}
<?php
namespace wcf\system\label\object\type;
+use wcf\data\object\type\ObjectTypeCache;
/**
* Label object type container.
return $this->objectTypeID;
}
+ /**
+ * Returns the object type name.
+ *
+ * @return string
+ */
+ public function getObjectTypeName() {
+ return ObjectTypeCache::getInstance()->getObjectType($this->getObjectTypeID())->objectType;
+ }
+
/**
* Returns true, if container represents only a boolean option.
*