summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--export/views_bonus_plugin_style_export_xml.inc112
1 files changed, 0 insertions, 112 deletions
diff --git a/export/views_bonus_plugin_style_export_xml.inc b/export/views_bonus_plugin_style_export_xml.inc
index 0627991..9862ff0 100644
--- a/export/views_bonus_plugin_style_export_xml.inc
+++ b/export/views_bonus_plugin_style_export_xml.inc
@@ -80,116 +80,4 @@ class views_bonus_plugin_style_export_xml extends views_bonus_plugin_style_expor
),
);
}
- /**
- * Set options fields and default values.
- *
- * @return
- * An array of options information.
- */
- function option_definition() {
- $options = parent::option_definition();
-
- $options['transform'] = array(
- 'default' => TRUE,
- 'translatable' => FALSE,
- );
- $options['transform_type'] = array(
- 'default' => 'dash',
- 'translatable' => FALSE,
- );
-
- return $options;
- }
-
- /**
- * Options form mini callback.
- *
- * @param $form
- * Form array to add additional fields to.
- * @param $form_state
- * State of the form.
- * @return
- * None.
- */
- function options_form(&$form, &$form_state) {
- parent::options_form($form, $form_state);
-
- $form['transform'] = array(
- '#type' => 'checkbox',
- '#title' => t('Transform spaces'),
- '#default_value' => $this->options['transform'],
- '#description' => t('Transform spaces to valid XML in field labels (spaces create invalid XML markup).'),
- );
- $form['transform_type'] = array(
- '#type' => 'select',
- '#title' => t('Transform type'),
- '#default_value' => $this->options['transform_type'],
- '#options' => array(
- 'dash' => t('Dash'),
- 'underline' => t('Underline'),
- 'camel' => t('camelCase'),
- 'pascal' => t('PascalCase'),
- ),
- '#process' => array('views_process_dependency'),
- '#dependency' => array(
- 'edit-style-options-transform' => array(TRUE),
- ),
- );
- }
- /**
- * Set options fields and default values.
- *
- * @return
- * An array of options information.
- */
- function option_definition() {
- $options = parent::option_definition();
-
- $options['transform'] = array(
- 'default' => TRUE,
- 'translatable' => FALSE,
- );
- $options['transform_type'] = array(
- 'default' => 'dash',
- 'translatable' => FALSE,
- );
-
- return $options;
- }
-
- /**
- * Options form mini callback.
- *
- * @param $form
- * Form array to add additional fields to.
- * @param $form_state
- * State of the form.
- * @return
- * None.
- */
- function options_form(&$form, &$form_state) {
- parent::options_form($form, $form_state);
-
- $form['transform'] = array(
- '#type' => 'checkbox',
- '#title' => t('Transform spaces'),
- '#default_value' => $this->options['transform'],
- '#description' => t('Transform spaces to valid XML in field labels (spaces create invalid XML markup).'),
- );
- $form['transform_type'] = array(
- '#type' => 'select',
- '#title' => t('Transform type'),
- '#default_value' => $this->options['transform_type'],
- '#options' => array(
- 'dash' => t('Dash'),
- 'underline' => t('Underline'),
- 'camel' => t('camelCase'),
- 'pascal' => t('PascalCase'),
- ),
- '#process' => array('views_process_dependency'),
- '#dependency' => array(
- 'edit-style-options-transform' => array(TRUE),
- ),
- );
- }
}