public function appendShowAssociationCheckbox(XMLElement &$wrapper, $help = null)
    {
        if (!$this->_showassociation) {
            return;
        }

        $label = $this->createCheckboxSetting($wrapper, 'show_association', __('Display associations in entries table'), $help);
        $label->setAttribute('data-condition', 'associative');
    }
public function appendShowAssociationCheckbox(XMLElement &$wrapper, $help = null)
    {
        if (!$this->_showassociation) {
            return;
        }

        $label = $this->createCheckboxSetting($wrapper, 'show_association', __('Display associations in entries table'), $help);
        $label->setAttribute('data-condition', 'associative');
    }
public function appendShowAssociationCheckbox ( XMLElement & $ wrapper , $ help = null ) { if ( ! $ this -> _showassociation ) { return ; } $ label = $ this -> createCheckboxSetting ( $ wrapper , 'show_association' , __ ( 'Display associations in entries table' ) , $ help ) ; $ label -> setAttribute ( 'data-condition' , 'associative' ) ; }
Append the show association html widget to the input parent XML element. This
widget allows fields that provide linking to hide or show the column in the linked
section, similar to how the Show Column functionality works, but for the linked
section.

@param XMLElement $wrapper
the parent XML element to append the checkbox to.
@param string $help (optional)
a help message to show below the checkbox.
@throws InvalidArgumentException
Append the show association html widget to the input parent XML element . This widget allows fields that provide linking to hide or show the column in the linked section similar to how the Show Column functionality works but for the linked section .