Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Proxy_Authentication_Config Class Reference
Inheritance diagram for Proxy_Authentication_Config:
Config MySource_Object

Public Member Functions

 __construct ()
 
 paintBackend (&$o)
 
 paintAlternativeProxies (Backend_Outputter $o)
 
 processBackend (Backend_Outputter $o)
 
 processAlternativeProxies (&$vars)
 
 save ($vars, $backup_existing=FALSE)
 
- Public Member Functions inherited from Config
 __construct ()
 
 save ($vars, $backup_existing=FALSE, $send_message=TRUE)
 
 acquireLock ()
 
 canAcquireLock ()
 
 releaseLock ()
 
 updateLock ()
 
 getLockInfo ()
 
 writeAccess ()
 
 paintBackend (&$o)
 
 processBackend (&$o)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Data Fields

 $config_vars
 
- Data Fields inherited from Config
 $config_vars = Array()
 
 $config_file = ''
 
 $name = ''
 
- Data Fields inherited from MySource_Object
 $_tmp
 

Additional Inherited Members

- Protected Member Functions inherited from Config
 _paintConfigVar ($var_name, $value, $var_export=TRUE)
 

Detailed Description

Definition at line 32 of file proxy_authentication_config.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 62 of file proxy_authentication_config.inc.

Member Function Documentation

paintAlternativeProxies ( Backend_Outputter  $o)

Paints alternative proxies

Parameters
Backend_Outputter$oThe outputter class
Returns
void

Definition at line 245 of file proxy_authentication_config.inc.

paintBackend ( $o)

Paints the interface for our config options.

If you (as a sub-class) put your config vars so that when they are submitted appear in $_POST[get_class($this)] then you probably won't need to override processBackend()

Parameters
object&$oBackend_Outputter, reference to the backend outputter
Returns
void public
See Also
processBackend()

Definition at line 82 of file proxy_authentication_config.inc.

save (   $vars,
  $backup_existing = FALSE 
)

Rewrites the conf file with current variables

Return value indicates whether the file was written

Parameters
array$varsthe array with any new values (that are allowed to be edited) Array('[config_var_name]' => [scalar value])
boolean$backup_existingwhether we should backup the existing config file first
Returns
boolean public

Definition at line 439 of file proxy_authentication_config.inc.

Field Documentation

$config_vars
Initial value:
= Array(
'SQ_PA_ENABLED' => Array('editable' => 1, 'default' => FALSE),
'SQ_PA_HOSTNAME' => Array('editable' => 1, 'default' => ''),
'SQ_PA_PORT' => Array('editable' => 1, 'default' => ''),
'SQ_PA_USERNAME' => Array('editable' => 1, 'default' => ''),
'SQ_PA_PASSWORD' => Array('editable' => 1, 'default' => ''),
'SQ_PA_ALTERNATIVES' => Array('editable' => 1, 'default' => 'a:0:{}'),
'SQ_PROXY_URL_PORT_STRIP' => Array('editable' => 1, 'default' => FALSE),
'SQ_SSLA_ENABLED' => Array('editable' => 1, 'default' => FALSE),
'SQ_SSLA_MATCH' => Array('editable' => 1, 'default' => 'ip'),
'SQ_SSLA_IP' => Array('editable' => 1, 'default' => ''),
'SQ_SSLA_HEADER_NAME' => Array('editable' => 1, 'default' => ''),
'SQ_SSLA_HEADER_VALUE' => Array('editable' => 1, 'default' => ''),
'SQ_SSLA_FORCE_SECURE' => Array('editable' => 1, 'default' => FALSE),
)

Definition at line 39 of file proxy_authentication_config.inc.


The documentation for this class was generated from the following file: