mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	Fix typos in docs (#17084) [skip ci]
This commit is contained in:
		
				
					committed by
					
						
						Alexander Makarov
					
				
			
			
				
	
			
			
			
						parent
						
							6bd04093db
						
					
				
				
					commit
					31d3850a13
				
			@ -128,4 +128,4 @@ Added benefit is the option for a developer to override configuration in a modul
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Any request for a service to be retrieved from a module will be passed on to its parent in case the module is not able to satisfy it.
 | 
					Any request for a service to be retrieved from a module will be passed on to its parent in case the module is not able to satisfy it.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Note that configuration from components in a module is never merged with configuration from a component in a parent module. The Service Locator pattern allows us to define named services but one cannot assume servicees with the same name use the same configuration parameters.
 | 
					Note that configuration from components in a module is never merged with configuration from a component in a parent module. The Service Locator pattern allows us to define named services but one cannot assume services with the same name use the same configuration parameters.
 | 
				
			||||||
 | 
				
			|||||||
@ -40,7 +40,7 @@ Extension is a set of classes, asset bundles and configurations that adds more f
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## installation
 | 
					## installation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Installation is a process of preparing something to work either by following a readme file or by executing specially prepared script. In case of Yii it's setting permissions and fullfilling software requirements.
 | 
					Installation is a process of preparing something to work either by following a readme file or by executing specially prepared script. In case of Yii it's setting permissions and fulfilling software requirements.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# M
 | 
					# M
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -344,7 +344,7 @@ class CsvDataProvider extends BaseDataProvider
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
While you can build conditions for active data provider manually as described in
 | 
					While you can build conditions for active data provider manually as described in
 | 
				
			||||||
[Filtering Data](output-data-widgets.md#filtering-data) and [Separate Filter Form](output-data-widgets.md#separate-filter-form)
 | 
					[Filtering Data](output-data-widgets.md#filtering-data) and [Separate Filter Form](output-data-widgets.md#separate-filter-form)
 | 
				
			||||||
sections of data widgets guide, Yii has data filters that are very useful if you need flexible filter condtions.
 | 
					sections of data widgets guide, Yii has data filters that are very useful if you need flexible filter conditions.
 | 
				
			||||||
Data filters could be used as follows:
 | 
					Data filters could be used as follows:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```php
 | 
					```php
 | 
				
			||||||
 | 
				
			|||||||
@ -99,7 +99,7 @@ echo Yii::$app->formatter->asDate('now', 'php:Y-m-d'); // 2014-10-06
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
> Info: Some letters of the PHP format syntax are not supported by ICU and thus the PHP intl extension and can not be used
 | 
					> Info: Some letters of the PHP format syntax are not supported by ICU and thus the PHP intl extension and can not be used
 | 
				
			||||||
> in Yii formatter. Most of these (`w`, `t`, `L`, `B`, `u`, `I`, `Z`) are not really useful for formatting dates but rather
 | 
					> in Yii formatter. Most of these (`w`, `t`, `L`, `B`, `u`, `I`, `Z`) are not really useful for formatting dates but rather
 | 
				
			||||||
> used when doing date math. `S` and `U` however may be useful. Their behavior can be achived by doing the following:
 | 
					> used when doing date math. `S` and `U` however may be useful. Their behavior can be achieved by doing the following:
 | 
				
			||||||
>
 | 
					>
 | 
				
			||||||
> - for `S`, which is the English ordinal suffix for the day of the month (e.g. st, nd, rd or th.), the following replacement can be used:
 | 
					> - for `S`, which is the English ordinal suffix for the day of the month (e.g. st, nd, rd or th.), the following replacement can be used:
 | 
				
			||||||
>
 | 
					>
 | 
				
			||||||
 | 
				
			|||||||
@ -2,7 +2,7 @@ Security best practices
 | 
				
			|||||||
=======================
 | 
					=======================
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Below we'll review common security principles and describe how to avoid threats when developing applications using Yii.
 | 
					Below we'll review common security principles and describe how to avoid threats when developing applications using Yii.
 | 
				
			||||||
Most of these priciples are not unique to Yii alone but apply to website or software development in general,
 | 
					Most of these principles are not unique to Yii alone but apply to website or software development in general,
 | 
				
			||||||
so you will also find links for further reading on the general ideas behind these.
 | 
					so you will also find links for further reading on the general ideas behind these.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user