Browse Source

fixed doc.

tags/2.0.0-beta
Qiang Xue 13 years ago
parent
commit
bb92623f88
  1. 4
      framework/base/Component.php
  2. 1
      todo.md

4
framework/base/Component.php

@ -33,7 +33,6 @@ class Component extends \yii\base\Object
* This method will check in the following order and act accordingly:
*
* - a property defined by a getter: return the getter result
* - a behavior: return the behavior object
* - a property of a behavior: return the behavior property value
*
* Do not call this method directly as it is a PHP magic method that
@ -67,7 +66,8 @@ class Component extends \yii\base\Object
* This method will check in the following order and act accordingly:
*
* - a property defined by a setter: set the property value
* - an event: attach the handler to the event
* - an event in the format of "on xyz": attach the handler to the event "xyz"
* - a behavior in the format of "as xyz": attach the behavior named as "xyz"
* - a property of a behavior: set the behavior property value
*
* Do not call this method directly as it is a PHP magic method that

1
todo.md

@ -12,7 +12,6 @@
* FileValidator, UniqueValidator, ExistValidator, DateValidator: TBD
* consider merging UniqueValidator and ExistValidator and using a NOT property: array('!exist', …)
* when getting errors from getErrors it will be good to have which validator (at least type) failed exactly.
- console command support [DONE]
- built-in console commands
+ api doc builder
* support for markdown syntax

Loading…
Cancel
Save