Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 302 Rev 310
Línea 262... Línea 262...
262
        $select->where->equalTo('id', $id);
262
        $select->where->equalTo('id', $id);
Línea 263... Línea 263...
263
        
263
        
264
        return $this->executeFetchOneObject($select, $prototype);
264
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 265...
-
 
265
    }
-
 
266
    
-
 
267
    /**
-
 
268
     *
-
 
269
     * @param int $company_id
-
 
270
     * @param int $user_is
-
 
271
     * return HabitUser
-
 
272
     */
-
 
273
    public function fetchOneByCompanyIdAndUserId($company_id, $user_id)
-
 
274
    {
-
 
275
        $prototype = new HabitUser();
-
 
276
        $select = $this->sql->select();
-
 
277
        $select->from(self::_TABLE);
265
    }
278
        $select->where->equalTo('company_id', $company_id);
-
 
279
        $select->where->equalTo('useR_id', $user_id);
-
 
280
        
Línea 266... Línea 281...
266
    
281
        return $this->executeFetchOneObject($select, $prototype);