src/Helper.php
public static function searchObject(
        $bSearchable,
        $aSortColumns,
        $sSortOn,
        $sSortOrder,
        $iPerPage,
        $sKeywords = '',
        $aCheckboxFilter = [],
        $aDropdownFilter = []
    ) {
        return (object) [
            'searchable'     => $bSearchable,
            'sortColumns'    => $aSortColumns,
            'sortOn'         => $sSortOn,
            'sortOrder'      => $sSortOrder,
            'perPage'        => $iPerPage,
            'keywords'       => $sKeywords,
            'checkboxFilter' => $aCheckboxFilter,
            'dropdownFilter' => $aDropdownFilter,
        ];
    }
public static function searchObject(
        $bSearchable,
        $aSortColumns,
        $sSortOn,
        $sSortOrder,
        $iPerPage,
        $sKeywords = '',
        $aCheckboxFilter = [],
        $aDropdownFilter = []
    ) {
        return (object) [
            'searchable'     => $bSearchable,
            'sortColumns'    => $aSortColumns,
            'sortOn'         => $sSortOn,
            'sortOrder'      => $sSortOrder,
            'perPage'        => $iPerPage,
            'keywords'       => $sKeywords,
            'checkboxFilter' => $aCheckboxFilter,
            'dropdownFilter' => $aDropdownFilter,
        ];
    }
Creates a standard object designed for use with self::loadSearch()

@param  boolean $bSearchable     Whether the result set is keyword searchable
@param  array   $aSortColumns    An array of columns to sort results by
@param  string  $sSortOn         The column to sort on
@param  string  $sSortOrder      The order to sort results in
@param  integer $iPerPage        The number of results to show per page
@param  string  $sKeywords       Keywords to apply to the search result
@param  array   $aCheckboxFilter An array of filters to filter the results by, presented as checkboxes
@param  array   $aDropdownFilter An array of filters to filter the results by, presented as a dropdown

@return \stdClass