Advertisement
Guest User

Untitled

a guest
May 21st, 2012
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. /**
  2.      * Helper method to collect configuration for this class
  3.      * @param \TYPO3\FLOW3\Property\PropertyMappingConfigurationInterface $configuration
  4.      * @param array $configurationKeys
  5.      * @return array
  6.      */
  7.     protected function getConfigurationKeysAndValues(\TYPO3\FLOW3\Property\PropertyMappingConfigurationInterface $configuration, array $configurationKeys) {
  8.         $keysAndValues = array();
  9.         foreach ($configurationKeys as $configurationKey) {
  10.             $keysAndValues[$configurationKey] = $configuration->getConfigurationValue('TYPO3\FLOW3\Property\TypeConverter\FloatConverter', $configurationKey);
  11.         }
  12.         return $keysAndValues;
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement