static public function extractPagerOptions($data)
    {
        $options = [];
        if (is_array($data)) foreach ($data as $k=>$v) {
            if (in_array($k, ['show_style', 'show_pages', 'prev_title', 'next_title'])) {
                $options[$k] = $v;
            }
        }
        return $options;
    }
static public function extractPagerOptions($data)
    {
        $options = [];
        if (is_array($data)) foreach ($data as $k=>$v) {
            if (in_array($k, ['show_style', 'show_pages', 'prev_title', 'next_title'])) {
                $options[$k] = $v;
            }
        }
        return $options;
    }
static public function extractPagerOptions ( $ data ) { $ options = [ ] ; if ( is_array ( $ data ) ) foreach ( $ data as $ k => $ v ) { if ( in_array ( $ k , [ 'show_style' , 'show_pages' , 'prev_title' , 'next_title' ] ) ) { $ options [ $ k ] = $ v ; } } return $ options ; }
extract pager options from array
@param  array $data
@return array
extract pager options from array