mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	Merge pull request #6891 from kartik-v/patch-1
More correct usage of TimeStamp touch method
This commit is contained in:
		@ -53,7 +53,7 @@ use yii\db\Expression;
 | 
				
			|||||||
 * timestamp to the specified attribute(s) and save them to the database. For example,
 | 
					 * timestamp to the specified attribute(s) and save them to the database. For example,
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * ```php
 | 
					 * ```php
 | 
				
			||||||
 * $this->timestamp->touch('creation_time');
 | 
					 * $model->touch('creation_time');
 | 
				
			||||||
 * ```
 | 
					 * ```
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @author Qiang Xue <qiang.xue@gmail.com>
 | 
					 * @author Qiang Xue <qiang.xue@gmail.com>
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user