Squiz Matrix
4.12.2
|
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 Metadata_Field_Edit_Fns | |
__construct () | |
paintKeywordInstructions (Metadata_Field $asset, Backend_Outputter $o, $prefix) | |
processKeywordInstructions (Metadata_Field $asset, Backend_Outputter $o, $prefix) | |
paintValueComponents (Metadata_Field $asset, Backend_Outputter $o, $prefix) | |
processValueComponents (Metadata_Field $asset, Backend_Outputter $o, $prefix) | |
paintInlineValueInterface (Metadata_Field $asset, Backend_Outputter $o, $value_str, $write_access, $print_cascade_values_option=TRUE, $type_code=NULL) | |
paintValueInterface (Metadata_Field $asset, Backend_Outputter $o, $value_str, $write_access, $enable_default=TRUE, $print_cascade_values_option=TRUE, $type_code=NULL) | |
processInlineValueInterface (Metadata_Field $asset, &$new_value_str, &$field_cascade_value) | |
requiredFieldsComplete (Metadata_Field $asset, $value_str) | |
generateMetadata (Metadata_Field $asset, $value_str, &$tag_value, Array &$keywords) | |
canUsePlainDefault (Metadata_Field $asset) | |
requiresCustomDefault (Metadata_Field $asset) | |
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 | |
Definition at line 32 of file metadata_field_wysiwyg_edit_fns.inc.
__construct | ( | ) |
Constructor
Definition at line 40 of file metadata_field_wysiwyg_edit_fns.inc.
generateMetadata | ( | Metadata_Field_WYSIWYG | $asset, |
$value_str, | |||
& | $tag_value, | ||
Array & | $keywords | ||
) |
Output the complete metadata tag for this field
Metadata_Field_Select | $asset | the asset whose interface we are painting |
string | $value_str | the current value for this field in the asset (NOT $asset) NULL means that there is no current value set |
array | &$tag_value | the metadata tag value |
array | &$keywords | an array we can put keywords in that need replacing |
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!
Metadata_Field_Text | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
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
Metadata_Field_Text | $asset | the metadata field asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $value_str | the current value for this field in the owning asset (NOT $asset) NULL means that there is no current value set |
boolean | $write_access | whether to allow editing of this field (typically depends on write access to owner and editability of field) |
boolean | $enable_default | Whether to show the 'use default' checkbox |
string | $type_code | The type_code of the asset that the metadata is being printed |
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
Metadata_Field_Text | $asset | the asset whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for the form elements |
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
Metadata_Field_Text | $asset | the asset whose interface we are processing |
string | &$new_value_str | a string by reference that we can store the new values in |
bool | &$field_cascade_value | whether value updates to this field should cascade to children |
string | $type_code | The type_code of the asset that the metadata is being printed |
Definition at line 140 of file metadata_field_wysiwyg_edit_fns.inc.