phpDocumentor Configuration
[ class tree: Configuration ] [ index: Configuration ] [ all elements ]

Class: Config

Source Location: /config/config-template.php

Class Config

Property Summary
static mixed   $CONSORTIUM_NAME  
static string   $DEBUG_FILE   Destination for debug logs
static int   $DEBUG_LEVEL   Verbosity of some of the core code. The following debug levels are supported:
static string   $DEFAULT_LOCALE   Sets the default locale.
static string   $KB_CAT_PASS   Username to access the database
static string   $KB_CAT_USER   Username to access the database for the user GUI
static string   $KB_DB   Database name on the server
static string   $KB_HOST   Database server that contains all the user data
static string   $KB_PASS   Password to access the database
static string   $KB_USER   Password to access the database
static mixed   $LANGUAGES  
static string   $MAPS_API_KEY   Your API key for Google Maps. If this config variable is invalid, all the map parts won't work.
static int   $MAX_UPLOAD_SIZE   Maximum size of files to be uploaded. Clever people can circumvent this; in the end, the hard limit is configured in php.ini
static string   $PLACES_API_KEY   The CAT uses Google places to guess a location based on the country and name. You need to have a valid Google Places API key for that. Note that this is different from the Google Maps API key, below.
static mixed   $PRODUCT_NAME  
static mixed   $PRODUCT_NAME_LONG  
static array   $RADIUS_HOSTS   The RADIUS proxies to contact for static realm reachability checks
static string   $TMP_BASE_PATH   Base path for temporary files (these will hold site installer data)

[ Top ]
Properties
static mixed   $CONSORTIUM_NAME = "eduroam" [line 109]
API Tags:
Access:  public


[ Top ]
static string   $DEBUG_FILE = '/tmp/cat.log' [line 83]

Destination for debug logs

API Tags:
Access:  public


[ Top ]
static int   $DEBUG_LEVEL = 5 [line 78]

Verbosity of some of the core code. The following debug levels are supported:

  1. = production (silence)
  2. = normal debug
  3. = more debug
  4. = annoyingly much debug output
  5. = way too much debug output (level 4 + SQL query dump)

API Tags:
Access:  public


[ Top ]
static string   $DEFAULT_LOCALE = array('lang_index' => 'en', 'locale' => 'en_GB.utf8') [line 107]

Sets the default locale.

If a user signals a preferred (and supported) language via browser settings, or clicks on a language, this field is not used.

API Tags:
Access:  public


[ Top ]
static string   $KB_CAT_PASS = "cat_access" [line 36]

Username to access the database

API Tags:
Access:  public


[ Top ]
static string   $KB_CAT_USER = "cat" [line 31]

Username to access the database for the user GUI

API Tags:
Access:  public


[ Top ]
static string   $KB_DB = "eduroam_configurator" [line 26]

Database name on the server

API Tags:
Access:  public


[ Top ]
static string   $KB_HOST = "cat-test.eduroam.org" [line 21]

Database server that contains all the user data

API Tags:
Access:  public


[ Top ]
static string   $KB_PASS = "p234jsyxt" [line 46]

Password to access the database

API Tags:
Access:  public


[ Top ]
static string   $KB_USER = "stefan" [line 41]

Password to access the database

API Tags:
Access:  public


[ Top ]
static mixed   $LANGUAGES = array (
'de' => array ('display' => 'Deutsch', 'locale' => 'de_DE.utf8', 'win_cp' => 'cp1252'),'en'=>array('display'=>'English(GB)','locale'=>'en_GB.utf8','win_cp'=>'cp1252'),'es'=>array('display'=>'EspaƱol','locale'=>'es_ES.utf8','win_cp'=>'cp1250'),'hr'=>array('display'=>'Hrvatski','locale'=>'hr_HR.utf8','win_cp'=>'cp1250'),'pl'=>array('display'=>'Polski','locale'=>'pl_PL.utf8','win_cp'=>'cp1250'),)
[line 94]
API Tags:
Access:  public


[ Top ]
static string   $MAPS_API_KEY = "someotherkey" [line 61]

Your API key for Google Maps. If this config variable is invalid, all the map parts won't work.

API Tags:
Access:  public


[ Top ]
static int   $MAX_UPLOAD_SIZE = 10000000 [line 66]

Maximum size of files to be uploaded. Clever people can circumvent this; in the end, the hard limit is configured in php.ini

API Tags:
Access:  public


[ Top ]
static string   $PLACES_API_KEY = "somekey" [line 56]

The CAT uses Google places to guess a location based on the country and name. You need to have a valid Google Places API key for that. Note that this is different from the Google Maps API key, below.

API Tags:
Access:  public


[ Top ]
static mixed   $PRODUCT_NAME = "eduroam CAT" [line 110]
API Tags:
Access:  public


[ Top ]
static mixed   $PRODUCT_NAME_LONG = "eduroam Configuration Assistant Tool" [line 111]
API Tags:
Access:  public


[ Top ]
static array   $RADIUS_HOSTS = array (
array ('display_name' => 'Europe/Luxembourg', 'ip' => '5.6.7.8', 'secret' => 'somesecret', 'timeout' => 5),array('display_name'=>'Otherregion','ip'=>'1.2.3.4','secret'=>'whatever','timeout'=>5),)
[line 89]

The RADIUS proxies to contact for static realm reachability checks

API Tags:
Access:  public


[ Top ]
static string   $TMP_BASE_PATH = "User_files/" [line 51]

Base path for temporary files (these will hold site installer data)

API Tags:
Access:  public


[ Top ]

Documentation generated on Thu, 13 Oct 2011 08:42:10 +0200 by phpDocumentor 1.4.3