Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 863 Rev 902
Línea 91... Línea 91...
91
        return $this->executeFetchAllObject($select, $prototype);
91
        return $this->executeFetchAllObject($select, $prototype);
92
    }
92
    }
Línea 93... Línea 93...
93
 
93
 
94
    /**
94
    /**
95
     *
95
     *
96
     * @param int $selection_id
96
     * @param int $vacancy_id
97
     * @return RecruitmentSelectionCandidate
97
     * @return RecruitmentSelectionCandidate
98
     */
98
     */
99
    public function fetchAllBySelectionId($selection_id)
99
    public function fetchAllBySelectionId($vacancy_id)
100
    {
100
    {
Línea 101... Línea 101...
101
        $prototype = new RecruitmentSelectionCandidate();
101
        $prototype = new RecruitmentSelectionCandidate();
102
        
102
        
103
        $select = $this->sql->select(self::_TABLE);
103
        $select = $this->sql->select(self::_TABLE);
Línea 104... Línea 104...
104
        $select->where->equalTo('selection_id', $selection_id);
104
        $select->where->equalTo('selection_id', $vacancy_id);
105
        $select->order('first_name');
105
        $select->order('first_name');
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('vacancy_id', $vacancy_id);
122
        $select->where->equalTo('selection_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