protected function collectItems()
    {
        $items = [];

        foreach ($this->_layout as $row => $unused) {
            foreach ($this->_layout[$row] as $column => $item) {
                $items[] = $item;
            }
        }

        return $items;
    }
protected function collectItems()
    {
        $items = [];

        foreach ($this->_layout as $row => $unused) {
            foreach ($this->_layout[$row] as $column => $item) {
                $items[] = $item;
            }
        }

        return $items;
    }
protected function collectItems ( ) { $ items = [ ] ; foreach ( $ this -> _layout as $ row => $ unused ) { foreach ( $ this -> _layout [ $ row ] as $ column => $ item ) { $ items [ ] = $ item ; } } return $ items ; }
Collects all items.

@return array
Collects all items .