FOF30\Form\Header\HeaderBase::getFilterSource PHP Méthode

getFilterSource() protected méthode

Return the key of the filter value in the model state or, if it's not set, the name of the field.
protected getFilterSource ( string $filterSource ) : string
$filterSource string The filter source value to return
Résultat string
    protected function getFilterSource($filterSource)
    {
        if ($filterSource) {
            return $filterSource;
        } else {
            return $this->name;
        }
    }