|
| __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) |
|
| __construct () |
|
| 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) |
|
| MySource_Object () |
|
| __sleep () |
|
| __wakeup () |
|
_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 | $assetids | The assetids we are analysing |
- Returns
- array public
Definition at line 299 of file paint_layout_page_edit_fns.inc.
Compare the lengths of two strings
- Parameters
-
string | $a | First comparee |
string | $b | Second comparee |
- Returns
- boolean public
Definition at line 339 of file paint_layout_page_edit_fns.inc.
The documentation for this class was generated from the following file: