public static function loadSettingsComponentTable($sComponentService, $sProvider, $sComponentType = 'component')
    {
        $oModel          = Factory::service($sComponentService, $sProvider);
        $sKey            = $oModel->getSettingKey();
        $aComponents     = $oModel->getAll();
        $aEnabled        = (array) $oModel->getEnabledSlug();
        $bEnableMultiple = $oModel->isMultiple();

        $aData = [
            'key'               => $sKey,
            'components'        => $aComponents,
            'enabled'           => $aEnabled,
            'canSelectMultiple' => $bEnableMultiple,
            'componentType'     => $sComponentType,
        ];

        $oView = Factory::service('View');
        return $oView->load('admin/_components/settings-component-table', $aData, true);
    }
public static function loadSettingsComponentTable($sComponentService, $sProvider, $sComponentType = 'component')
    {
        $oModel          = Factory::service($sComponentService, $sProvider);
        $sKey            = $oModel->getSettingKey();
        $aComponents     = $oModel->getAll();
        $aEnabled        = (array) $oModel->getEnabledSlug();
        $bEnableMultiple = $oModel->isMultiple();

        $aData = [
            'key'               => $sKey,
            'components'        => $aComponents,
            'enabled'           => $aEnabled,
            'canSelectMultiple' => $bEnableMultiple,
            'componentType'     => $sComponentType,
        ];

        $oView = Factory::service('View');
        return $oView->load('admin/_components/settings-component-table', $aData, true);
    }
public static function loadSettingsComponentTable ( $ sComponentService , $ sProvider , $ sComponentType = 'component' ) { $ oModel = Factory :: service ( $ sComponentService , $ sProvider ) ; $ sKey = $ oModel -> getSettingKey ( ) ; $ aComponents = $ oModel -> getAll ( ) ; $ aEnabled = ( array ) $ oModel -> getEnabledSlug ( ) ; $ bEnableMultiple = $ oModel -> isMultiple ( ) ; $ aData = [ 'key' => $ sKey , 'components' => $ aComponents , 'enabled' => $ aEnabled , 'canSelectMultiple' => $ bEnableMultiple , 'componentType' => $ sComponentType , ] ; $ oView = Factory :: service ( 'View' ) ; return $ oView -> load ( 'admin/_components/settings-component-table' , $ aData , true ) ; }
Load the admin "settings component table" component

@param  string $sComponentService The component service to use
@param  array  $sProvider         The model provider
@param  string $sComponentType    The type of component being loaded

@return string
@throws \Nails\Common\Exception\FactoryException
Load the admin settings component table component