public function getRows($special = false)
    {
        if ($special) {
            if ($special === 1) {
                return $this->specialRows['header'];
            } else {
                return $this->specialRows['footer'];
            }
        }

        return array_diff(
            array_keys($this->rows),
            array_merge($this->specialRows['header'], $this->specialRows['footer'])
        );
    }
public function getRows($special = false)
    {
        if ($special) {
            if ($special === 1) {
                return $this->specialRows['header'];
            } else {
                return $this->specialRows['footer'];
            }
        }

        return array_diff(
            array_keys($this->rows),
            array_merge($this->specialRows['header'], $this->specialRows['footer'])
        );
    }
public function getRows ( $ special = false ) { if ( $ special ) { if ( $ special === 1 ) { return $ this -> specialRows [ 'header' ] ; } else { return $ this -> specialRows [ 'footer' ] ; } } return array_diff ( array_keys ( $ this -> rows ) , array_merge ( $ this -> specialRows [ 'header' ] , $ this -> specialRows [ 'footer' ] ) ) ; }
Get the IDs of all rows in the table

@param   int|bool $special false for the standard rows, 1 for the header rows, 2 for the footer rows

@return  array Array of IDs

@since 2.1
Get the IDs of all rows in the table