Squiz Matrix
4.12.2
|
Additional Inherited Members | |
Data Fields inherited from Design_Area_Edit_Fns | |
$tag_name = 'MySource' | |
Protected Member Functions inherited from Design_Area_Edit_Fns | |
_parseStringContents (&$file_contents, &$cur_pos, &$nest_level) | |
_tagToParse (&$file_contents, &$cur_pos) | |
_parseOpenTag (&$file_contents, &$cur_pos) | |
_parseTerminateTag (&$file_contents, &$cur_pos) | |
_isWhitespace ($str) | |
_setVariables (Design_Area &$asset, Array &$contents) | |
_removeFileRoot ($str) | |
_getDefaultContents (Design_Area $asset, $content_type) | |
Definition at line 32 of file design_edit_fns.inc.
__construct | ( | ) |
Constructor
Definition at line 40 of file design_edit_fns.inc.
_getTreeTops | ( | Array | $treeids | ) |
Get the "tree tops" in the supplied list of assets
An asset is a "tree top" in a set of assets if none of its ancestors in the asset tree are in the set with it. Conversely if an asset's parent or grandparent etc is in the set, then that asset is not a tree top.
Returns an array indexed by treeid, where each value is another array containing assetid and number of children of that assetid found in the set.
array | $assetids | The assetids we are analysing |
Definition at line 1504 of file design_edit_fns.inc.
_paintSelection | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix, | |||
$attribute | |||
) |
Generic fucntion to paint the interface for dropdown classes selection box
Design | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
string | $attribute | name of the attribute to paint |
Definition at line 1562 of file design_edit_fns.inc.
_parseString | ( | Design | $asset, |
$file_contents | |||
) |
Parses the string into an array recursively cut up into html and tag pieces
Design | $asset | the asset to which we belong |
string | $file_contents | the contents to parse |
Definition at line 789 of file design_edit_fns.inc.
_processContents | ( | Design | $asset, |
Array | $contents | ||
) |
Loops through the contents array and creates the necessary objects
Design | $asset | the asset to which we belong |
array | $contents | the contents array we generated with _parseString() |
Definition at line 826 of file design_edit_fns.inc.
_processSelection | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix, | |||
$attribute | |||
) |
Generic function to process the interface for classes dropdown selection box
Design | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
string | $attribute | name of the attribute to paint |
Definition at line 1649 of file design_edit_fns.inc.
_processUploadedFile | ( | Design | $asset, |
$info = Array() |
|||
) |
Creates a new file asset, populates it, and links it to $asset
Design | $asset | the asset to link the file to |
array | $info | info about the uploaded file |
Definition at line 501 of file design_edit_fns.inc.
_strlenCmp | ( | $a, | |
$b | |||
) |
Compare the lengths of two strings
string | $a | First comparee |
string | $b | Second comparee |
Definition at line 1544 of file design_edit_fns.inc.
paintCurrentCustomisations | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint current customisation
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 744 of file design_edit_fns.inc.
paintCurrentFiles | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paints files that are currently underneath this file
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 1184 of file design_edit_fns.inc.
paintDivClasses | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Function to paint the interface for DIV classes dropdown selection box
Design | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 1723 of file design_edit_fns.inc.
paintEditParseFile | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for editing the parse file
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 207 of file design_edit_fns.inc.
paintExport | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paints the interface for exporting this design
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 1070 of file design_edit_fns.inc.
paintImport | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paints the facility to upload and import files into the design
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 989 of file design_edit_fns.inc.
paintNewCustomisation | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint New Customisation
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 584 of file design_edit_fns.inc.
paintNewFiles | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint New Files
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 389 of file design_edit_fns.inc.
paintParseFile | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for the parse file uploading
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 58 of file design_edit_fns.inc.
paintReparseFile | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for the reparsing the current parse file
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 156 of file design_edit_fns.inc.
paintUsage | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the usage of this paint layout
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 1394 of file design_edit_fns.inc.
paintWysiwygClasses | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Function to paint the interface for WYSIWYG classes dropdown selection box
Design | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 1686 of file design_edit_fns.inc.
parseAndProcessFile | ( | Design | $asset | ) |
Parses the parse file and processes the contents
Design | $asset | the asset to which we belong |
Definition at line 768 of file design_edit_fns.inc.
processCurrentFiles | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the deletion etc of current files
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 1251 of file design_edit_fns.inc.
processDivClasses | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Function to process the interface for DIV classes dropdown selection box
Design | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 1743 of file design_edit_fns.inc.
processEditParseFile | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the interface for the editing the parse file
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 325 of file design_edit_fns.inc.
processExport | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the options and exports the assets required to recreate this design
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 1096 of file design_edit_fns.inc.
processImport | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes uploaded files, and creates required assets and links to generate this design
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 1020 of file design_edit_fns.inc.
processNewCustomisation | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Process New Customisation
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 609 of file design_edit_fns.inc.
processNewFiles | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Process New Files
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 410 of file design_edit_fns.inc.
processParseFile | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the interface for the parse file uploading
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 79 of file design_edit_fns.inc.
processReparseFile | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the interface for the reparsing the current parse file
Design | $asset | the asset to which we belong |
Backend_Outputter | $o | the backend outputter object |
string | $prefix | prefix for the form element |
Definition at line 183 of file design_edit_fns.inc.
processWysiwygClasses | ( | Design | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Function to process the interface for WYSIWYG classes dropdown selection box
Design | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 1706 of file design_edit_fns.inc.