Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 427 Rev 428
Línea 143... Línea 143...
143
     */
143
     */
144
    public function insert($feed)
144
    public function insert($feed)
145
    {
145
    {
146
        $hydrator = new ObjectPropertyHydrator();
146
        $hydrator = new ObjectPropertyHydrator();
147
        $values = $hydrator->extract($feed);
147
        $values = $hydrator->extract($feed);
148
        //$values = $this->removeEmpty($values);
148
        $values = $this->removeEmpty($values);
Línea 149... Línea 149...
149
        
149
        
150
        $insert = $this->sql->insert(self::_TABLE);
150
        $insert = $this->sql->insert(self::_TABLE);
Línea 151... Línea 151...
151
        $insert->values($values);
151
        $insert->values($values);