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

Public Member Functions

 __construct ()
 
 _parseString (Asset $asset, $file_contents)
 
 _processUploadedFile (Asset $asset, Array $info=Array())
 
 paintNewCustomisation (Design_CSS $asset, Backend_Outputter $o, $prefix)
 
 processNewCustomisation (Design_CSS $asset, Backend_Outputter $o, $prefix)
 
 paintCurrentCustomisations (Design_CSS $asset, Backend_Outputter $o, $prefix)
 
- 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 ()
 

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)
 

Detailed Description

Definition at line 31 of file design_css_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 39 of file design_css_edit_fns.inc.

Member Function Documentation

_parseString ( Asset  $asset,
  $file_contents 
)

Parses the string into an array recursively cut up into html and tag pieces

Parameters
object&$assetthe asset to which we belong
string$file_contentsthe contents to parse
Returns
array public

Definition at line 56 of file design_css_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 78 of file design_css_edit_fns.inc.

paintCurrentCustomisations ( Design_CSS  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paints this assets current customisations

Parameters
Design_CSS$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 259 of file design_css_edit_fns.inc.

paintNewCustomisation ( Design_CSS  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint interface for a customisation

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form element
Returns
boolean public

Definition at line 113 of file design_css_edit_fns.inc.

processNewCustomisation ( Design_CSS  $asset,
Backend_Outputter  $o,
  $prefix 
)

Process the options for creating a new customisation

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

Definition at line 133 of file design_css_edit_fns.inc.


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