Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 607 Rev 609
Línea 86... Línea 86...
86
    }
86
    }
Línea 87... Línea 87...
87
 
87
 
88
    /**
88
    /**
89
     *
89
     *
-
 
90
     * @param int $job_description_id
-
 
91
     * @param int $competency_id
-
 
92
     * @param int $behavior_id
-
 
93
     * @return JobDescriptionBehaviorCompetency
-
 
94
     */
-
 
95
    public function fetchOneByBehavior($job_description_id, $competency_id, $behavior_id)
-
 
96
    {
-
 
97
        $select = $this->sql->select(self::_TABLE);
-
 
98
        $select->where->equalTo('job_description_id', $job_description_id);
-
 
99
        $select->where->equalTo('behavior_id', $behavior_id);
-
 
100
        $select->where->equalTo('competency_id', $competency_id);
-
 
101
        $select->limit(1);
-
 
102
        
-
 
103
        $prototype = new JobDescriptionBehaviorCompetency();
-
 
104
        return $this->executeFetchOneObject($select, $prototype);
-
 
105
    }
-
 
106
 
-
 
107
    /**
-
 
108
     *
90
     * @param int $job_description_id
109
     * @param int $job_description_id
91
     * @return JobDescriptionBehaviorCompetency
110
     * @return JobDescriptionBehaviorCompetency
92
     */
111
     */
93
    public function fetchByJobDescriptionId($job_description_id)
112
    public function fetchByJobDescriptionId($job_description_id)
94
    {
113
    {