src/Helper/ViewCombinations.php
public function getParentedInputScreenNames($parent = null)
    {
        $result = array();

        if ($parent) {
            if (!isset($this->parentMap[$parent])) {
                return array();
            }
            foreach ($this->parentMap[$parent] as $child) {
                $result[] = (isset($this->tableMap[$child])) ? $this->tableMap[$child] : $child;
            }

            return $result;
        }

        foreach (array_keys($this->information) as $modelName) {
            if (!$this->isInputScreenStandalone($modelName)) {
                $result[] = (isset($this->tableMap[$modelName])) ? $this->tableMap[$modelName] : $modelName;
            }
        }

        return $result;
    }
public function getParentedInputScreenNames($parent = null)
    {
        $result = array();

        if ($parent) {
            if (!isset($this->parentMap[$parent])) {
                return array();
            }
            foreach ($this->parentMap[$parent] as $child) {
                $result[] = (isset($this->tableMap[$child])) ? $this->tableMap[$child] : $child;
            }

            return $result;
        }

        foreach (array_keys($this->information) as $modelName) {
            if (!$this->isInputScreenStandalone($modelName)) {
                $result[] = (isset($this->tableMap[$modelName])) ? $this->tableMap[$modelName] : $modelName;
            }
        }

        return $result;
    }
public function getParentedInputScreenNames ( $ parent = null ) { $ result = array ( ) ; if ( $ parent ) { if ( ! isset ( $ this -> parentMap [ $ parent ] ) ) { return array ( ) ; } foreach ( $ this -> parentMap [ $ parent ] as $ child ) { $ result [ ] = ( isset ( $ this -> tableMap [ $ child ] ) ) ? $ this -> tableMap [ $ child ] : $ child ; } return $ result ; } foreach ( array_keys ( $ this -> information ) as $ modelName ) { if ( ! $ this -> isInputScreenStandalone ( $ modelName ) ) { $ result [ ] = ( isset ( $ this -> tableMap [ $ modelName ] ) ) ? $ this -> tableMap [ $ modelName ] : $ modelName ; } } return $ result ; }
Retrieve all standalone input screens or optionally the children of a given parent.

@param string|null $parent The parent table for which the children shall be returned.

@return string[]
Retrieve all standalone input screens or optionally the children of a given parent .