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

Public Member Functions

 __construct ()
 
 paintValueInterface (Metadata_Field_WYSIWYG $asset, Backend_Outputter $o, $value_str, $write_access, $enable_default=TRUE, $print_cascade_values_option=TRUE, $type_code=NULL)
 
 processInlineValueInterface (Metadata_Field_WYSIWYG $asset, &$new_value_str, &$field_cascade_value, $type_code=NULL)
 
 generateMetadata (Metadata_Field_WYSIWYG $asset, $value_str, &$tag_value, Array &$keywords)
 
 paintDefault (Metadata_Field_WYSIWYG $asset, Backend_Outputter $o, $prefix)
 
 processDefault (Metadata_Field_WYSIWYG $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 ()
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 32 of file metadata_field_wysiwyg_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 40 of file metadata_field_wysiwyg_edit_fns.inc.

Member Function Documentation

generateMetadata ( Metadata_Field_WYSIWYG  $asset,
  $value_str,
$tag_value,
Array &  $keywords 
)

Output the complete metadata tag for this field

Parameters
Metadata_Field_Select$assetthe asset whose interface we are painting
string$value_strthe current value for this field in the asset (NOT $asset) NULL means that there is no current value set
array&$tag_valuethe metadata tag value
array&$keywordsan array we can put keywords in that need replacing
Returns
boolean public

Definition at line 200 of file metadata_field_wysiwyg_edit_fns.inc.

paintDefault ( Metadata_Field_WYSIWYG  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the default value

Needs a custom paint/process now, because for a non-contextable field, it needs to show the default/zero context's values instead of the current context's...ie. we need to make a contextable attribute look not contextable!

Parameters
Metadata_Field_Text$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 227 of file metadata_field_wysiwyg_edit_fns.inc.

paintValueInterface ( Metadata_Field_WYSIWYG  $asset,
Backend_Outputter  $o,
  $value_str,
  $write_access,
  $enable_default = TRUE,
  $print_cascade_values_option = TRUE,
  $type_code = NULL 
)

Paint the interface for filling in metadata values

Returns true if a submitable interface has been printed

Parameters
Metadata_Field_Text$assetthe metadata field asset whose interface we are painting
Backend_Outputter$othe outputter class
string$value_strthe current value for this field in the owning asset (NOT $asset) NULL means that there is no current value set
boolean$write_accesswhether to allow editing of this field (typically depends on write access to owner and editability of field)
boolean$enable_defaultWhether to show the 'use default' checkbox
string$type_codeThe type_code of the asset that the metadata is being printed
Returns
boolean public

Definition at line 64 of file metadata_field_wysiwyg_edit_fns.inc.

processDefault ( Metadata_Field_WYSIWYG  $asset,
Backend_Outputter  $o,
  $prefix 
)

Process the default value

Parameters
Metadata_Field_Text$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 262 of file metadata_field_wysiwyg_edit_fns.inc.

processInlineValueInterface ( Metadata_Field_WYSIWYG  $asset,
$new_value_str,
$field_cascade_value,
  $type_code = NULL 
)

Process the interface for filling in metadata values

Parameters
Metadata_Field_Text$assetthe asset whose interface we are processing
string&$new_value_stra string by reference that we can store the new values in
bool&$field_cascade_valuewhether value updates to this field should cascade to children
string$type_codeThe type_code of the asset that the metadata is being printed
Returns
boolean public

Definition at line 140 of file metadata_field_wysiwyg_edit_fns.inc.


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