Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 1 Rev 158
Línea 254... Línea 254...
254
        return $this->executeUpdate($update);
254
        return $this->executeUpdate($update);
255
    }
255
    }
Línea 256... Línea 256...
256
    
256
    
257
    /**
257
    /**
-
 
258
     *
-
 
259
     * @param string $uuid
-
 
260
     * @return Competency
-
 
261
     */
-
 
262
    public function fetchOneDefaultByExternalCode($external_code)
-
 
263
    {
-
 
264
        $select = $this->sql->select(self::_TABLE);
-
 
265
        $select->where->equalTo('external_code', $external_code);
-
 
266
        $select->where->isNull('company_id');
-
 
267
        $select->limit(1);
-
 
268
        
-
 
269
        $prototype = new Competency();
-
 
270
        return $this->executeFetchOneObject($select, $prototype);
-
 
271
    }
-
 
272
    
-
 
273
    
-
 
274
    /**
258
     *
275
     *
259
     * @param Competency $competency
276
     * @param Competency $competency
260
     * @return boolean
277
     * @return boolean
261
     */
278
     */
262
    public function delete($competency)
279
    public function delete($competency)