types

package
v0.0.0-...-9b9d462 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

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

type WebBlock struct {
	dataobject.DataObject
}

func NewWebBlock

func NewWebBlock() *WebBlock

func NewWebBlockFromExistingData

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

func (*WebBlock) Content

func (o *WebBlock) Content() string

func (*WebBlock) CreatedAt

func (o *WebBlock) CreatedAt() string

func (*WebBlock) CreatedAtCarbon

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

func (*WebBlock) Handle

func (o *WebBlock) Handle() string

func (*WebBlock) Name

func (o *WebBlock) Name() string

func (*WebBlock) SetContent

func (o *WebBlock) SetContent(content string)

func (*WebBlock) SetCreatedAt

func (o *WebBlock) SetCreatedAt(createdAt string)

func (*WebBlock) SetHandle

func (o *WebBlock) SetHandle(handle string)

func (*WebBlock) SetName

func (o *WebBlock) SetName(name string)

func (*WebBlock) SetStatus

func (o *WebBlock) SetStatus(status string)

func (*WebBlock) Status

func (o *WebBlock) Status() string

type WebBlockInterface

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

type WebWidget struct {
	dataobject.DataObject
}

func NewWebWidget

func NewWebWidget() *WebWidget

func NewWebWidgetFromExistingData

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

func (*WebWidget) CreatedAt

func (o *WebWidget) CreatedAt() string

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

func (*WebWidget) CreatedAtCarbon

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

func (*WebWidget) Handle

func (o *WebWidget) Handle() string

func (*WebWidget) Name

func (o *WebWidget) Name() string

func (*WebWidget) SetCreatedAt

func (o *WebWidget) SetCreatedAt(createdAt string)

func (*WebWidget) SetHandle

func (o *WebWidget) SetHandle(handle string)

func (*WebWidget) SetName

func (o *WebWidget) SetName(name string)

func (*WebWidget) SetStatus

func (o *WebWidget) SetStatus(status string)

func (*WebWidget) Status

func (o *WebWidget) Status() string

type WebWidgetInterface

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