Skip to content

Commit

Permalink
Update CreatingAnCustomModel.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasFranek authored Apr 18, 2017
1 parent 2635306 commit 2f4430b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/AdvancedUsage/CreatingAnCustomModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ php vendor/tfranek/webuntis/bin/console.php webuntis:generate:model

follow the instruction in the console.

##Types
## Types

For the models there are different types and these are defined as types, types that are integrated in the core are:

Expand All @@ -23,6 +23,6 @@ For the models there are different types and these are defined as types, types t
* model - is an subordinate object that need parameter to find it in the api
* modelCollection - is an collection of subordinate objects

##YML Configuration
## YML Configuration

All your configuration that you set(fieldnames, custom repos) are saved in .yml files with these files the class can automatically generate a parse() function to assign the right api value to the right model values.
All your configuration that you set(fieldnames, custom repos) are saved in .yml files with these files the class can automatically generate a parse() function to assign the right api value to the right model values.

0 comments on commit 2f4430b

Please sign in to comment.