Commit 71176b19 by Larry Ullman

Picking nits

parent 2d736bf9
......@@ -7,7 +7,7 @@ a mailer object may trigger a `messageSent` event when it successfully sends a m
track of the messages that are successfully sent, you could then simply attach the tracking code to the `messageSent` event.
Yii introduces a base class called [[yii\base\Component]] to support events. If a class needs to trigger
events, it should extend from [[yii\base\Component]] or a child class.
events, it should extend from [[yii\base\Component]], or from a child class.
Triggering Events <a name="triggering-events"></a>
......
......@@ -14,7 +14,7 @@ property. If, in the future, the `label` property gets a new requirement, such a
To solve this problem, Yii introduces a base class called [[yii\base\Object]] that supports defining properties
based on *getter* and *setter* class methods. If a class needs that functionality, it should extend from
[[yii\base\Object]], or a child class.
[[yii\base\Object]], or from a child class.
> Info: Nearly every core class in the Yii framework extends from [[yii\base\Object]] or a child class.
This means that whenever you see a getter or setter in a core class, you can use it like a property.
......
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