Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 721 Rev 863
Línea 104... Línea 104...
104
        $select->where->equalTo('selection_id', $selection_id);
104
        $select->where->equalTo('selection_id', $selection_id);
105
        $select->order('first_name');
105
        $select->order('first_name');
Línea 106... Línea 106...
106
        
106
        
107
        return $this->executeFetchAllObject($select, $prototype);
107
        return $this->executeFetchAllObject($select, $prototype);
-
 
108
    }
-
 
109
 
-
 
110
     /**
-
 
111
     *
-
 
112
     * @param int $company_id
-
 
113
     * @param int $vacancy_id
-
 
114
     * @return RecruitmentSelectioncandidate[]
-
 
115
     */
-
 
116
    public function fetchAllByCompanyIdAndVacancyId($company_id, $vacancy_id)
-
 
117
    {
-
 
118
        $prototype = new RecruitmentSelectioncandidate();
-
 
119
        
-
 
120
        $select = $this->sql->select(self::_TABLE);
-
 
121
        $select->where->equalTo('company_id', $company_id);
-
 
122
        $select->where->equalTo('vacancy_id', $vacancy_id);
-
 
123
        $select->order(['order', 'firs_name']);
-
 
124
        
-
 
125
        //echo $select->getSqlString($this->adapter->platform); exit;
-
 
126
        
-
 
127
        return $this->executeFetchAllObject($select, $prototype);
Línea 108... Línea 128...
108
    }
128
    }
109
    
129
    
110
     /**
130
     /**
111
     *
131
     *