public function getTableStatus($table)
    {
        $prefixed = Common::prefixTable($table);

        // if we've already gotten every table status, don't issue an un-needed query
        if (!is_null($this->tableStatuses) && isset($this->tableStatuses[$prefixed])) {
            return $this->tableStatuses[$prefixed];
        } else {
            return $this->dataAccess->getTableStatus($prefixed);
        }
    }
public function getTableStatus($table)
    {
        $prefixed = Common::prefixTable($table);

        // if we've already gotten every table status, don't issue an un-needed query
        if (!is_null($this->tableStatuses) && isset($this->tableStatuses[$prefixed])) {
            return $this->tableStatuses[$prefixed];
        } else {
            return $this->dataAccess->getTableStatus($prefixed);
        }
    }
public function getTableStatus ( $ table ) { $ prefixed = Common :: prefixTable ( $ table ) ; // if we've already gotten every table status, don't issue an un-needed query if ( ! is_null ( $ this -> tableStatuses ) && isset ( $ this -> tableStatuses [ $ prefixed ] ) ) { return $ this -> tableStatuses [ $ prefixed ] ; } else { return $ this -> dataAccess -> getTableStatus ( $ prefixed ) ; } }
Gets the MySQL table status of the requested Piwik table.

@param string $table The name of the table. Should not be prefixed (ie, 'log_visit' is
correct, 'matomo_log_visit' is not).
@return array See http://dev.mysql.com/doc/refman/5.1/en/show-table-status.html .
Gets the MySQL table status of the requested Piwik table .