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 ...@@ -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. 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 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> 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 ...@@ -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 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 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. > 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. 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