Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1 Rev 535
Línea 336... Línea 336...
336
        $update->where->equalTo('id', $company->id);
336
        $update->where->equalTo('id', $company->id);
Línea 337... Línea 337...
337
        
337
        
Línea 338... Línea 338...
338
        return $this->executeUpdate($update);
338
        return $this->executeUpdate($update);
-
 
339
        
-
 
340
    }
-
 
341
 
-
 
342
    /**
-
 
343
     *
-
 
344
     * @param Company $company
-
 
345
     * @return boolean
-
 
346
     */
-
 
347
    public function updateHeader($company)
-
 
348
    {
-
 
349
        $values = [
-
 
350
            'header' => $company->header,
-
 
351
        ];
-
 
352
        
-
 
353
        $update = $this->sql->update(self::_TABLE);
-
 
354
        $update->set($values);
-
 
355
        $update->where->equalTo('id', $company->id);
-
 
356
        
-
 
357
        return $this->executeUpdate($update);
-
 
358
        
-
 
359
    }
-
 
360
 
-
 
361
    /**
-
 
362
     *
-
 
363
     * @param Company $company
-
 
364
     * @return boolean
-
 
365
     */
-
 
366
    public function updateFooter($company)
-
 
367
    {
-
 
368
        $values = [
-
 
369
            'footer' => $company->footer,
-
 
370
        ];
-
 
371
        
-
 
372
        $update = $this->sql->update(self::_TABLE);
-
 
373
        $update->set($values);
-
 
374
        $update->where->equalTo('id', $company->id);
-
 
375
        
-
 
376
        return $this->executeUpdate($update);
Línea 339... Línea 377...
339
        
377
        
340
    }
378
    }
341
    
379
    
342
    /**
380
    /**