njn_tagcloud

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Tag feature.Tag = "tagcloud-njn-block"
)

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
	// contains filtered or unexported fields
}

func (*CBlock) Init

func (f *CBlock) Init(this interface{})

func (*CBlock) Make

func (f *CBlock) Make() Block

func (*CBlock) NjnBlockType

func (f *CBlock) NjnBlockType() (name string)

func (*CBlock) NjnClass

func (f *CBlock) NjnClass() (tagClass feature.NjnClass)

func (*CBlock) PostStartup

func (f *CBlock) PostStartup(ctx *cli.Context) (err error)

func (*CBlock) PrepareBlock

func (f *CBlock) PrepareBlock(re feature.EnjinRenderer, blockType string, data map[string]interface{}) (block map[string]interface{}, redirect string, err error)

func (*CBlock) ProcessBlock

func (f *CBlock) ProcessBlock(re feature.EnjinRenderer, blockType string, data map[string]interface{}) (html template.HTML, redirect string, err error)

func (*CBlock) RenderPreparedBlock

func (f *CBlock) RenderPreparedBlock(re feature.EnjinRenderer, block map[string]interface{}) (html template.HTML, err error)

func (*CBlock) SetTagCloud

func (f *CBlock) SetTagCloud(tag feature.Tag) MakeBlock

type MakeBlock

type MakeBlock interface {
	SetTagCloud(tag feature.Tag) MakeBlock

	Make() Block
}

func New

func New() (field MakeBlock)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL