header

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Tag feature.Tag = "njn-blocks-header"
)

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) 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) 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)

type MakeBlock

type MakeBlock interface {
	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