PMA\libraries\Partition::getDataLength PHP Method

getDataLength() public method

Returns the total data length
public getDataLength ( ) : integer
return integer data length
    public function getDataLength()
    {
        if (empty($this->subPartitions)) {
            return $this->dataLength;
        } else {
            $dataLength = 0;
            foreach ($this->subPartitions as $subPartition) {
                $dataLength += $subPartition->dataLength;
            }
            return $dataLength;
        }
    }