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

Public Member Functions

 __construct ()
 
 paintValueInterface (Metadata_Field_Select $asset, Backend_Outputter $o, $value_str, $write_access, $enable_default=TRUE, $print_cascade_values_option=TRUE)
 
 processInlineValueInterface (Metadata_Field_Select $asset, &$new_value_str, &$field_cascade_value)
 
 paintSelection (Metadata_Field_Select $asset, Backend_Outputter $o, $prefix)
 
 processSelection (Metadata_Field_Select $asset, Backend_Outputter $o, $prefix)
 
 paintEditParams (Metadata_Field_Select $asset, Backend_Outputter $o, $prefix)
 
 processEditParams (Metadata_Field_Select $asset, Backend_Outputter $o, $prefix)
 
 generateMetadata (Metadata_Field_Select $asset, $value_str, &$tag_value, Array &$keywords)
 
 paintOptionUpload (Metadata_Field_Select $asset, Backend_Outputter $o, $prefix)
 
 paintOptionUploadHeader (Metadata_Field_Select $asset, Backend_Outputter $o, $prefix)
 
 processOptionUpload (Metadata_Field_Select $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 31 of file metadata_field_select_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 39 of file metadata_field_select_edit_fns.inc.

Member Function Documentation

generateMetadata ( Metadata_Field_Select  $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 442 of file metadata_field_select_edit_fns.inc.

paintEditParams ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for setting selection edit params

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

Definition at line 401 of file metadata_field_select_edit_fns.inc.

paintOptionUpload ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $prefix 
)

Print the interface for uploading a CSV file containing a mass list of options

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

Definition at line 468 of file metadata_field_select_edit_fns.inc.

paintOptionUploadHeader ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $prefix 
)

Print the interface for the csv header checkbox

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

Definition at line 487 of file metadata_field_select_edit_fns.inc.

paintSelection ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for dropdown selection box

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

Definition at line 209 of file metadata_field_select_edit_fns.inc.

paintValueInterface ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $value_str,
  $write_access,
  $enable_default = TRUE,
  $print_cascade_values_option = TRUE 
)

Paint the interface for filling in metadata values

Returns true if a submitable interface has been printed

Parameters
Metadata_Field_Select$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
Returns
boolean public

Definition at line 62 of file metadata_field_select_edit_fns.inc.

processEditParams ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the interface for setting selection edit params

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

Definition at line 419 of file metadata_field_select_edit_fns.inc.

processInlineValueInterface ( Metadata_Field_Select  $asset,
$new_value_str,
$field_cascade_value 
)

Process the interface for filling in metadata values

Parameters
Metadata_Field_Select$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
Returns
boolean public

Definition at line 166 of file metadata_field_select_edit_fns.inc.

processOptionUpload ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $prefix 
)

Print the interface for uploading a CSV file containing a mass list of options

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

Definition at line 506 of file metadata_field_select_edit_fns.inc.

processSelection ( Metadata_Field_Select  $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the interface for dropdown selection box

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

Definition at line 322 of file metadata_field_select_edit_fns.inc.


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