Squiz Matrix
4.12.2
|
Public Member Functions | |
__construct () | |
setAttribute (Array &$attributes, $name, $value) | |
paintBackendJsData (Bodycopy_Container $asset, $prefix) | |
paintGenericBackend (Bodycopy_Container $asset, Backend_Outputter $o, $prefix) | |
paint (Bodycopy_Container $asset, $editing=FALSE, $generating=FALSE) | |
paintContainer (Bodycopy_Container $asset, Backend_Outputter $o, $prefix) | |
processContainer (Bodycopy_Container $asset, Backend_Outputter $o, $prefix, $bc_action, $bc_name, Array $bc_data, Array $bc_saved) | |
generateContentFile (Bodycopy_Container $asset) | |
createContentLinks (Bodycopy_Container $asset, $output=NULL) | |
_contentsUpdated (Bodycopy_Container $asset) | |
paintBodycopyContainer (Bodycopy_Container $asset, Backend_Outputter $o, $prefix) | |
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 () | |
Data Fields | |
position | __pad0__:absolute |
width | __pad1__: 1px |
height | __pad2__: 1px |
visibility | __pad3__: hidden |
Data Fields inherited from Asset_Edit_Fns | |
$static_screens | |
Data Fields inherited from MySource_Object | |
$_tmp | |
Protected Member Functions | |
_saveCssIds (Backend_Outputter $o) | |
Definition at line 33 of file bodycopy_container_edit_fns.inc.
__construct | ( | ) |
Constructor
Definition at line 41 of file bodycopy_container_edit_fns.inc.
_contentsUpdated | ( | Bodycopy_Container | $asset | ) |
gets called when a bodycopy container's contents are updated to notify anyone who cares about this
Bodycopy_Container | $asset | the asset that is getting updated |
Definition at line 508 of file bodycopy_container_edit_fns.inc.
|
protected |
Save the ids of all css files attached to this url to be used by the wysiwyg editor later on
Backend_Outputter | $o | the Backend_Outputter class |
Definition at line 525 of file bodycopy_container_edit_fns.inc.
createContentLinks | ( | Bodycopy_Container | $asset, |
$output = NULL |
|||
) |
Creates and deletes NOTICE links based on the assets being linked to within the contents of this container For shadow assets it
Bodycopy_Container | $asset | the container |
string | NULL | $output | the content of the bodycopy container, leave NULL to have it generated for you |
Definition at line 361 of file bodycopy_container_edit_fns.inc.
generateContentFile | ( | Bodycopy_Container | $asset | ) |
Creates a PHP file to print on the frontend instead of doing processing there
Bodycopy_Container | $asset | the container |
Definition at line 259 of file bodycopy_container_edit_fns.inc.
paint | ( | Bodycopy_Container | $asset, |
$editing = FALSE , |
|||
$generating = FALSE |
|||
) |
Paints this container as HTML
Bodycopy_Container | $asset | the container whose interface we are painting |
boolean | $editing | are we printing an editing interface |
boolean | $generating | are we generating the content file |
Definition at line 117 of file bodycopy_container_edit_fns.inc.
paintBackendJsData | ( | Bodycopy_Container | $asset, |
$prefix | |||
) |
Prints the JavaScript needed by the backend functions for this table
Bodycopy_Container | $asset | the container object being printed |
string | $prefix | prefix for form fields |
Definition at line 85 of file bodycopy_container_edit_fns.inc.
paintBodycopyContainer | ( | Bodycopy_Container | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
When this bodycopycontainer is painted on its own without being a part of the 'contents' of a bodycopy, draw the editing info by itself. Most of the code is directly taken from the Bodycopy_Edit_Fns class as the functionality is so similar. Perhaps going to aggregate it out to a separate class though once it is understood better.
Bodycopy_Container | $asset | the container whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form element |
Definition at line 571 of file bodycopy_container_edit_fns.inc.
paintContainer | ( | Bodycopy_Container | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for editing this container
Bodycopy_Container | $asset | the container whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 133 of file bodycopy_container_edit_fns.inc.
paintGenericBackend | ( | Bodycopy_Container | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint JS data that containers need to use to do their processing
Bodycopy_Container | $asset | the bodycopy being printed |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form element |
Definition at line 101 of file bodycopy_container_edit_fns.inc.
processContainer | ( | Bodycopy_Container | $asset, |
Backend_Outputter | $o, | ||
$prefix, | |||
$bc_action, | |||
$bc_name, | |||
Array | $bc_data, | ||
Array | $bc_saved | ||
) |
Process the interface for editing this container
Bodycopy_Container | $asset | the container whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form element |
string | $bc_action | a global bodycopy action to perform |
string | $bc_name | the name of the bodycopy that submitted the action |
array | $bc_data | an array of data needed to perform the action |
array | $bc_saved | any saved changes that were performed without committing |
Definition at line 193 of file bodycopy_container_edit_fns.inc.
setAttribute | ( | Array & | $attributes, |
$name, | |||
$value | |||
) |
Set an attribute value in the attributes var
Internal checking of these attributes has to go here as they will not be checked by the system
array | &$attributes | a reference to the attributes var of the BodyCopy_Container object |
string | $name | the name of the attribute |
string | $value | the value of the attribute |
Definition at line 64 of file bodycopy_container_edit_fns.inc.