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

Public Member Functions

 __construct ()
 
 paintInlineOptionInterface (Metadata_Section $asset, Backend_Outputter $o)
 
 processInlineOptionInterface (Metadata_Section $asset, Backend_Outputter $o)
 
 paintInlineValueInterface (Metadata_Section $asset, Backend_Outputter $o, Array $values, $write_access, $print_cascade_values_option=TRUE, $type_code=NULL)
 
 processInlineValueInterface (Metadata_Section $asset, Array &$new_values, Array &$section_cascade_value_asset_ids, $type_code=NULL)
 
 requiredFieldsComplete (Metadata_Section $asset, $values, $type_code=NULL)
 
 generateMetadata (Metadata_Section $asset, Array &$values, Array &$tag_values, Array &$keywords, $type_code=NULL)
 
- Public Member Functions inherited from Folder_Edit_Fns
 Folder_Edit_Fns ()
 
- 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 30 of file metadata_section_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 38 of file metadata_section_edit_fns.inc.

Member Function Documentation

generateMetadata ( Metadata_Section  $asset,
Array &  $values,
Array &  $tag_values,
Array &  $keywords,
  $type_code = NULL 
)

Output the complete metadata tags for this section

Parameters
Metadata_Section$assetthe asset whose interface we are painting
array&$valuesthe current metadata values
array&$tag_valuesthe metadata tag values
array&$keywordsan array we can put keywords in that need replacing
string$type_codeThe type_code of the asset that the metadata is being printed
Returns
boolean public

Definition at line 480 of file metadata_section_edit_fns.inc.

paintInlineOptionInterface ( Metadata_Section  $asset,
Backend_Outputter  $o 
)

Paint the interface for editing metadata fields

Parameters
Metadata_Section$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
Returns
boolean public

Definition at line 55 of file metadata_section_edit_fns.inc.

paintInlineValueInterface ( Metadata_Section  $asset,
Backend_Outputter  $o,
Array  $values,
  $write_access,
  $print_cascade_values_option = TRUE,
  $type_code = NULL 
)

Paint the interface for filling in metadata values

Parameters
Metadata_Section$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
array$valuescurrent metadata values set for this asset
boolean$write_accessdoes the current user have write access to the asset that we are setting metadata for (NOT THE SAME AS $asset)
boolean$print_cascade_values_optionShow the cascade value option
string$type_codeThe type_code of the asset that the metadata is being printed
Returns
boolean public

Definition at line 309 of file metadata_section_edit_fns.inc.

processInlineOptionInterface ( Metadata_Section  $asset,
Backend_Outputter  $o 
)

Process the interface for editing metadata fields

Parameters
Metadata_Section$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
Returns
boolean public

Definition at line 202 of file metadata_section_edit_fns.inc.

processInlineValueInterface ( Metadata_Section  $asset,
Array &  $new_values,
Array &  $section_cascade_value_asset_ids,
  $type_code = NULL 
)

Process the interface for filling in metadata values

Returns true if at least one field processed itself and got a value

Parameters
Metadata_Section$assetthe asset whose interface we are painting
array&$new_valuesan array we can store the new values in
Returns
boolean public

Definition at line 380 of file metadata_section_edit_fns.inc.

requiredFieldsComplete ( Metadata_Section  $asset,
  $values,
  $type_code = NULL 
)

Check if all required fields have been completed in the values supplied

Parameters
Metadata_Section$assetthe asset whose interface we are painting
array$valuesthe current metadata values
string$type_codeThe type_code of the asset that the metadata is being printed
Returns
boolean public

Definition at line 428 of file metadata_section_edit_fns.inc.


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