Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2068 Rev 2158
Línea 97... Línea 97...
97
 
97
 
98
    public function fetchOneHptg($id)
98
    public function fetchOneHptg($id)
99
    {
99
    {
100
        $prototype = new ChatGroup();
100
        $prototype = new ChatGroup();
101
        $select = $this->sql->select(self::_TABLE);
101
        $select = $this->sql->select(self::_TABLE);
102
        $select->where->equalTo('high_performance_team_groups_id', $id);
102
        $select->where->equalTo('high_performance_team_group_id', $id);
103
        $select->limit(1);
103
        $select->limit(1);
104
        return $this->executeFetchOneObject($select, $prototype);
104
        return $this->executeFetchOneObject($select, $prototype);
Línea 125... Línea 125...
125
        $values = $hydrator->extract($form);
125
        $values = $hydrator->extract($form);
126
        $values = $this->removeEmpty($values);
126
        $values = $this->removeEmpty($values);
Línea 127... Línea 127...
127
        
127
        
128
        $update = $this->sql->update(self::_TABLE);
128
        $update = $this->sql->update(self::_TABLE);
129
        $update->set($values);
129
        $update->set($values);
130
        $update->where->equalTo('high_performance_team_groups_id', $form->high_performance_team_groups_id );
130
        $update->where->equalTo('high_performance_team_group_id', $form->high_performance_team_group_id );
131
        return $this->executeUpdate($update); 
131
        return $this->executeUpdate($update);