private function getLabelForValue($fieldConfiguration, $value)
    {
        $label = "";
        foreach ($fieldConfiguration['options'] as $option) {
            if ($option['value'] == $value) {
                $label = $option['label'];
            }
        }

        return $label;
    }
private function getLabelForValue($fieldConfiguration, $value)
    {
        $label = "";
        foreach ($fieldConfiguration['options'] as $option) {
            if ($option['value'] == $value) {
                $label = $option['label'];
            }
        }

        return $label;
    }
private function getLabelForValue ( $ fieldConfiguration , $ value ) { $ label = "" ; foreach ( $ fieldConfiguration [ 'options' ] as $ option ) { if ( $ option [ 'value' ] == $ value ) { $ label = $ option [ 'label' ] ; } } return $ label ; }
Gets the label for the set value.

@param mixed $fieldConfiguration
@param string $value

@return string $label
Gets the label for the set value .