AdminPageFramework_FieldType_image::_getFormattedUploadButtonAttributes PHP Метод

_getFormattedUploadButtonAttributes() приватный Метод

private _getFormattedUploadButtonAttributes ( $sInputID, array $aButtonAttributes, $_bIsLabelSet, $bRepeatable, $bExternalSource )
$aButtonAttributes array
    private function _getFormattedUploadButtonAttributes($sInputID, array $aButtonAttributes, $_bIsLabelSet, $bRepeatable, $bExternalSource)
    {
        $_aAttributes = array('id' => "select_image_{$sInputID}", 'href' => '#', 'data-uploader_type' => (string) function_exists('wp_enqueue_media'), 'data-enable_external_source' => (string) (bool) $bExternalSource) + $aButtonAttributes + array('title' => $_bIsLabelSet ? $aButtonAttributes['data-label'] : $this->oMsg->get('select_image'), 'data-label' => null);
        $_aAttributes['class'] = $this->getClassAttribute('select_image button button-small ', $this->getAOrB(trim($aButtonAttributes['class']), $aButtonAttributes['class'], $this->getAOrB($_bIsLabelSet, '', $this->getAOrB($bRepeatable, $this->_getDashIconSelectorsBySlug('images-alt2'), $this->_getDashIconSelectorsBySlug('format-image')))));
        return $_aAttributes;
    }