| @@ 3842-3869 (lines=28) @@ | ||
| 3839 | * @param string $lastConnectionDate |
|
| 3840 | * @return array users |
|
| 3841 | */ |
|
| 3842 | public static function get_users_followed_by_drh( |
|
| 3843 | $userId, |
|
| 3844 | $userStatus = 0, |
|
| 3845 | $getOnlyUserId = false, |
|
| 3846 | $getSql = false, |
|
| 3847 | $getCount = false, |
|
| 3848 | $from = null, |
|
| 3849 | $numberItems = null, |
|
| 3850 | $column = null, |
|
| 3851 | $direction = null, |
|
| 3852 | $active = null, |
|
| 3853 | $lastConnectionDate = null |
|
| 3854 | ) { |
|
| 3855 | return self::getUsersFollowedByUser( |
|
| 3856 | $userId, |
|
| 3857 | $userStatus, |
|
| 3858 | $getOnlyUserId, |
|
| 3859 | $getSql, |
|
| 3860 | $getCount, |
|
| 3861 | $from, |
|
| 3862 | $numberItems, |
|
| 3863 | $column, |
|
| 3864 | $direction, |
|
| 3865 | $active, |
|
| 3866 | $lastConnectionDate, |
|
| 3867 | DRH |
|
| 3868 | ); |
|
| 3869 | } |
|
| 3870 | ||
| 3871 | /** |
|
| 3872 | * Get users followed by human resource manager |
|
| @@ 4811-4828 (lines=18) @@ | ||
| 4808 | * @param string $lastConnectionDate |
|
| 4809 | * @return array users |
|
| 4810 | */ |
|
| 4811 | public static function getUsersFollowedByStudentBoss( |
|
| 4812 | $userId, |
|
| 4813 | $userStatus = 0, |
|
| 4814 | $getOnlyUserId = false, |
|
| 4815 | $getSql = false, |
|
| 4816 | $getCount = false, |
|
| 4817 | $from = null, |
|
| 4818 | $numberItems = null, |
|
| 4819 | $column = null, |
|
| 4820 | $direction = null, |
|
| 4821 | $active = null, |
|
| 4822 | $lastConnectionDate = null |
|
| 4823 | ){ |
|
| 4824 | return self::getUsersFollowedByUser( |
|
| 4825 | $userId, $userStatus, $getOnlyUserId, $getSql, $getCount, $from, $numberItems, $column, $direction, |
|
| 4826 | $active, $lastConnectionDate, STUDENT_BOSS |
|
| 4827 | ); |
|
| 4828 | } |
|
| 4829 | ||
| 4830 | /** |
|
| 4831 | * Get the teacher (users with COURSEMANGER status) list |
|