From d3a450f5fdd37966326eb5bd7c8cc3b21a3ea921 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 15 Dec 2013 13:55:11 -0500 Subject: [PATCH] doc fix. --- framework/yii/base/Module.php | 4 ++-- framework/yii/behaviors/AutoTimestamp.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/yii/base/Module.php b/framework/yii/base/Module.php index 1dd243e..dcb74d2 100644 --- a/framework/yii/base/Module.php +++ b/framework/yii/base/Module.php @@ -166,8 +166,8 @@ abstract class Module extends Component /** * Initializes the module. * This method is called after the module is created and initialized with property values - * given in configuration. The default implementation will create a path alias using the module [[id]] - * and then call [[preloadComponents()]] to load components that are declared in [[preload]]. + * given in configuration. The default implementation will call [[preloadComponents()]] to + * load components that are declared in [[preload]]. * * If you override this method, please make sure you call the parent implementation. */ diff --git a/framework/yii/behaviors/AutoTimestamp.php b/framework/yii/behaviors/AutoTimestamp.php index 0e0844a..432527a 100644 --- a/framework/yii/behaviors/AutoTimestamp.php +++ b/framework/yii/behaviors/AutoTimestamp.php @@ -39,7 +39,7 @@ class AutoTimestamp extends Behavior /** * @var array list of attributes that are to be automatically filled with timestamps. * The array keys are the ActiveRecord events upon which the attributes are to be filled with timestamps, - * and the array values are the corresponding attribute to be updated. You can use a string to represent + * and the array values are the corresponding attribute(s) to be updated. You can use a string to represent * a single attribute, or an array to represent a list of attributes. * The default setting is to update the `create_time` attribute upon AR insertion, * and update the `update_time` attribute upon AR updating.