Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6327 Rev 6328
Línea 109... Línea 109...
109
     * @param int $id
109
     * @param int $id
110
     * @return User
110
     * @return User
111
     */
111
     */
112
    public function fetchOne($id)
112
    public function fetchOne($id)
113
    {
113
    {
114
        var_dump($id);
-
 
115
        die();
114
 
116
        $prototype = new User();
115
        $prototype = new User();
117
        $select = $this->sql->select(self::_TABLE);
116
        $select = $this->sql->select(self::_TABLE);
118
        $select->where->equalTo('id', $id);
117
        $select->where->equalTo('id', $id);
-
 
118
        var_dump([$select, $prototype]);
119
 
119
        die();
120
        return $this->executeFetchOneObject($select, $prototype);
120
        return $this->executeFetchOneObject($select, $prototype);
121
    }
121
    }
Línea 122... Línea 122...
122
 
122
 
123
    public function fetchOneRelation($id)
123
    public function fetchOneRelation($id)