src/Ease/Container.php
public function &getFirstPart($pageItem = null)
    {
        if (!$pageItem) {
            $pageItem = &$this;
        }
        if (!empty($pageItem->pageParts) && is_array($pageItem->pageParts)) {
            $firstPart = reset($pageItem->pageParts);
        } else {
            $firstPart = null;
        }

        return $firstPart;
    }
public function &getFirstPart($pageItem = null)
    {
        if (!$pageItem) {
            $pageItem = &$this;
        }
        if (!empty($pageItem->pageParts) && is_array($pageItem->pageParts)) {
            $firstPart = reset($pageItem->pageParts);
        } else {
            $firstPart = null;
        }

        return $firstPart;
    }
Vrací první vloženou položku.

@param Container $pageItem kontext