Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1444 Rev 1485
Línea 47... Línea 47...
47
    }
47
    }
Línea 48... Línea 48...
48
    
48
    
49
    /**
49
    /**
50
     * 
50
     * 
51
     * @param int $id
51
     * @param int $id
52
     * @return Survey
52
     * @return SurveyTest
53
     */
53
     */
54
    public function fetchOne($id)
54
    public function fetchOne($id)
55
    {
55
    {
Línea 56... Línea 56...
56
        $prototype = new Survey();
56
        $prototype = new SurveyTest();
57
        
57
        
Línea 58... Línea 58...
58
        $select = $this->sql->select(self::_TABLE);
58
        $select = $this->sql->select(self::_TABLE);
Línea 63... Línea 63...
63
    
63
    
64
    
64
    
65
    /**
65
    /**
66
     *
66
     *
67
     * @param int $uuid
67
     * @param int $uuid
68
     * @return Survey
68
     * @return SurveyTest
69
     */
69
     */
70
    public function fetchOneByUuid($uuid)
70
    public function fetchOneByUuid($uuid)
71
    {
71
    {
72
        $prototype = new Survey();
72
        $prototype = new SurveyTest();
Línea 73... Línea 73...
73
        $select = $this->sql->select(self::_TABLE);
73
        $select = $this->sql->select(self::_TABLE);
74
        $select->where->equalTo('uuid', $uuid);
74
        $select->where->equalTo('uuid', $uuid);