MetaModels\Filter\Setting\SimpleLookup::getParameterDCA PHP Method

getParameterDCA() public method

public getParameterDCA ( )
    public function getParameterDCA()
    {
        // If defined as static, return nothing as not to be manipulated via editors.
        if (!$this->get('predef_param')) {
            return array();
        }
        $objAttribute = $this->getFilteredAttribute();
        $arrOptions = $objAttribute->getFilterOptions(null, false);
        return array($this->getParamName() => array('label' => array(sprintf($GLOBALS['TL_LANG']['MSC']['metamodel_filtersettings_parameter']['simplelookup'][0], $objAttribute->getName()), sprintf($GLOBALS['TL_LANG']['MSC']['metamodel_filtersettings_parameter']['simplelookup'][1], $objAttribute->getName())), 'inputType' => 'select', 'options' => $arrOptions, 'eval' => array('includeBlankOption' => true, 'style' => 'min-width:450px;width:450px;margin-bottom:16px;margin-right:10px;')));
    }