Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 603 Rev 604
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
     *
89
     *
90
     * @param int $behavior_id
90
     * @param int $competency_id
91
     * @return BehaviorCompetency
91
     * @return BehaviorCompetency
92
     */
92
     */
93
    public function fetchByBehaviorId($behavior_id)
93
    public function fetchByCopetencyId($competency_id)
94
    {
94
    {
95
        $select = $this->sql->select(self::_TABLE);
95
        $select = $this->sql->select(self::_TABLE);
Línea 96... Línea 96...
96
        $select->where->equalTo('behavior_id', $behavior_id);
96
        $select->where->equalTo('competency_id', $competency_id);
97
        
97
        
98
        $prototype = new BehaviorCompetency();
98
        $prototype = new BehaviorCompetency();