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

Public Member Functions

 Content_Type_Snippet_Prefs ($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 content_type_snippet_prefs.inc.

Member Function Documentation

Content_Type_Snippet_Prefs (   $pref_file = '')

Constructor

Definition at line 53 of file content_type_snippet_prefs.inc.

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

Paints the backend interface to edit preferences

Parameters
object&$oreference to the backend outputter object
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 70 of file content_type_snippet_prefs.inc.

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

Processes the backend interface to edit preferences

Parameters
object&$oreference to the backend outputter object
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 141 of file content_type_snippet_prefs.inc.

Field Documentation

$pref_vars
Initial value:
= Array(
'SQ_SNIPPET_ROOT' => Array(
'name' => 'snippet_root_node',
'description' => 'Allows you to specify the root node of where all snippets are located',
'default' => '',
'protected' => FALSE,
),
'SQ_SNIPPET_KEYWORDS_PERMISSION_CHECK' => Array(
'name' => 'snippet_keywords_permission_check',
'description' => 'Allows you to turn off snippet keywords permission check to speed up WYSIWYG loading',
'default' => '1',
'protected' => FALSE,
),
)

Definition at line 33 of file content_type_snippet_prefs.inc.


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