Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 902 | Rev 1059 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 902 Rev 1012
Línea 99... Línea 99...
99
    public function fetchAllBySelectionId($vacancy_id)
99
    public function fetchAllBySelectionId($vacancy_id)
100
    {
100
    {
101
        $prototype = new RecruitmentSelectionCandidate();
101
        $prototype = new RecruitmentSelectionCandidate();
Línea 102... Línea 102...
102
        
102
        
103
        $select = $this->sql->select(self::_TABLE);
103
        $select = $this->sql->select(self::_TABLE);
104
        $select->where->equalTo('selection_id', $vacancy_id);
104
        $select->where->equalTo('vacancy_id', $vacancy_id);
Línea 105... Línea 105...
105
        $select->order('first_name');
105
        $select->order('first_name');
106
        
106
        
Línea 117... Línea 117...
117
    {
117
    {
118
        $prototype = new RecruitmentSelectioncandidate();
118
        $prototype = new RecruitmentSelectioncandidate();
Línea 119... Línea 119...
119
        
119
        
120
        $select = $this->sql->select(self::_TABLE);
120
        $select = $this->sql->select(self::_TABLE);
121
        $select->where->equalTo('company_id', $company_id);
121
        $select->where->equalTo('company_id', $company_id);
122
        $select->where->equalTo('selection_id', $vacancy_id);
122
        $select->where->equalTo('vacancy_id', $vacancy_id);
Línea 123... Línea 123...
123
        $select->order(['order', 'firs_name']);
123
        $select->order(['order', 'firs_name']);
Línea 124... Línea 124...
124
        
124
        
Línea 132... Línea 132...
132
     * @param int $company_id
132
     * @param int $company_id
133
     * @param int $selection_id
133
     * @param int $selection_id
134
     * @param int $user_id
134
     * @param int $user_id
135
     * @return RecruitmentSelectionCandidate
135
     * @return RecruitmentSelectionCandidate
136
     */
136
     */
137
    public function fetchAllByCompanyIdAndSelectionIdAndUserId($company_id, $selection_id, $user_id)
137
    public function fetchAllByCompanyIdAndSelectionIdAndUserId($company_id, $vacancy_id, $user_id)
138
    {
138
    {
139
        $prototype = new RecruitmentSelectionCandidate();
139
        $prototype = new RecruitmentSelectionCandidate();
Línea 140... Línea 140...
140
        
140
        
141
        $select = $this->sql->select(self::_TABLE);
141
        $select = $this->sql->select(self::_TABLE);
142
        $select->where->equalTo('company_id', $company_id);
142
        $select->where->equalTo('company_id', $company_id);
143
        $select->where->equalTo('selection_id', $selection_id);
143
        $select->where->equalTo('vacancy_id', $vacancy_id);
Línea 144... Línea 144...
144
        $select->where->equalTo('user_id', $user_id);
144
        $select->where->equalTo('user_id', $user_id);
145
        
145