Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3639 Rev 3649
Línea 158... Línea 158...
158
        $select->where->equalTo('password_reset_key', $password_reset_key);
158
        $select->where->equalTo('password_reset_key', $password_reset_key);
Línea 159... Línea 159...
159
        
159
        
160
        return $this->executeFetchOneObject($select, $prototype);
160
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 161...
-
 
161
    }
-
 
162
    
-
 
163
    
-
 
164
    /**
-
 
165
     *
-
 
166
     * @param string $password_reset_key
-
 
167
     * @param int $network_id
-
 
168
     * @return void|User
-
 
169
     */
-
 
170
    public function fetchOneByPasswordResetKeyAndNetworkId($password_reset_key, $network_id)
-
 
171
    {
-
 
172
        $prototype = new User();
-
 
173
        $select = $this->sql->select(self::_TABLE);
-
 
174
        $select->where->equalTo('password_reset_key', $password_reset_key);
-
 
175
        $select->where->equalTo('network_id', $network_id);
-
 
176
        
-
 
177
        return $this->executeFetchOneObject($select, $prototype);
161
    }
178
    }
162
    
179
    
163
    /**
180
    /**
164
     * 
181
     * 
165
     * @param string $activation_key
182
     * @param string $activation_key
Línea 172... Línea 189...
172
        $select->where->equalTo('activation_key', $activation_key);
189
        $select->where->equalTo('activation_key', $activation_key);
Línea 173... Línea 190...
173
        
190
        
174
        return $this->executeFetchOneObject($select, $prototype);
191
        return $this->executeFetchOneObject($select, $prototype);
Línea -... Línea 192...
-
 
192
    }
-
 
193
    
-
 
194
    /**
-
 
195
     *
-
 
196
     * @param string $activation_key
-
 
197
     * @param int $network_id
-
 
198
     * @return void|User
-
 
199
     */
-
 
200
    public function fetchOneByActivationKeyAndNetwork_id($activation_key, $network_id)
-
 
201
    {
-
 
202
        $prototype = new User();
-
 
203
        $select = $this->sql->select(self::_TABLE);
-
 
204
        $select->where->equalTo('activation_key', $activation_key);
-
 
205
        $select->where->equalTo('network_id', $network_id);
-
 
206
        
-
 
207
        return $this->executeFetchOneObject($select, $prototype);
Línea 175... Línea 208...
175
    }
208
    }
176
    
209
    
177
    
210
    
178
    /**
211
    /**