[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

(no description)

Copyright: (c) 2005 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 512 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):
  phpbb_questionnaire_data_collector()
  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):
  phpbb_questionnaire_phpbb_data_provider()
  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.

phpbb_questionnaire_data_collector($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.

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

Class: phpbb_questionnaire_phpbb_data_provider  - X-Ref

Questionnaire phpBB data provider

phpbb_questionnaire_phpbb_data_provider($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: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1