Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1 Rev 2070
Línea 169... Línea 169...
169
        $select->limit(1);
169
        $select->limit(1);
Línea 170... Línea 170...
170
        
170
        
171
        return $this->executeFetchOneObject($select, $prototype);
171
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 172...
-
 
172
    }
-
 
173
    
-
 
174
    public function updateHptg($form)
-
 
175
    {
-
 
176
        $hydrator = new ObjectPropertyHydrator();
172
    }
177
        $values = $hydrator->extract($form);
-
 
178
        $values = $this->removeEmpty($values);
-
 
179
        
-
 
180
        $update = $this->sql->update(self::_TABLE);
-
 
181
        $update->set($values);
-
 
182
        $update->where->equalTo('high_performance_team_groups_id', $form->high_performance_team_groups_id );
Línea 173... Línea 183...
173
    
183
        return $this->executeUpdate($update); 
174
    
184
    }