Squiz Matrix
4.12.2
|
Public Member Functions | |
File_Prefs ($pref_file='') | |
paintBackend (&$o, $have_lock, $pref=NULL) | |
processBackend (&$o, $have_lock, $pref=NULL) | |
_tidyFileTypeString ($str) | |
mergePrefs ($prefs1, $prefs2) | |
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 | |
Definition at line 31 of file file_prefs.inc.
_tidyFileTypeString | ( | $str | ) |
Clean up the user input string for file types
Never trust user input, let's get our hands dirty here.
string | $str | input string |
Definition at line 370 of file file_prefs.inc.
File_Prefs | ( | $pref_file = '' | ) |
Constructor
Definition at line 79 of file file_prefs.inc.
mergePrefs | ( | $prefs1, | |
$prefs2 | |||
) |
Merges two preference arrays for a content type
array | $prefs1 | array of preferences to merge |
array | $prefs2 | array of preferences to merge |
Definition at line 408 of file file_prefs.inc.
paintBackend | ( | & | $o, |
$have_lock, | |||
$pref = NULL |
|||
) |
Paints the backend interface to edit preferences
object | &$o | reference to the Backend Outputter object |
boolean | $have_lock | do we have the lock to edit these preferences or not |
string | $pref | a particular preference to paint |
Definition at line 96 of file file_prefs.inc.
processBackend | ( | & | $o, |
$have_lock, | |||
$pref = NULL |
|||
) |
Processes the backend interface to edit preferences
object | &$o | reference to the Backend Outputter object |
boolean | $have_lock | do we have the lock to edit these preferences or not |
string | $pref | a particular preference to process |
Definition at line 290 of file file_prefs.inc.