src/Forms/FieldList.php
public function findTab($tabName)
    {
        $parts = explode('.', $tabName);
        $last_idx = count($parts) - 1;

        $currentPointer = $this;

        foreach ($parts as $k => $part) {
            $parentPointer = $currentPointer;
            /** @var FormField $currentPointer */
            $currentPointer = $currentPointer->fieldByName($part);
        }

        return $currentPointer;
    }
public function findTab($tabName)
    {
        $parts = explode('.', $tabName);
        $last_idx = count($parts) - 1;

        $currentPointer = $this;

        foreach ($parts as $k => $part) {
            $parentPointer = $currentPointer;
            /** @var FormField $currentPointer */
            $currentPointer = $currentPointer->fieldByName($part);
        }

        return $currentPointer;
    }
public function findTab ( $ tabName ) { $ parts = explode ( '.' , $ tabName ) ; $ last_idx = count ( $ parts ) - 1 ; $ currentPointer = $ this ; foreach ( $ parts as $ k => $ part ) { $ parentPointer = $ currentPointer ; /** @var FormField $currentPointer */ $ currentPointer = $ currentPointer -> fieldByName ( $ part ) ; } return $ currentPointer ; }
Returns the specified tab object, if it exists

@param string $tabName The tab to return, in the form "Tab.Subtab.Subsubtab".
@return Tab|null The found or null
Returns the specified tab object if it exists