Documentation ¶
Index ¶
- Constants
- type Block
- type CBlock
- func (f *CBlock) Init(this interface{})
- func (f *CBlock) Make() Block
- func (f *CBlock) NjnBlockType() (name string)
- func (f *CBlock) NjnClass() (tagClass feature.NjnClass)
- func (f *CBlock) PrepareBlock(re feature.EnjinRenderer, blockType string, data map[string]interface{}) (block map[string]interface{}, redirect string, err error)
- func (f *CBlock) ProcessBlock(re feature.EnjinRenderer, blockType string, data map[string]interface{}) (html template.HTML, redirect string, err error)
- func (f *CBlock) RenderPreparedBlock(re feature.EnjinRenderer, block map[string]interface{}) (html template.HTML, err error)
- type Filter
- type Filters
- func (f Filters) Copy() (duplicate Filters)
- func (f Filters) FilterPages(pages []feature.Page) (filtered []feature.Page)
- func (f Filters) Find(key string) (filter Filter, ok bool)
- func (f Filters) SetPresent(key string) (updated bool)
- func (f Filters) Update(filter Filter) (updated bool)
- func (f Filters) UpdateUrls(tag, reqArgvPath string, argv ...string)
- type MakeBlock
- type View
- type Views
Constants ¶
View Source
const (
Tag feature.Tag = "njn-blocks-index"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block interface { feature.EnjinBlock }
type CBlock ¶
type CBlock struct {
feature.CEnjinBlock
}
func (*CBlock) NjnBlockType ¶
func (*CBlock) PrepareBlock ¶
func (*CBlock) ProcessBlock ¶
func (*CBlock) RenderPreparedBlock ¶
type Filter ¶
type Filters ¶
type Filters [][]Filter
func (Filters) FilterPages ¶
func (Filters) SetPresent ¶
func (Filters) UpdateUrls ¶
type View ¶
type View struct { Index int Key string Url string Label string Present bool Filters Filters HasFilters bool Paginate string NextMore string FirstPage string PrevPage string NextPage string LastPage string PageIndex int PageNumber int TotalPages int NumPerPage int SearchAction string }
func (*View) GroupHasFilterPresent ¶
func (*View) HasFilterPresent ¶
Click to show internal directories.
Click to hide internal directories.