original_string: protected function resetPasswordStart(array $data)
      {
          $data['user']['data']['reset_password'] = array(
              'token' => gplcart_string_random(),
              'expires' => GC_TIME + $this->user->getResetPasswordLifespan(),
          );
  
          $this->user->update($data['user']['user_id'], array('data' => $data['user']['data']));
          $this->mail->set('user_reset_password', array($data['user']));
  
          return $this->getResultResetPasswordStart();
      }
code: protected function resetPasswordStart(array $data)
      {
          $data['user']['data']['reset_password'] = array(
              'token' => gplcart_string_random(),
              'expires' => GC_TIME + $this->user->getResetPasswordLifespan(),
          );
  
          $this->user->update($data['user']['user_id'], array('data' => $data['user']['data']));
          $this->mail->set('user_reset_password', array($data['user']));
  
          return $this->getResultResetPasswordStart();
      }
code_tokens: protected function resetPasswordStart ( array $ data ) { $ data [ 'user' ] [ 'data' ] [ 'reset_password' ] = array ( 'token' => gplcart_string_random ( ) , 'expires' => GC_TIME + $ this -> user -> getResetPasswordLifespan ( ) , ) ; $ this -> user -> update ( $ data [ 'user' ] [ 'user_id' ] , array ( 'data' => $ data [ 'user' ] [ 'data' ] ) ) ; $ this -> mail -> set ( 'user_reset_password' , array ( $ data [ 'user' ] ) ) ; return $ this -> getResultResetPasswordStart ( ) ; }
docstring: Start the password reset operation
  @param array $data
  @return array
docstring_tokens: Start the password reset operation