From 2c7e9e45c9a4a644b8acf417901b8cb695e7b2b4 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 29 Nov 2013 04:17:11 +0400 Subject: [PATCH] Better docs structure and minor fixes --- docs/guide/database-basics.md | 5 +++-- docs/guide/debugger.md | 18 ++++++++++-------- docs/guide/gii.md | 12 ++++++------ docs/guide/i18n.md | 2 ++ 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/docs/guide/database-basics.md b/docs/guide/database-basics.md index 511ecaf..520da22 100644 --- a/docs/guide/database-basics.md +++ b/docs/guide/database-basics.md @@ -9,8 +9,8 @@ uniform API and solves some inconsistencies between different DBMS. By default Y - [SQLite](http://sqlite.org/) - [PostgreSQL](http://www.postgresql.org/) - [CUBRID](http://www.cubrid.org/) (version 9.1.0 and higher). -- Oracle -- MSSQL +- [Oracle](http://www.oracle.com/us/products/database/overview/index.html) +- [MSSQL](https://www.microsoft.com/en-us/sqlserver/default.aspx) Configuration @@ -42,6 +42,7 @@ return [ // ... ]; ``` + 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. diff --git a/docs/guide/debugger.md b/docs/guide/debugger.md index 9006d9d..a49471a 100644 --- a/docs/guide/debugger.md +++ b/docs/guide/debugger.md @@ -7,19 +7,21 @@ about currently opened page while using debugger you can analyze data collected Installing and configuring -------------------------- -How to use it -------------- - Add these lines to your config file: ``` - 'preload' => ['debug'], - 'modules' => [ - 'debug' => ['yii\debug\Module'] - ] +'preload' => ['debug'], +'modules' => [ + '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 ------------------------ diff --git a/docs/guide/gii.md b/docs/guide/gii.md index 54f6a36..525c567 100644 --- a/docs/guide/gii.md +++ b/docs/guide/gii.md @@ -7,17 +7,17 @@ as well as complete CRUD controllers. Installing and configuring -------------------------- -How to use it -------------- - Add these lines to your config file: ```php - 'modules' => [ - 'gii' => ['yii\gii\Module'] - ] +'modules' => [ + 'gii' => ['yii\gii\Module'] +] ``` +How to use it +------------- + Creating your own templates --------------------------- diff --git a/docs/guide/i18n.md b/docs/guide/i18n.md index 477de0a..3a538a0 100644 --- a/docs/guide/i18n.md +++ b/docs/guide/i18n.md @@ -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 extension. + +TBD: provided classes overview. \ No newline at end of file