public function parameterFields()
    {
        $return = FieldList::create(
            $title = TextField::create(
                'Title', _t('CommentReport.NEWSSEARCHTITLE', 'Search newsitem')
            ), $count = DropdownField::create(
            'Comment', _t('CommentReport.COUNTFILTER', 'Comment count filter'), array(
                ''            => _t('CommentReport.ANY', 'All'),
                'SPAMCOUNT'   => _t('CommentReport.SPAMCOUNT', 'One or more spam comments'),
                'HIDDENCOUNT' => _t('CommentReport.HIDDENCOUNT', 'One or more hidden comments'),
            )
        )
        );

        return $return;
    }
public function parameterFields()
    {
        $return = FieldList::create(
            $title = TextField::create(
                'Title', _t('CommentReport.NEWSSEARCHTITLE', 'Search newsitem')
            ), $count = DropdownField::create(
            'Comment', _t('CommentReport.COUNTFILTER', 'Comment count filter'), array(
                ''            => _t('CommentReport.ANY', 'All'),
                'SPAMCOUNT'   => _t('CommentReport.SPAMCOUNT', 'One or more spam comments'),
                'HIDDENCOUNT' => _t('CommentReport.HIDDENCOUNT', 'One or more hidden comments'),
            )
        )
        );

        return $return;
    }
public function parameterFields ( ) { $ return = FieldList :: create ( $ title = TextField :: create ( 'Title' , _t ( 'CommentReport.NEWSSEARCHTITLE' , 'Search newsitem' ) ) , $ count = DropdownField :: create ( 'Comment' , _t ( 'CommentReport.COUNTFILTER' , 'Comment count filter' ) , array ( '' => _t ( 'CommentReport.ANY' , 'All' ) , 'SPAMCOUNT' => _t ( 'CommentReport.SPAMCOUNT' , 'One or more spam comments' ) , 'HIDDENCOUNT' => _t ( 'CommentReport.HIDDENCOUNT' , 'One or more hidden comments' ) , ) ) ) ; return $ return ; }
Setup the searchform.

@return \FieldList FieldList instance with the searchfields.
Setup the searchform .