public function grabPrefixedTableNameFor($tableName = '') { $idFrag = ''; if (!(in_array($tableName, $this->uniqueTables) || $this->blogId == 1)) { $idFrag = empty($this->blogId) ? '' : "{$this->blogId}_"; } $tableName = $this->config['tablePrefix'] . $idFrag . $tableName; return $tableName; }