Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1 Rev 5050
Línea 46... Línea 46...
46
     * @param int $id
46
     * @param int $id
47
     * @return Application
47
     * @return Application
48
     */
48
     */
49
    public function fetchOne($id)
49
    public function fetchOne($id)
50
    {
50
    {
-
 
51
        $prototype = new Application();
-
 
52
        
Línea 51... Línea 53...
51
        
53
        
52
        $select = $this->sql->select(self::_TABLE);
54
        $select = $this->sql->select(self::_TABLE);
Línea 53... Línea 55...
53
        $select->where->equalTo('id', $id);
55
        $select->where->equalTo('id', $id);
54
        
56
        
55
        $prototype = new Application();
57
        $prototype = new Application();
Línea -... Línea 58...
-
 
58
        return $this->executeFetchOneObject($select, $prototype);
-
 
59
    }
-
 
60
    
56
        return $this->executeFetchOneObject($select, $prototype);
61
    
57
    }
62
    
58
    
63
 
59
    
64
    
60
    /**
65
    /**