Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cornernote committed May 9, 2014
1 parent e0298c3 commit 6376991
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,22 @@ ModelDoc Generator will extend Gii too allow you to update your existing models

## Features

- Adds properties for each field in the table.
- Adds a property for each relation.
- Adds methods inherited from CActiveRecord.
- Adds mixin for each behavior.
- All methods contain full syntax, including params and returns.
- **Table Fields**
- Adds properties for each field.
- Properties are annotated with field comments from the database.
- **Relations**
- Adds a property with a return type for each relation.
- **CActiveRecord Inheritance**
- Adds methods inherited from CActiveRecord including: find(), findByPk(), findByAttributes(), fndBySql(), findAll(), findAllByPk(), findAllByAttributes(), findAllBySql(), with(), together(), cache(), resetScope(), populateRecord() and populateRecords().
- **Behaviors**
- Adds a property with a return type for each behavior.
- Adds methods assigned for behaviors, unless it is defined by the model itself.
- Optionally uses @mixin for behaviors.
- **Scopes**
- Adds a method for each scope.
- **Full Syntax**
- All PHPDoc tags contain full syntax including: method params and return types.
- All returned models have namespace support.


## Screenshots
Expand Down

0 comments on commit 6376991

Please sign in to comment.