protected function getTablesFromRequest() { $tables = array(); $dbLength = mb_strlen($this->db); foreach ($_REQUEST['t_h'] as $key => $value) { if ($value) { $tables[] = mb_substr($key, $dbLength + 1); } } return $tables; }