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

Public Member Functions

 __construct ($pref_file='')
 
 paintBackend (&$o, $have_lock, $pref=NULL)
 
 processBackend ($o, $have_lock, $pref=NULL)
 
- Public Member Functions inherited from Prefs
 Prefs ($pref_file='')
 
 paintBackend (&$o, $have_lock, $pref=null)
 
 processBackend ($o, $have_lock, $pref=null)
 
 mergePrefs ($prefs1, $prefs2)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Data Fields

 $pref_vars
 
- Data Fields inherited from Prefs
 $pref_vars = Array()
 
 $pref_file = ''
 
- Data Fields inherited from MySource_Object
 $_tmp
 

Detailed Description

Definition at line 31 of file site_prefs.inc.

Constructor & Destructor Documentation

__construct (   $pref_file = '')

Constructor

Definition at line 48 of file site_prefs.inc.

Member Function Documentation

paintBackend ( $o,
  $have_lock,
  $pref = NULL 
)

Paints the backend interface to edit preferences

Parameters
object&$oreference to the backend outputter
boolean$have_lockdo we have the lock to edit these preferences or not
string$prefa particular preference to paint
Returns
boolean public

Definition at line 65 of file site_prefs.inc.

processBackend (   $o,
  $have_lock,
  $pref = NULL 
)

Processes the backend interface to edit preferences

Parameters
object$oreference to the backend outputter
boolean$have_lockdo we have the lock to edit these preferences or not
string$prefa particular preference to process
Returns
boolean public

Definition at line 103 of file site_prefs.inc.

Field Documentation

$pref_vars
Initial value:
= Array (
'SQ_CHILD_CREATE_LINK_TYPE_2_RESTRICT' => Array(
'name' => 'child_creation_type_2_restriction',
'description' => 'Link type options prior to asset creation will be restricted to a TYPE 2 link for any asset to be located anywhere under the specified Site Asset IDs. Link type can still be changed after creation e.g. via Linking Screen',
'default' => Array(),
'protected' => FALSE,
),
)

Definition at line 34 of file site_prefs.inc.


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