PMA\libraries\Partition::getIndexLength PHP Метод

getIndexLength() публичный Метод

Returns the tatal index length
public getIndexLength ( ) : integer
Результат integer index length
    public function getIndexLength()
    {
        if (empty($this->subPartitions)) {
            return $this->indexLength;
        } else {
            $indexLength = 0;
            foreach ($this->subPartitions as $subPartition) {
                $indexLength += $subPartition->indexLength;
            }
            return $indexLength;
        }
    }