Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 192 Rev 525
Línea 85... Línea 85...
85
        return $this->executeFetchOneObject($select, $prototype);
85
        return $this->executeFetchOneObject($select, $prototype);
86
    }
86
    }
Línea 87... Línea 87...
87
 
87
 
88
    /**
88
    /**
-
 
89
     *
-
 
90
     * @param int $job_description_id
-
 
91
     * @param int $competency_id
-
 
92
     * @return JobDescriptionCompetency
-
 
93
     */
-
 
94
    public function fetchByJobDescriptionIdAndCompetencyId($job_description_id, $competency_id)
-
 
95
    {
-
 
96
        $select = $this->sql->select(self::_TABLE);
-
 
97
        $select->where->equalTo('job_description_id', $job_description_id);
-
 
98
        $select->where->equalTo('competency_id', $competency_id);
-
 
99
        $select->limit(1);
-
 
100
        
-
 
101
        $prototype = new JobDescriptionCompetency();
-
 
102
        return $this->executeFetchOneObject($select, $prototype);
-
 
103
    }
-
 
104
 
-
 
105
    /**
89
     *
106
     *
90
     * @param JobDescriptionCompetency $jobDescriptionCompetency
107
     * @param JobDescriptionCompetency $jobDescriptionCompetency
91
     * @return boolean
108
     * @return boolean
92
     */
109
     */
93
    public function insert($jobDescriptionCompetency)
110
    public function insert($jobDescriptionCompetency)