types

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const COLUMN_ALIAS = "alias"
View Source
const COLUMN_CANONICAL_URL = "canonical_url"
View Source
const COLUMN_CONTENT = "content"
View Source
const COLUMN_CREATED_AT = "created_at"
View Source
const COLUMN_EDITOR = "editor"
View Source
const COLUMN_HANDLE = "handle"
View Source
const COLUMN_ID = "id"
View Source
const COLUMN_META_DESCRIPTION = "meta_description"
View Source
const COLUMN_META_KEYWORDS = "meta_keywords"
View Source
const COLUMN_META_ROBOTS = "meta_robots"
View Source
const COLUMN_NAME = "name"
View Source
const COLUMN_STATUS = "status"
View Source
const COLUMN_TEMPLATE_ID = "template_id"
View Source
const COLUMN_TITLE = "title"
View Source
const COLUMN_UPDATED_AT = "updated_at"
View Source
const WEBPAGE_EDITOR_BLOCKAREA = "blockarea"
View Source
const WEBPAGE_EDITOR_BLOCKEDITOR = "blockeditor"
View Source
const WEBPAGE_EDITOR_CODEMIRROR = "codemirror"
View Source
const WEBPAGE_EDITOR_HTMLAREA = "htmlarea"
View Source
const WEBPAGE_EDITOR_MARKDOWN = "markdown"
View Source
const WEBPAGE_EDITOR_TEXTAREA = "textarea"
View Source
const WEBPAGE_STATUS_ACTIVE = "active"
View Source
const WEBPAGE_STATUS_DELETED = "deleted"
View Source
const WEBPAGE_STATUS_DRAFT = "draft"
View Source
const WEBPAGE_STATUS_INACTIVE = "inactive"

Variables

This section is empty.

Functions

This section is empty.

Types

type WebBlock added in v1.7.3

type WebBlock struct {
	dataobject.DataObject
}

func NewWebBlock added in v1.7.3

func NewWebBlock() *WebBlock

func NewWebBlockFromExistingData added in v1.7.3

func NewWebBlockFromExistingData(data map[string]string) *WebBlock

func (*WebBlock) Content added in v1.7.3

func (o *WebBlock) Content() string

func (*WebBlock) CreatedAt added in v1.7.3

func (o *WebBlock) CreatedAt() string

func (*WebBlock) CreatedAtCarbon added in v1.7.3

func (o *WebBlock) CreatedAtCarbon() *carbon.Carbon

func (*WebBlock) Handle added in v1.7.3

func (o *WebBlock) Handle() string

func (*WebBlock) Name added in v1.7.3

func (o *WebBlock) Name() string

func (*WebBlock) SetContent added in v1.7.3

func (o *WebBlock) SetContent(content string)

func (*WebBlock) SetCreatedAt added in v1.7.3

func (o *WebBlock) SetCreatedAt(createdAt string)

func (*WebBlock) SetHandle added in v1.7.3

func (o *WebBlock) SetHandle(handle string)

func (*WebBlock) SetName added in v1.7.3

func (o *WebBlock) SetName(name string)

func (*WebBlock) SetStatus added in v1.7.3

func (o *WebBlock) SetStatus(status string)

func (*WebBlock) Status added in v1.7.3

func (o *WebBlock) Status() string

type WebBlockInterface added in v1.7.3

type WebBlockInterface interface {
	dataobject.DataObjectInterface

	CreatedAt() string
	SetCreatedAt(createdAt string)
	CreatedAtCarbon() *carbon.Carbon

	Content() string
	SetContent(content string)

	Handle() string
	SetHandle(handle string)

	ID() string
	SetID(id string)

	Name() string
	SetName(name string)

	Status() string
	SetStatus(status string)
}

type WebPage

type WebPage struct {
	dataobject.DataObject
}

func NewWebPage

func NewWebPage() *WebPage

func NewWebPageFromExistingData

func NewWebPageFromExistingData(data map[string]string) *WebPage

func (*WebPage) Alias

func (o *WebPage) Alias() string

func (*WebPage) CanonicalUrl

func (o *WebPage) CanonicalUrl() string

func (*WebPage) Content

func (o *WebPage) Content() string

func (*WebPage) CreatedAt

func (o *WebPage) CreatedAt() string

func (*WebPage) CreatedAtCarbon

func (o *WebPage) CreatedAtCarbon() *carbon.Carbon

func (*WebPage) Editor

func (o *WebPage) Editor() string

func (*WebPage) Handle

func (o *WebPage) Handle() string

func (*WebPage) ID

func (o *WebPage) ID() string

func (*WebPage) IsActive

func (o *WebPage) IsActive() bool

func (*WebPage) IsDeleted

func (o *WebPage) IsDeleted() bool

func (*WebPage) IsInactive

func (o *WebPage) IsInactive() bool

func (*WebPage) MetaDescription

func (o *WebPage) MetaDescription() string

func (*WebPage) MetaKeywords

func (o *WebPage) MetaKeywords() string

