protected function setFieldLabel($details, $features, $fieldLabel)
    {
        $aLabel = ['for' => $details['COLUMN_NAME'], 'id' => $details['COLUMN_NAME'] . '_label'];
        if (isset($features['disabled'])) {
            if (in_array($details['COLUMN_NAME'], $features['disabled'])) {
                $aLabel = array_merge($aLabel, ['style' => 'color: grey;']);
            }
        }
        return $this->setStringIntoTag($fieldLabel, 'label', $aLabel);
    }
protected function setFieldLabel($details, $features, $fieldLabel)
    {
        $aLabel = ['for' => $details['COLUMN_NAME'], 'id' => $details['COLUMN_NAME'] . '_label'];
        if (isset($features['disabled'])) {
            if (in_array($details['COLUMN_NAME'], $features['disabled'])) {
                $aLabel = array_merge($aLabel, ['style' => 'color: grey;']);
            }
        }
        return $this->setStringIntoTag($fieldLabel, 'label', $aLabel);
    }
protected function setFieldLabel ( $ details , $ features , $ fieldLabel ) { $ aLabel = [ 'for' => $ details [ 'COLUMN_NAME' ] , 'id' => $ details [ 'COLUMN_NAME' ] . '_label' ] ; if ( isset ( $ features [ 'disabled' ] ) ) { if ( in_array ( $ details [ 'COLUMN_NAME' ] , $ features [ 'disabled' ] ) ) { $ aLabel = array_merge ( $ aLabel , [ 'style' => 'color: grey;' ] ) ; } } return $ this -> setStringIntoTag ( $ fieldLabel , 'label' , $ aLabel ) ; }
Prepares the label for inputs

@param array $details
@param array $features
@param string $fieldLabel
@return string
Prepares the label for inputs