function views_plugin_style_atom_fields::atom_mapping_fields in Views Atom 7
Same name and namespace in other branches
- 6 views/views_plugin_style_atom_fields.inc \views_plugin_style_atom_fields::atom_mapping_fields()
Keep track of what fields are mapped for reuse.
2 calls to views_plugin_style_atom_fields::atom_mapping_fields()
- views_plugin_style_atom_fields::options_form in ./
views_plugin_style_atom_fields.inc - Provide a form for setting options.
- views_plugin_style_atom_fields::validate in ./
views_plugin_style_atom_fields.inc - Validate that the feed has all needed fields for atom to function.
File
- ./
views_plugin_style_atom_fields.inc, line 144 - Style plugin for a standard Atom feed.
Class
- views_plugin_style_atom_fields
- @file Style plugin for a standard Atom feed.
Code
function atom_mapping_fields() {
return array(
'atom_title' => array(
'label' => t('Title'),
'required' => TRUE,
),
'atom_summary' => array(
'label' => t('Summary'),
),
'atom_url' => array(
'label' => t('URL'),
'required' => TRUE,
),
'atom_updated' => array(
'label' => t('Updated'),
'required' => TRUE,
),
'atom_published' => array(
'label' => t('Published'),
),
'atom_author' => array(
'label' => t('Author Name'),
),
'atom_author_email' => array(
'label' => t('Author Email'),
),
'atom_author_url' => array(
'label' => t('Author URL'),
),
);
}