src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/PanelBuilder.php
private function parsePanelFilter(PanelRowInterface $row)
    {
        foreach ($this->inputScreen['properties'] as $value) {
            if (!empty($value['filter'])) {
                $element = new DefaultFilterElementInformation();
                $element->setPropertyName($value['col_name']);
                if (!$row->hasElement($element->getName())) {
                    $row->addElement($element);
                }
            }
        }
    }
private function parsePanelFilter(PanelRowInterface $row)
    {
        foreach ($this->inputScreen['properties'] as $value) {
            if (!empty($value['filter'])) {
                $element = new DefaultFilterElementInformation();
                $element->setPropertyName($value['col_name']);
                if (!$row->hasElement($element->getName())) {
                    $row->addElement($element);
                }
            }
        }
    }
private function parsePanelFilter ( PanelRowInterface $ row ) { foreach ( $ this -> inputScreen [ 'properties' ] as $ value ) { if ( ! empty ( $ value [ 'filter' ] ) ) { $ element = new DefaultFilterElementInformation ( ) ; $ element -> setPropertyName ( $ value [ 'col_name' ] ) ; if ( ! $ row -> hasElement ( $ element -> getName ( ) ) ) { $ row -> addElement ( $ element ) ; } } } }
Add filter elements to the panel.

@param PanelRowInterface $row The row to which the element shall get added to.

@return void
Add filter elements to the panel .