Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4776 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4776 Rev 5050
Línea 90... Línea 90...
90
        $select->where->equalTo('company_id', $company_id);
90
        $select->where->equalTo('company_id', $company_id);
91
        $select->order('name');
91
        $select->order('name');
Línea 92... Línea 92...
92
        
92
        
93
        return $this->executeFetchOneObject($select, $prototype);
93
        return $this->executeFetchOneObject($select, $prototype);
-
 
94
    }
-
 
95
    
-
 
96
    /**
-
 
97
     * 
-
 
98
     * @param int $vacancy_id
-
 
99
     * @return RecruitmentSelectionFile[]
-
 
100
     */
-
 
101
    public function fetchAllByVacancyId($vacancy_id)
-
 
102
    {
-
 
103
        $prototype = new RecruitmentSelectionFile();
-
 
104
        
-
 
105
        $select = $this->sql->select(self::_TABLE);
-
 
106
        $select->where->equalTo('vacancy_id', $vacancy_id);
-
 
107
        $select->order('name');
-
 
108
        
-
 
109
        return $this->executeFetchAllObject($select, $prototype);
Línea 94... Línea 110...
94
    }
110
    }
95
 
111