src/FilterSetting/Checkbox.php
private function prepareLabel(IAttribute $objAttribute)
    {
        return ($this->get('ynmode') == 'radio' || $this->get('ynfield') ?
            array(
                ($this->get('label') ?: $objAttribute->getName()),
                ($this->get('ynmode') == 'yes'
                    ? $GLOBALS['TL_LANG']['MSC']['yes']
                    : $GLOBALS['TL_LANG']['MSC']['no']
                )
            )
            :
            array(
                ($this->get('label') ?: $objAttribute->getName()),
                ($this->get('ynmode') == 'no'
                    ? sprintf(
                        $GLOBALS['TL_LANG']['MSC']['extended_no'],
                        ($this->get('label') ?: $objAttribute->getName())
                    )
                    : ($this->get('label') ?: $objAttribute->getName())
                )
            )
        );
    }
private function prepareLabel(IAttribute $objAttribute)
    {
        return ($this->get('ynmode') == 'radio' || $this->get('ynfield') ?
            array(
                ($this->get('label') ?: $objAttribute->getName()),
                ($this->get('ynmode') == 'yes'
                    ? $GLOBALS['TL_LANG']['MSC']['yes']
                    : $GLOBALS['TL_LANG']['MSC']['no']
                )
            )
            :
            array(
                ($this->get('label') ?: $objAttribute->getName()),
                ($this->get('ynmode') == 'no'
                    ? sprintf(
                        $GLOBALS['TL_LANG']['MSC']['extended_no'],
                        ($this->get('label') ?: $objAttribute->getName())
                    )
                    : ($this->get('label') ?: $objAttribute->getName())
                )
            )
        );
    }
private function prepareLabel ( IAttribute $ objAttribute ) { return ( $ this -> get ( 'ynmode' ) == 'radio' || $ this -> get ( 'ynfield' ) ? array ( ( $ this -> get ( 'label' ) ? : $ objAttribute -> getName ( ) ) , ( $ this -> get ( 'ynmode' ) == 'yes' ? $ GLOBALS [ 'TL_LANG' ] [ 'MSC' ] [ 'yes' ] : $ GLOBALS [ 'TL_LANG' ] [ 'MSC' ] [ 'no' ] ) ) : array ( ( $ this -> get ( 'label' ) ? : $ objAttribute -> getName ( ) ) , ( $ this -> get ( 'ynmode' ) == 'no' ? sprintf ( $ GLOBALS [ 'TL_LANG' ] [ 'MSC' ] [ 'extended_no' ] , ( $ this -> get ( 'label' ) ? : $ objAttribute -> getName ( ) ) ) : ( $ this -> get ( 'label' ) ? : $ objAttribute -> getName ( ) ) ) ) ) ; }
Prepare the label depending on yes no mode.

@param IAttribute $objAttribute The metamodel attribute.

@return array

@SuppressWarnings(PHPMD.Superglobals)
Prepare the label depending on yes no mode .