func (*WebPage) MetaRobots

func (o *WebPage) MetaRobots() string

func (*WebPage) Name

func (o *WebPage) Name() string

func (*WebPage) SetAlias

func (o *WebPage) SetAlias(alias string)

func (*WebPage) SetCanonicalUrl

func (o *WebPage) SetCanonicalUrl(canonicalUrl string)

func (*WebPage) SetContent

func (o *WebPage) SetContent(content string)

func (*WebPage) SetCreatedAt

func (o *WebPage) SetCreatedAt(createdAt string)

func (*WebPage) SetEditor

func (o *WebPage) SetEditor(editor string)

func (*WebPage) SetHandle

func (o *WebPage) SetHandle(handle string)

func (*WebPage) SetID

func (o *WebPage) SetID(id string)

func (*WebPage) SetMetaDescription

func (o *WebPage) SetMetaDescription(metaDescription string)

func (*WebPage) SetMetaKeywords

func (o *WebPage) SetMetaKeywords(metaKeywords string)

func (*WebPage) SetMetaRobots

func (o *WebPage) SetMetaRobots(metaRobots string)

func (*WebPage) SetName

func (o *WebPage) SetName(name string)

func (*WebPage) SetStatus

func (o *WebPage) SetStatus(status string)

func (*WebPage) SetTemplateID

func (o *WebPage) SetTemplateID(templateID string)

func (*WebPage) SetTitle

func (o *WebPage) SetTitle(title string)

func (*WebPage) SetUpdatedAt

func (o *WebPage) SetUpdatedAt(updatedAt string)

func (*WebPage) Status

func (o *WebPage) Status() string

func (*WebPage) TemplateID

func (o *WebPage) TemplateID() string

func (*WebPage) Title

func (o *WebPage) Title() string

func (*WebPage) UpdatedAt

func (o *WebPage) UpdatedAt() string

func (*WebPage) UpdatedAtCarbon

func (o *WebPage) UpdatedAtCarbon() *carbon.Carbon

type WebPageInterface

type WebPageInterface interface {
	Data() map[string]string
	DataChanged() map[string]string
	MarkAsNotDirty()

	ID() string
	SetID(id string)
	Alias() string
	SetAlias(alias string)
	CreatedAt() string
	SetCreatedAt(createdAt string)
	CreatedAtCarbon() *carbon.Carbon
	CanonicalUrl() string
	SetCanonicalUrl(canonicalUrl string)
	Content() string
	SetContent(content string)
	Editor() string
	SetEditor(editor string)
	Handle() string
	SetHandle(handle string)
	MetaDescription() string
	SetMetaDescription(metaDescription string)
	MetaKeywords() string
	SetMetaKeywords(metaKeywords string)
	MetaRobots() string
	SetMetaRobots(metaRobots string)
	Name() string
	SetName(name string)
	Status() string
	SetStatus(status string)
	Title() string
	SetTitle(title string)
	TemplateID() string
	SetTemplateID(templateID string)
	UpdatedAt() string
	SetUpdatedAt(updatedAt string)
	UpdatedAtCarbon() *carbon.Carbon

	IsActive() bool
	IsInactive() bool
	IsDeleted() bool
}

type WebWidget added in v1.7.3

type WebWidget struct {
	dataobject.DataObject
}

func NewWebWidget added in v1.7.3

func NewWebWidget() *WebWidget

func NewWebWidgetFromExistingData added in v1.7.3

func NewWebWidgetFromExistingData(data map[string]string) *WebWidget

func (*WebWidget) CreatedAt added in v1.7.3

func (o *WebWidget) CreatedAt() string

== SETTERS AND GETTERS ===================================================

func (*WebWidget) CreatedAtCarbon added in v1.7.3

func (o *WebWidget) CreatedAtCarbon() *carbon.Carbon

func (*WebWidget) Handle added in v1.7.3

func (o *WebWidget) Handle() string

func (*WebWidget) Name added in v1.7.3

func (o *WebWidget) Name() string

func (*WebWidget) SetCreatedAt added in v1.7.3

func (o *WebWidget) SetCreatedAt(createdAt string)

func (*WebWidget) SetHandle added in v1.7.3

func (o *WebWidget) SetHandle(handle string)

func (*WebWidget) SetName added in v1.7.3

func (o *WebWidget) SetName(name string)

func (*WebWidget) SetStatus added in v1.7.3

func (o *WebWidget) SetStatus(status string)

func (*WebWidget) Status added in v1.7.3

func (o *WebWidget) Status() string

type WebWidgetInterface added in v1.7.3

type WebWidgetInterface interface {
	dataobject.DataObjectInterface

	CreatedAt() string
	SetCreatedAt(createdAt string)
	CreatedAtCarbon() *carbon.Carbon
	Handle() string
	SetHandle(handle string)
	ID() string
	SetID(id string)
	Name() string
	SetName(name string)
	Status() string
	SetStatus(status string)
}

Jump to

Keyboard shortcuts

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