Commit 2c7e9e45 by Alexander Makarov

Better docs structure and minor fixes

parent 97a5a9d4
...@@ -9,8 +9,8 @@ uniform API and solves some inconsistencies between different DBMS. By default Y ...@@ -9,8 +9,8 @@ uniform API and solves some inconsistencies between different DBMS. By default Y
- [SQLite](http://sqlite.org/) - [SQLite](http://sqlite.org/)
- [PostgreSQL](http://www.postgresql.org/) - [PostgreSQL](http://www.postgresql.org/)
- [CUBRID](http://www.cubrid.org/) (version 9.1.0 and higher). - [CUBRID](http://www.cubrid.org/) (version 9.1.0 and higher).
- Oracle - [Oracle](http://www.oracle.com/us/products/database/overview/index.html)
- MSSQL - [MSSQL](https://www.microsoft.com/en-us/sqlserver/default.aspx)
Configuration Configuration
...@@ -42,6 +42,7 @@ return [ ...@@ -42,6 +42,7 @@ return [
// ... // ...
]; ];
``` ```
Please refer to the [PHP manual](http://www.php.net/manual/en/function.PDO-construct.php) for more details Please refer to the [PHP manual](http://www.php.net/manual/en/function.PDO-construct.php) for more details
on the format of the DSN string. on the format of the DSN string.
......
...@@ -7,19 +7,21 @@ about currently opened page while using debugger you can analyze data collected ...@@ -7,19 +7,21 @@ about currently opened page while using debugger you can analyze data collected
Installing and configuring Installing and configuring
-------------------------- --------------------------
How to use it
-------------
Add these lines to your config file: Add these lines to your config file:
``` ```
'preload' => ['debug'], 'preload' => ['debug'],
'modules' => [ 'modules' => [
'debug' => ['yii\debug\Module'] 'debug' => ['yii\debug\Module']
] ]
``` ```
**Watch out: by default the debug module only works when browsing the website from the localhost. If you want to use it on a remote (staging) server, add the parameter allowedIPs to the config to whitelist your IP.** **Watch out: by default the debug module only works when browsing the website from the localhost. If you want to use it
on a remote (staging) server, add the parameter allowedIPs to the config to whitelist your IP.**
How to use it
-------------
Creating your own panels Creating your own panels
------------------------ ------------------------
......
...@@ -7,17 +7,17 @@ as well as complete CRUD controllers. ...@@ -7,17 +7,17 @@ as well as complete CRUD controllers.
Installing and configuring Installing and configuring
-------------------------- --------------------------
How to use it
-------------
Add these lines to your config file: Add these lines to your config file:
```php ```php
'modules' => [ 'modules' => [
'gii' => ['yii\gii\Module'] 'gii' => ['yii\gii\Module']
] ]
``` ```
How to use it
-------------
Creating your own templates Creating your own templates
--------------------------- ---------------------------
......
...@@ -264,3 +264,5 @@ Formatters ...@@ -264,3 +264,5 @@ Formatters
In order to use formatters you need to install and enable [intl](http://www.php.net/manual/en/intro.intl.php) PHP In order to use formatters you need to install and enable [intl](http://www.php.net/manual/en/intro.intl.php) PHP
extension. extension.
TBD: provided classes overview.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment