function ResetTempUserArray()
  {
      $temp_user_array = array();

      // First, we reset all values (we know the key based on the schema)
      reset($this->_sql_tables_schema['users']);
      while(list($valid_key, $valid_format) = @each($this->_sql_tables_schema['users'])) {
          $pos = mb_strpos(mb_strtoupper($valid_format), 'DEFAULT');
          $value = "";
          if ($pos !== FALSE) {
              $value = trim(substr($valid_format, $pos + strlen("DEFAULT")));
              if (("'" == substr($value,0,1)) && ("'" == substr($value,-1))) {
                  $value = substr($value,1,-1);
              }
          }
          $temp_user_array[$valid_key] = $value;
      }

      // Request the pin as a prefix of the returned token value
      $temp_user_array['request_prefix_pin'] = $this->GetDefaultRequestPrefixPin();
      
      return $temp_user_array;
  }
function ResetTempUserArray()
  {
      $temp_user_array = array();

      // First, we reset all values (we know the key based on the schema)
      reset($this->_sql_tables_schema['users']);
      while(list($valid_key, $valid_format) = @each($this->_sql_tables_schema['users'])) {
          $pos = mb_strpos(mb_strtoupper($valid_format), 'DEFAULT');
          $value = "";
          if ($pos !== FALSE) {
              $value = trim(substr($valid_format, $pos + strlen("DEFAULT")));
              if (("'" == substr($value,0,1)) && ("'" == substr($value,-1))) {
                  $value = substr($value,1,-1);
              }
          }
          $temp_user_array[$valid_key] = $value;
      }

      // Request the pin as a prefix of the returned token value
      $temp_user_array['request_prefix_pin'] = $this->GetDefaultRequestPrefixPin();
      
      return $temp_user_array;
  }
function ResetTempUserArray ( ) { $ temp_user_array = array ( ) ; // First, we reset all values (we know the key based on the schema) reset ( $ this -> _sql_tables_schema [ 'users' ] ) ; while ( list ( $ valid_key , $ valid_format ) = @ each ( $ this -> _sql_tables_schema [ 'users' ] ) ) { $ pos = mb_strpos ( mb_strtoupper ( $ valid_format ) , 'DEFAULT' ) ; $ value = "" ; if ( $ pos !== FALSE ) { $ value = trim ( substr ( $ valid_format , $ pos + strlen ( "DEFAULT" ) ) ) ; if ( ( "'" == substr ( $ value , 0 , 1 ) ) && ( "'" == substr ( $ value , - 1 ) ) ) { $ value = substr ( $ value , 1 , - 1 ) ; } } $ temp_user_array [ $ valid_key ] = $ value ; } // Request the pin as a prefix of the returned token value $ temp_user_array [ 'request_prefix_pin' ] = $ this -> GetDefaultRequestPrefixPin ( ) ; return $ temp_user_array ; }
Reset the temporary user array
Reset the temporary user array