[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/includes/questionnaire/ -> questionnaire.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 497 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 classes

phpbb_questionnaire_data_collector:: (5 methods):
  __construct()
  add_data_provider()
  get_data_raw()
  get_data_for_form()
  collect()

phpbb_questionnaire_php_data_provider:: (2 methods):
  get_identifier()
  get_data()

phpbb_questionnaire_system_data_provider:: (3 methods):
  get_identifier()
  get_data()
  is_private_ip()

phpbb_questionnaire_phpbb_data_provider:: (3 methods):
  __construct()
  get_identifier()
  get_data()


Class: phpbb_questionnaire_data_collector  - X-Ref

This class collects data which is used to create some usage statistics.

The collected data is - after authorization of the administrator - submitted
to a central server. For privacy reasons we try to collect only data which aren't private
or don't give any information which might help to identify the user.

__construct($install_id)   X-Ref
Constructor.

param: string

add_data_provider($provider)   X-Ref
No description

get_data_raw()   X-Ref
Get data as an array.

return: array    All Data

get_data_for_form()   X-Ref
No description

collect()   X-Ref
Collect info into the data property.

return: null

Class: phpbb_questionnaire_php_data_provider  - X-Ref

Questionnaire PHP data provider

get_identifier()   X-Ref
No description

get_data()   X-Ref
Get data about the PHP runtime setup.

return: array

Class: phpbb_questionnaire_system_data_provider  - X-Ref

Questionnaire System data provider

get_identifier()   X-Ref
No description

get_data()   X-Ref
Get data about the general system information, like OS or IP (shortened).

return: array

is_private_ip($ip)   X-Ref
Checks whether the given IP is in a private network.

return: bool        true if the IP is from a private network, else false
param: string    $ip    IP in v4 dot-decimal or v6 hex format

Class: phpbb_questionnaire_phpbb_data_provider  - X-Ref

Questionnaire phpBB data provider

__construct($config)   X-Ref
Constructor.

param: array    $config

get_identifier()   X-Ref
Returns a string identifier for this data provider

return: string    "phpBB"

get_data()   X-Ref
Get data about this phpBB installation.

return: array    Relevant anonymous config options



Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1