$this->internalExecute($rawSql); if ($method === '') { $result = new DataReader($this); } else { if ($fetchMode === null) { $fetchMode = $this->fetchMode; } $result = call_user_func_array([$this->pdoStatement, $method], (array) $fetchMode); $this->pdoStatement->closeCursor(); } $profile and Yii::endProfile($rawSql, 'yii\db\Command::query'); } catch (Exception $e) { $profile and Yii::endProfile($rawSql, 'yii\db\Command::query'); throw $e; }
$_GET = [ 'gtype' => 'mirovoe-kino', 'genre' => 'triller', 'page' => '2', ];