Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Design_Customisation_Edit_Fns Class Reference
Inheritance diagram for Design_Customisation_Edit_Fns:
Design_Edit_Fns Design_Area_Edit_Fns Asset_Edit_Fns MySource_Object

Public Member Functions

 __construct ()
 
 paintCustomisedDesignAreas (Design_Customisation $asset, Backend_Outputter $o, $prefix)
 
 processCustomisedDesignAreas (Design_Customisation $asset, Backend_Outputter $o, $prefix)
 
 paintUnCustomisedDesignAreas (Design_Customisation $asset, Backend_Outputter $o, $prefix)
 
 processUnCustomisedDesignAreas (Design_Customisation $asset, Backend_Outputter $o, $prefix)
 
 _processUploadedFile (Asset $asset, Array $info=Array())
 
 _updateDesignAreaLink (Asset $asset, Array $data)
 
- Public Member Functions inherited from Design_Edit_Fns
 __construct ()
 
 paintParseFile (Design $asset, Backend_Outputter $o, $prefix)
 
 processParseFile (Design $asset, Backend_Outputter $o, $prefix)
 
 paintReparseFile (Design $asset, Backend_Outputter $o, $prefix)
 
 processReparseFile (Design $asset, Backend_Outputter $o, $prefix)
 
 paintEditParseFile (Design $asset, Backend_Outputter $o, $prefix)
 
 processEditParseFile (Design $asset, Backend_Outputter $o, $prefix)
 
 paintNewFiles (Design $asset, Backend_Outputter $o, $prefix)
 
 processNewFiles (Design $asset, Backend_Outputter $o, $prefix)
 
 _processUploadedFile (Design $asset, $info=Array())
 
 paintNewCustomisation (Design $asset, Backend_Outputter $o, $prefix)
 
 processNewCustomisation (Design $asset, Backend_Outputter $o, $prefix)
 
 paintCurrentCustomisations (Design $asset, Backend_Outputter $o, $prefix)
 
 parseAndProcessFile (Design $asset)
 
 _parseString (Design $asset, $file_contents)
 
 _processContents (Design $asset, Array $contents)
 
 paintImport (Design $asset, Backend_Outputter $o, $prefix)
 
 processImport (Design $asset, Backend_Outputter $o, $prefix)
 
 paintExport (Design $asset, Backend_Outputter $o, $prefix)
 
 processExport (Design $asset, Backend_Outputter $o, $prefix)
 
 paintCurrentFiles (Design $asset, Backend_Outputter $o, $prefix)
 
 processCurrentFiles (Design $asset, Backend_Outputter $o, $prefix)
 
 paintUsage (Design $asset, Backend_Outputter $o, $prefix)
 
 _getTreeTops (Array $treeids)
 
 _strlenCmp ($a, $b)
 
 _paintSelection (Design $asset, Backend_Outputter $o, $prefix, $attribute)
 
 _processSelection (Design $asset, Backend_Outputter $o, $prefix, $attribute)
 
 paintWysiwygClasses (Design $asset, Backend_Outputter $o, $prefix)
 
 processWysiwygClasses (Design $asset, Backend_Outputter $o, $prefix)
 
 paintDivClasses (Design $asset, Backend_Outputter $o, $prefix)
 
 processDivClasses (Design $asset, Backend_Outputter $o, $prefix)
 
- Public Member Functions inherited from Design_Area_Edit_Fns
 __construct ()
 
 paintIdName (Design_Area $asset, Backend_Outputter $o, $prefix)
 
 _parseString ($file_contents)
 
 _processContents (Design_Area $asset, Array $contents)
 
- Public Member Functions inherited from Asset_Edit_Fns
 Asset_Edit_Fns ()
 
 paintPaths (&$asset, &$o, $prefix)
 
 paintEditRemapURLs (&$asset, &$o, $prefix)
 
 processPaths (&$asset, &$o, $prefix)
 
 processEditRemapURLs (&$asset, &$o, $prefix)
 
 paintURLs (&$asset, &$o, $prefix)
 
 paintAddRemapURLs (&$asset, &$o, $prefix)
 
 processAddRemapURLs (&$asset, &$o, $prefix)
 
 isWorkflowComplete (&$asset)
 
 paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE)
 
 processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE)
 
 isSearchInstalled (&$asset, $prefix)
 
 isBeingCreated (&$asset)
 
 isNotBeingCreated (&$asset)
 
 paintAutomaticRemapSetting (&$asset, &$o, $prefix)
 
 paintCreateLink (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Static Public Member Functions

static linkCompare ($a, $b)
 

Protected Member Functions

 _paintDesignAreaList (Array $links, $check_box_col, $check_box_name, $write_access, $link_name=FALSE)
 

Additional Inherited Members

- Data Fields inherited from Design_Area_Edit_Fns
 $tag_name = 'MySource'
 

Detailed Description

Definition at line 31 of file design_customisation_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 39 of file design_customisation_edit_fns.inc.

Member Function Documentation

_paintDesignAreaList ( Array  $links,
  $check_box_col,
  $check_box_name,
  $write_access,
  $link_name = FALSE 
)
protected

Paints a list of design areas out

Parameters
array$linksthe links pointing to the design areas to paint
string$check_box_colthe title to put in the check box column
string$check_box_namethe form name to give the check box for each design area entry
boolean$write_accesswhether we have write access
boolean$link_namewhether to link the name to the edit interface for the design area
Returns
void private

Definition at line 347 of file design_customisation_edit_fns.inc.

_processUploadedFile ( Asset  $asset,
Array  $info = Array() 
)

Creates a new file asset, populates it, and links it to $asset

Parameters
Asset$assetthe asset to link the file to
array$infoinfo about the uploaded file
Returns
boolean public

Definition at line 220 of file design_customisation_edit_fns.inc.

_updateDesignAreaLink ( Asset  $asset,
Array  $data 
)

Recursivly updates all links to a design area from under this asset

Parameters
Asset$assetthe asset to which we belong
array$dataarray of Array([id_name] => Array([assetid], [type_code])); where key is the id_name, whose link needs to be updated and the value is an array with assetid and type_code
Returns
boolean public

Definition at line 265 of file design_customisation_edit_fns.inc.

static linkCompare (   $a,
  $b 
)
static

This is the static comparing function called by uasort() in _paintDesignAreaList()

Parameters
array$aarray of link information
array$barray of link information
Returns
int private
See Also
_paintDesignAreaList()

Definition at line 435 of file design_customisation_edit_fns.inc.

paintCustomisedDesignAreas ( Design_Customisation  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paints the interface for customising the design areas

Parameters
Design_Customisation$assetthe asset to which we belong
Backend_Outputter$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 57 of file design_customisation_edit_fns.inc.

paintUnCustomisedDesignAreas ( Design_Customisation  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paints the interface for customising the design areas

Parameters
Design_Customisation$assetthe asset to which we belong
Backend_Outputter$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 133 of file design_customisation_edit_fns.inc.

processCustomisedDesignAreas ( Design_Customisation  $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the customising of design areas

Parameters
Design_Customisation$assetthe asset to which we belong
Backend_Outputter$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 79 of file design_customisation_edit_fns.inc.

processUnCustomisedDesignAreas ( Design_Customisation  $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the customising of design areas

Parameters
Design_Customisation$assetthe asset to which we belong
Backend_Outputter$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 155 of file design_customisation_edit_fns.inc.


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