Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4113 Rev 4268
Línea 60... Línea 60...
60
        $prototype = new JobDescriptionCompetencyBehavior();
60
        $prototype = new JobDescriptionCompetencyBehavior();
61
        return $this->executeFetchOneObject($select, $prototype);
61
        return $this->executeFetchOneObject($select, $prototype);
62
    }
62
    }
Línea 63... Línea -...
63
 
-
 
64
    
-
 
65
    /**
-
 
66
     *
-
 
67
     * @param int $job_description_id
-
 
68
     * @param int $competency_id
-
 
69
     * @return JobDescriptionCompetencyBehavior
-
 
70
     */
-
 
71
    public function fetchOneByJobDescriptionIdAndCompetencyId($job_description_id, $competency_id)
-
 
72
    {
-
 
73
        $select = $this->sql->select(self::_TABLE);
-
 
74
        $select->where->equalTo('job_description_id', $job_description_id);
-
 
75
        $select->where->equalTo('competency_id', $competency_id);
63
 
76
        $select->limit(1);
-
 
77
        
-
 
78
        $prototype = new JobDescriptionCompetencyBehavior();
-
 
Línea 79... Línea 64...
79
        return $this->executeFetchOneObject($select, $prototype);
64
    
80
    }
65
 
81
 
66
 
82
    /**
67
    /**
83
     *
68
     *
84
     * @param int $job_description_id
69
     * @param int $job_description_id
85
     * @param int $competency_id
70
     * @param int $competency_id
86
     * @param int $behavior_id
71
     * @param int $behavior_id
87
     * @return JobDescriptionCompetencyBehavior
72
     * @return JobDescriptionCompetencyBehavior
88
     */
73
     */
89
    public function fetchOneByBehavior($job_description_id, $competency_id, $behavior_id)
74
    public function fetchOneByJobDescriptionIdAndCompetencyIdAndBehaviorId($job_description_id, $competency_id, $behavior_id)
90
    {
75
    {
91
        $select = $this->sql->select(self::_TABLE);
76
        $select = $this->sql->select(self::_TABLE);