Commit a9e91efe by Carsten Brandt

small fixes thoughout the guide

parent 2fbce2fa
...@@ -82,7 +82,7 @@ Working with Databases ...@@ -82,7 +82,7 @@ Working with Databases
* **TBD** [Sphinx](db-sphinx.md) * **TBD** [Sphinx](db-sphinx.md)
* **TBD** [Redis](db-redis.md) * **TBD** [Redis](db-redis.md)
* **TBD** [MongoDB](db-mongodb.md) * **TBD** [MongoDB](db-mongodb.md)
* **TBD** [ElasticSearch](db-elastic-search.md) * **TBD** [ElasticSearch](db-elasticsearch.md)
Getting Data from Users Getting Data from Users
...@@ -97,7 +97,7 @@ Getting Data from Users ...@@ -97,7 +97,7 @@ Getting Data from Users
Displaying Data Displaying Data
--------------- ---------------
* **TBD** [Data Formatting](output-formatting.md) * **TBD** [Data Formatting](output-formatter.md)
* **TBD** [Pagination](output-pagination.md) * **TBD** [Pagination](output-pagination.md)
* **TBD** [Sorting](output-sorting.md) * **TBD** [Sorting](output-sorting.md)
* [Data Providers](output-data-providers.md) * [Data Providers](output-data-providers.md)
......
...@@ -68,7 +68,8 @@ For more details about the available properties check out the [[yii\i18n\Formatt ...@@ -68,7 +68,8 @@ For more details about the available properties check out the [[yii\i18n\Formatt
'decimalSeparator' => ',', 'decimalSeparator' => ',',
'thousandSeparator' => ' ', 'thousandSeparator' => ' ',
'currencyCode' => 'EUR', 'currencyCode' => 'EUR',
]; ],
],
``` ```
Formatting Dates Formatting Dates
......
...@@ -25,9 +25,9 @@ This section will summarize the Yii resources available to help you be more prod ...@@ -25,9 +25,9 @@ This section will summarize the Yii resources available to help you be more prod
* [Extensions](http://www.yiiframework.com/extensions/): * [Extensions](http://www.yiiframework.com/extensions/):
Yii boasts a library of thousands of user-contributed extensions that can be easily plugged into your applications, thereby making your application development even faster and easier. Yii boasts a library of thousands of user-contributed extensions that can be easily plugged into your applications, thereby making your application development even faster and easier.
* Community * Community
- [Forum](http://www.yiiframework.com/forum/) - Forum: <http://www.yiiframework.com/forum/>
- [GitHub](https://github.com/yiisoft/yii2) - IRC chat: The #yii channel on the freenode network (<irc://irc.freenode.net/yii>)
- [Facebook](https://www.facebook.com/groups/yiitalk/) - GitHub: <https://github.com/yiisoft/yii2>
- [Twitter](https://twitter.com/yiiframework) - Facebook: <https://www.facebook.com/groups/yiitalk/>
- [LinkedIn](https://www.linkedin.com/groups/yii-framework-1483367) - Twitter: <https://twitter.com/yiiframework>
- LinkedIn: <https://www.linkedin.com/groups/yii-framework-1483367>
...@@ -87,6 +87,8 @@ Predefined path aliases ...@@ -87,6 +87,8 @@ Predefined path aliases
- `@console` - console directory. - `@console` - console directory.
- `@runtime` - runtime directory of currently running web application. - `@runtime` - runtime directory of currently running web application.
- `@vendor` - Composer vendor directory. - `@vendor` - Composer vendor directory.
- `@bower` - vendor directory that contains the [bower packages](http://bower.io/).
- `@npm` - vendor directory that contains [npm packages](https://www.npmjs.org/).
- `@web` - base URL of currently running web application. - `@web` - base URL of currently running web application.
- `@webroot` - web root directory of currently running web application. - `@webroot` - web root directory of currently running web application.
......
...@@ -7,8 +7,8 @@ Internationalization (I18N) refers to the process of designing a software applic ...@@ -7,8 +7,8 @@ Internationalization (I18N) refers to the process of designing a software applic
various languages and regions without engineering changes. For Web applications, this is of particular importance various languages and regions without engineering changes. For Web applications, this is of particular importance
because the potential users may be worldwide. because the potential users may be worldwide.
Yii offers several tools that help with internationalisation of a website such as [message translation][], Yii offers several tools that help with internationalisation of a website such as message translation and
[number and date formatting][]. number- and date-formatting.
Locale and Language Locale and Language
------------------- -------------------
......
...@@ -41,6 +41,7 @@ class ApiMarkdownLaTeX extends GithubMarkdown ...@@ -41,6 +41,7 @@ class ApiMarkdownLaTeX extends GithubMarkdown
{ {
list($html, $offset) = $this->parseApiLinks($text); list($html, $offset) = $this->parseApiLinks($text);
// TODO allow break also on camel case
$latex = '\texttt{'.str_replace(['\\textbackslash', '::'], ['\allowbreak{}\\textbackslash', '\allowbreak{}::\allowbreak{}'], $this->escapeLatex(strip_tags($html))).'}'; $latex = '\texttt{'.str_replace(['\\textbackslash', '::'], ['\allowbreak{}\\textbackslash', '\allowbreak{}::\allowbreak{}'], $this->escapeLatex(strip_tags($html))).'}';
return [$latex, $offset]; return [$latex, $offset];
......
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