Project

General

Profile

Bug #21434 » 0012441.patch

Administrator Admin, 2009-11-05 16:12

View differences:

t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie)
* @return string The path of identifiers
*/
function getStructurePath($structureDepth = -1) {
$structureLevels = array();
$structureCount = count($this->inlineStructure['stable']);
if ($structureDepth < 0 || $structureDepth > $structureCount) $structureDepth = $structureCount;
for ($i = 1; $i <= $structureDepth; $i++) {
$current = $this->getStructureLevel(-$i);
$string = $this->getStructureItemName($current, self::Disposal_AttributeId) . $string;
array_unshift(
$structureLevels,
$this->getStructureItemName(
$this->getStructureLevel(-$i),
self::Disposal_AttributeId
)
);
}
return $string;
return implode(self::Structure_Separator, $structureLevels);
}
(3-3/3)