mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	improved docs for #13576
This commit is contained in:
		@ -432,9 +432,10 @@ class BaseHtml
 | 
				
			|||||||
     * the attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].
 | 
					     * the attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].
 | 
				
			||||||
     * If a value is null, the corresponding attribute will not be rendered.
 | 
					     * If a value is null, the corresponding attribute will not be rendered.
 | 
				
			||||||
     * See [[renderTagAttributes()]] for details on how attributes are being rendered.
 | 
					     * See [[renderTagAttributes()]] for details on how attributes are being rendered.
 | 
				
			||||||
     * @since 2.0.12 It is possible to pass the "srcset" option as an array which keys are
 | 
					     *
 | 
				
			||||||
 | 
					     * Since version 2.0.12 It is possible to pass the `srcset` option as an array which keys are
 | 
				
			||||||
     * descriptors and values are URLs. All URLs will be processed by [[Url::to()]].
 | 
					     * descriptors and values are URLs. All URLs will be processed by [[Url::to()]].
 | 
				
			||||||
     * @return string the generated image tag
 | 
					     * @return string the generated image tag.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static function img($src, $options = [])
 | 
					    public static function img($src, $options = [])
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user