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

Public Member Functions

 __construct ()
 
 canAcquireLock ()
 
 writeAccess ()
 
 paintBackend (&$o)
 
- 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 31 of file squiz_server_config.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 52 of file squiz_server_config.inc.

Member Function Documentation

canAcquireLock ( )

Whether the current user can acquire the lock

Returns
boolean public
See Also
MySource::acquireLock()

Definition at line 67 of file squiz_server_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
objectBackend_Outputter &$o reference to the backend outputter
Returns
void public
See Also
processBackend()

Definition at line 106 of file squiz_server_config.inc.

writeAccess ( )

Does the current user have writeAccess() to this config ?

Returns
boolean public

Definition at line 81 of file squiz_server_config.inc.

Field Documentation

$config_vars
Initial value:
= Array(
'SQ_SERVER_SYSTEM_ROOT' => Array('editable' => 1, 'default' => ''),
'SQ_SERVER_SYSTEMID' => Array('editable' => 1, 'default' => ''),
'SQ_SERVER_DOMAIN' => Array('editable' => 1, 'default' => ''),
'SQ_SERVER_PORT' => Array('editable' => 1, 'default' => 0),
)

Definition at line 40 of file squiz_server_config.inc.


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