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

Public Member Functions

 __construct ()
 
 paint (&$asset, $editing=FALSE, $generating=FALSE)
 
 paintGenerated (&$asset, &$snippet_asset)
 
 paintBackend (&$asset, $prefix)
 
 processBackend ($link, &$asset, $prefix)
 
- Public Member Functions inherited from Content_Type_Edit_Fns
 __construct ()
 
 paint (Content_Type $asset, $editing=FALSE, $generating=FALSE)
 
 _paintInterface ($html, $asset)
 
 paintBackendIcons (Content_Type $asset, $prefix)
 
 paintBackendStatusIcons (Content_Type $asset, $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 ()
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 33 of file content_type_snippet_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 41 of file content_type_snippet_edit_fns.inc.

Member Function Documentation

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

Prints the snippet content if it is being viewed from an edit interface, otherwise just calls printBody on the snippet asset

Parameters
object&$assetthe nest content content type object
boolean$editingare we printing an editing interface
boolean$generatingare we genenerating the cache file
Returns
boolean public

Definition at line 59 of file content_type_snippet_edit_fns.inc.

paintBackend ( $asset,
  $prefix 
)

Prints the backend interface for the snippet selector

Parameters
object&$assetthe snippet content type object
string$prefixprefix for form elements
Returns
boolean public

Definition at line 109 of file content_type_snippet_edit_fns.inc.

paintGenerated ( $asset,
$snippet_asset 
)

Paints the content type as it should be cached

Parameters
object&$assetthe table whose interface we are painting
object&$snippet_assetthe snippet content type asset
Returns
void public

Definition at line 84 of file content_type_snippet_edit_fns.inc.

processBackend (   $link,
$asset,
  $prefix 
)

Processes the backend interface for this Raw HTML editor

Parameters
array$linkinformation used to create the initial link
object&$assetthe snippet content type
string$prefixprefix for form elements
Returns
boolean public

Definition at line 214 of file content_type_snippet_edit_fns.inc.


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