Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Bodycopy_Div_Edit_Fns Class Reference
Inheritance diagram for Bodycopy_Div_Edit_Fns:
Bodycopy_Container_Edit_Fns Asset_Edit_Fns MySource_Object

Public Member Functions

 __construct ()
 
 paintBackendJsData (Bodycopy_Div $asset, $prefix)
 
 paintGenericBackend (Asset $bodycopy, Backend_Outputter $o, $prefix)
 
 paint (Bodycopy_Div $asset, $editing=FALSE, $generating=FALSE)
 
 paintContainer (Bodycopy_Div $asset, Backend_Outputter $o, $prefix)
 
 processContainer (Bodycopy_Div $asset, Backend_Outputter $o, $prefix, $bc_action, $bc_name, Array $bc_data, Array $bc_saved)
 
- Public Member Functions inherited from Bodycopy_Container_Edit_Fns
 __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 ()
 

Protected Member Functions

 _updateCellType (Bodycopy_Div $asset, $new_type='')
 
- Protected Member Functions inherited from Bodycopy_Container_Edit_Fns
 _saveCssIds (Backend_Outputter $o)
 

Additional Inherited Members

- Data Fields inherited from Bodycopy_Container_Edit_Fns
position __pad0__:absolute
 
width __pad1__: 1px
 
height __pad2__: 1px
 
visibility __pad3__: hidden
 

Detailed Description

Definition at line 30 of file bodycopy_div_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 38 of file bodycopy_div_edit_fns.inc.

Member Function Documentation

_updateCellType ( Bodycopy_Div  $asset,
  $new_type = '' 
)
protected

Change the type of this DIV's editing interface to the passed content type

Parameters
Bodycopy_Div$assetthe DIV object
string$new_typethe name of the new content type
Returns
boolean private

Definition at line 463 of file bodycopy_div_edit_fns.inc.

paint ( Bodycopy_Div  $asset,
  $editing = FALSE,
  $generating = FALSE 
)

Paints this div as HTML

Parameters
Bodycopy_Div$assetthe div whose interface we are painting
boolean$editingare we printing an editing interface
boolean$generatingare we generating the content file
Returns
void public

Definition at line 204 of file bodycopy_div_edit_fns.inc.

paintBackendJsData ( Bodycopy_Div  $asset,
  $prefix 
)

Prints the JavaScript needed by the backend functions for this div

Parameters
Bodycopy_Div$assetthe div object being printed
string$prefixprefix for form fields
Returns
void public

Definition at line 54 of file bodycopy_div_edit_fns.inc.

paintContainer ( Bodycopy_Div  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for editing this div

Parameters
Bodycopy_Div$assetthe div whose interface we are painting
Backend_Outputter$othe Backend Outputter instance
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 273 of file bodycopy_div_edit_fns.inc.

paintGenericBackend ( Asset  $bodycopy,
Backend_Outputter  $o,
  $prefix 
)

Paint JS data that divs need to use to do their processing

Parameters
Bodycopy_Div$bodycopythe bodycopy being printed
Backend_Outputter$othe Backend Outputter instance
string$prefixprefix for the form element
Returns
void public

Definition at line 80 of file bodycopy_div_edit_fns.inc.

processContainer ( Bodycopy_Div  $asset,
Backend_Outputter  $o,
  $prefix,
  $bc_action,
  $bc_name,
Array  $bc_data,
Array  $bc_saved 
)

Process the interface for editing this div

Parameters
Bodycopy_Div$assetthe div whose interface we are painting
Backend_Outputter$othe Backend Outputter instance
string$prefixprefix for the form element
string$bc_actiona global bodycopy action to perform (eg insert_table_row)
string$bc_namethe name of the bodycopy that submitted the action
array$bc_dataan array of data needed to perform the action
array$bc_savedany saved changes that were performed without committing
Returns
boolean public

Definition at line 424 of file bodycopy_div_edit_fns.inc.


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