| Total Complexity | 5 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class SkillRelProfileModel extends Model |
||
| 6 | { |
||
| 7 | public $columns = ['id', 'skill_id', 'profile_id']; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Constructor. |
||
| 11 | */ |
||
| 12 | public function __construct() |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param int $profileId |
||
| 20 | * |
||
| 21 | * @return array |
||
| 22 | */ |
||
| 23 | public function getSkillsByProfile($profileId) |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * This function is for getting profile info from profile_id. |
||
| 39 | * |
||
| 40 | * @param int $profileId |
||
| 41 | * |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | public function getProfileInfo($profileId) |
||
| 57 |