| @@ 3855-3882 (lines=28) @@ | ||
| 3852 | * @param string $lastConnectionDate |
|
| 3853 | * @return array users |
|
| 3854 | */ |
|
| 3855 | public static function get_users_followed_by_drh( |
|
| 3856 | $userId, |
|
| 3857 | $userStatus = 0, |
|
| 3858 | $getOnlyUserId = false, |
|
| 3859 | $getSql = false, |
|
| 3860 | $getCount = false, |
|
| 3861 | $from = null, |
|
| 3862 | $numberItems = null, |
|
| 3863 | $column = null, |
|
| 3864 | $direction = null, |
|
| 3865 | $active = null, |
|
| 3866 | $lastConnectionDate = null |
|
| 3867 | ) { |
|
| 3868 | return self::getUsersFollowedByUser( |
|
| 3869 | $userId, |
|
| 3870 | $userStatus, |
|
| 3871 | $getOnlyUserId, |
|
| 3872 | $getSql, |
|
| 3873 | $getCount, |
|
| 3874 | $from, |
|
| 3875 | $numberItems, |
|
| 3876 | $column, |
|
| 3877 | $direction, |
|
| 3878 | $active, |
|
| 3879 | $lastConnectionDate, |
|
| 3880 | DRH |
|
| 3881 | ); |
|
| 3882 | } |
|
| 3883 | ||
| 3884 | /** |
|
| 3885 | * Get users followed by human resource manager |
|
| @@ 4824-4841 (lines=18) @@ | ||
| 4821 | * @param string $lastConnectionDate |
|
| 4822 | * @return array users |
|
| 4823 | */ |
|
| 4824 | public static function getUsersFollowedByStudentBoss( |
|
| 4825 | $userId, |
|
| 4826 | $userStatus = 0, |
|
| 4827 | $getOnlyUserId = false, |
|
| 4828 | $getSql = false, |
|
| 4829 | $getCount = false, |
|
| 4830 | $from = null, |
|
| 4831 | $numberItems = null, |
|
| 4832 | $column = null, |
|
| 4833 | $direction = null, |
|
| 4834 | $active = null, |
|
| 4835 | $lastConnectionDate = null |
|
| 4836 | ){ |
|
| 4837 | return self::getUsersFollowedByUser( |
|
| 4838 | $userId, $userStatus, $getOnlyUserId, $getSql, $getCount, $from, $numberItems, $column, $direction, |
|
| 4839 | $active, $lastConnectionDate, STUDENT_BOSS |
|
| 4840 | ); |
|
| 4841 | } |
|
| 4842 | ||
| 4843 | /** |
|
| 4844 | * Get the teacher (users with COURSEMANGER status) list |
|