src/Charcoal/Ui/Layout/LayoutTrait.php
public function numCellsTotal()
    {
        $numCells = 0;
        foreach ($this->structure as $row) {
            $rowCols = isset($row['columns']) ? count($row['columns']) : 0;
            $numCells += $rowCols;
        }
        return $numCells;
    }
public function numCellsTotal()
    {
        $numCells = 0;
        foreach ($this->structure as $row) {
            $rowCols = isset($row['columns']) ? count($row['columns']) : 0;
            $numCells += $rowCols;
        }
        return $numCells;
    }
public function numCellsTotal ( ) { $ numCells = 0 ; foreach ( $ this -> structure as $ row ) { $ rowCols = isset ( $ row [ 'columns' ] ) ? count ( $ row [ 'columns' ] ) : 0 ; $ numCells += $ rowCols ; } return $ numCells ; }
Get the total number of cells, in all rows

@return integer
Get the total number of cells in all rows