BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
Maps\ServiceParam Class Reference
Inheritance diagram for Maps\ServiceParam:
Collaboration diagram for Maps\ServiceParam:

Public Member Functions

 setArrayValues (array $param)
 
 setFeature ($feature)
 
- Public Member Functions inherited from ParamProcessor\Definition\StringParam
 setArrayValues (array $param)
 
 setToLower ($toLower)
 
- Public Member Functions inherited from ParamProcessor\ParamDefinition
 __construct ($type, $name, $default=null, $message=null, $isList=false)
 
 trimDuringClean ()
 
 getAliases ()
 
 hasAlias ($alias)
 
 hasDependency ($dependency)
 
 getAllowedValues ()
 
 setDefault ($default, $manipulate=true)
 
 getDefault ()
 
 getMessage ()
 
 setMessage ($message)
 
 setDoManipulationOfDefault ($doOrDoNotThereIsNoTry)
 
 shouldManipulateDefault ()
 
 addAliases ($aliases)
 
 addDependencies ($dependencies)
 
 getName ()
 
 getTypeMessage ()
 
 getDependencies ()
 
 isRequired ()
 
 isList ()
 
 getDelimiter ()
 
 setDelimiter ($delimiter)
 
 setArrayValues (array $param)
 
 format (IParam $param, array &$definitions, array $params)
 
 getType ()
 
 getValueParser ()
 
 getValueValidator ()
 
 setValueParser (ValueParser $parser)
 
 setValueValidator (ValueValidator $validator)
 
 setValidationCallback ($validationFunction)
 
 getValidationCallback ()
 
 getOptions ()
 

Protected Member Functions

 postConstruct ()
 
 formatValue ($value, IParam $param, array &$definitions, array $params)
 
- Protected Member Functions inherited from ParamProcessor\Definition\StringParam
 formatValue ($value, IParam $param, array &$definitions, array $params)
 
- Protected Member Functions inherited from ParamProcessor\ParamDefinition
 postConstruct ()
 
 formatList (IParam $param, array &$definitions, array $params)
 
 formatValue ($value, IParam $param, array &$definitions, array $params)
 

Protected Attributes

 $feature
 
- Protected Attributes inherited from ParamProcessor\Definition\StringParam
 $toLower = false
 
- Protected Attributes inherited from ParamProcessor\ParamDefinition
 $trimValue = null
 
 $applyManipulationsToDefault = true
 
 $dependencies = []
 
 $default
 
 $name
 
 $isList
 
 $delimiter = ','
 
 $aliases = []
 
 $message = 'validator-message-nodesc'
 
 $options = []
 
 $parser = null
 
 $validator = null
 
 $validationFunction = null
 
 $type
 

Additional Inherited Members

- Static Public Member Functions inherited from ParamProcessor\ParamDefinition
static getCleanDefinitions (array $definitions)
 
- Static Public Attributes inherited from ParamProcessor\ParamDefinition
static $acceptOverriding = false
 
static $accumulateParameterErrors = false
 

Detailed Description

Parameter definition for mapping service parameters.

Since
2.0

GNU GPL v2+

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

Maps\ServiceParam::formatValue (   $value,
IParam  $param,
array &  $definitions,
array  $params 
)
protected
See Also
ParamDefinition::formatValue()
Since
2.0
Parameters
mixed$value
IParam$param
IParamDefinition[]$definitions
IParam[]$params
Returns
mixed
Maps\ServiceParam::postConstruct ( )
protected
Maps\ServiceParam::setArrayValues ( array  $param)
See Also
ParamDefinition::setArrayValues()
Since
2.0
Parameters
array$param

Implements ParamProcessor\IParamDefinition.

Maps\ServiceParam::setFeature (   $feature)

Sets the mapping feature.

Since
2.0
Parameters
string$feature

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