| Conditions | 1 |
| Paths | 1 |
| Total Lines | 28 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 28 | public function init() |
||
| 29 | { |
||
| 30 | $this->setName('cv-form'); |
||
| 31 | |||
| 32 | $this->setForms(array( |
||
| 33 | 'contact' => array( |
||
| 34 | 'type' => 'Auth/UserInfo', |
||
| 35 | 'property' => 'contact' |
||
| 36 | ), |
||
| 37 | 'image' => array( |
||
| 38 | 'type' => 'CvContactImage', |
||
| 39 | 'property' => 'contact', |
||
| 40 | 'use_files_array' => true |
||
| 41 | ), |
||
| 42 | 'employments' => array( |
||
| 43 | 'type' => 'CvEmploymentCollection', |
||
| 44 | 'property' => 'employmentsIndexedById' |
||
| 45 | ), |
||
| 46 | 'educations' => array( |
||
| 47 | 'type' => 'CvEducationCollection', |
||
| 48 | 'property' => 'educationsIndexedById' |
||
| 49 | ), |
||
| 50 | 'skills' => array( |
||
| 51 | 'type' => 'CvSkillCollection', |
||
| 52 | 'property' => 'skillsIndexedById' |
||
| 53 | ) |
||
| 54 | )); |
||
| 55 | } |
||
| 56 | } |
||
| 57 |