Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Paint_Layout_Page_Edit_Fns Class Reference
Inheritance diagram for Paint_Layout_Page_Edit_Fns:
Page_Standard_Edit_Fns Page_Edit_Fns Asset_Edit_Fns MySource_Object

Public Member Functions

 __construct ()
 
 paintCurrentAssetTypes (Paint_Layout_Page $asset, Backend_Outputter $o, $prefix)
 
 processCurrentAssetTypes (Paint_Layout_Page $asset, Backend_Outputter $o, $prefix)
 
 paintAddAssetType (Paint_Layout_Page $asset, Backend_Outputter $o, $prefix)
 
 processAddAssetType (Paint_Layout_Page $asset, Backend_Outputter $o, $prefix)
 
 paintUsage (Paint_Layout_Page $asset, Backend_Outputter $o, $prefix)
 
- Public Member Functions inherited from Page_Standard_Edit_Fns
 __construct ()
 
 redirectToBodycopy (Page_Standard $asset, Backend_Outputter $o, $prefix)
 
- Public Member Functions inherited from Page_Edit_Fns
 __construct ()
 
- 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 ()
 

Protected Member Functions

 _getTreeTops (Array $treeids)
 
 _strlenCmp ($a, $b)
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 32 of file paint_layout_page_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 40 of file paint_layout_page_edit_fns.inc.

Member Function Documentation

_getTreeTops ( Array  $treeids)
protected

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.

Parameters
array$assetidsThe assetids we are analysing
Returns
array public

Definition at line 299 of file paint_layout_page_edit_fns.inc.

_strlenCmp (   $a,
  $b 
)
protected

Compare the lengths of two strings

Parameters
string$aFirst comparee
string$bSecond comparee
Returns
boolean public

Definition at line 339 of file paint_layout_page_edit_fns.inc.

paintAddAssetType ( Paint_Layout_Page  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint section to add an asset type

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

Definition at line 181 of file paint_layout_page_edit_fns.inc.

paintCurrentAssetTypes ( Paint_Layout_Page  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the current asset types that have been added

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

Definition at line 57 of file paint_layout_page_edit_fns.inc.

paintUsage ( Paint_Layout_Page  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the usage of this paint layout

Parameters
Paint_Layout_Page$assetthe asset to which we belong
Backend_Outputter$othe backend outputter object
string$prefixprefix for the form element
Returns
void public

Definition at line 243 of file paint_layout_page_edit_fns.inc.

processAddAssetType ( Paint_Layout_Page  $asset,
Backend_Outputter  $o,
  $prefix 
)

Process the section to add a new format for an asset

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

Definition at line 206 of file paint_layout_page_edit_fns.inc.

processCurrentAssetTypes ( Paint_Layout_Page  $asset,
Backend_Outputter  $o,
  $prefix 
)

Process the current asset types that have been added

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

Definition at line 131 of file paint_layout_page_edit_fns.inc.


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