summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SemanticForms/includes/forminputs/SF_EnumInput.php')
-rw-r--r--SemanticForms/includes/forminputs/SF_EnumInput.php62
1 files changed, 0 insertions, 62 deletions
diff --git a/SemanticForms/includes/forminputs/SF_EnumInput.php b/SemanticForms/includes/forminputs/SF_EnumInput.php
deleted file mode 100644
index c0a5aa24..00000000
--- a/SemanticForms/includes/forminputs/SF_EnumInput.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-/**
- * File holding the SFEnumInput class
- *
- * @file
- * @ingroup SF
- */
-
-/**
- * The SFEnumInput class.
- * The base class for every form input that holds a pre-set enumeration
- * of values.
- *
- * @ingroup SFFormInput
- */
-abstract class SFEnumInput extends SFFormInput {
-
- public static function getOtherPropTypesHandled() {
- return array( 'enumeration', '_boo' );
- }
-
- public static function getValuesParameters() {
- $params = array();
- $params[] = array(
- 'name' => 'values',
- 'type' => 'string',
- 'description' => wfMessage( 'sf_forminputs_values' )->text()
- );
- $params[] = array(
- 'name' => 'values from property',
- 'type' => 'string',
- 'description' => wfMessage( 'sf_forminputs_valuesfromproperty' )->text()
- );
- $params[] = array(
- 'name' => 'values from category',
- 'type' => 'string',
- 'description' => wfMessage( 'sf_forminputs_valuesfromcategory' )->text()
- );
- $params[] = array(
- 'name' => 'values from namespace',
- 'type' => 'string',
- 'description' => wfMessage( 'sf_forminputs_valuesfromnamespace' )->text()
- );
- $params[] = array(
- 'name' => 'values from concept',
- 'type' => 'string',
- 'description' => wfMessage( 'sf_forminputs_valuesfromconcept' )->text()
- );
- return $params;
- }
-
- public static function getParameters() {
- $params = parent::getParameters();
- $params = array_merge( $params, self::getValuesParameters() );
- $params[] = array(
- 'name' => 'show on select',
- 'type' => 'string',
- 'description' => wfMessage( 'sf_forminputs_showonselect' )->text()
- );
- return $params;
- }
-}