Documentation
¶
Index ¶
- Constants
- type WebBlock
- func (o *WebBlock) Content() string
- func (o *WebBlock) CreatedAt() string
- func (o *WebBlock) CreatedAtCarbon() *carbon.Carbon
- func (o *WebBlock) Handle() string
- func (o *WebBlock) Name() string
- func (o *WebBlock) SetContent(content string)
- func (o *WebBlock) SetCreatedAt(createdAt string)
- func (o *WebBlock) SetHandle(handle string)
- func (o *WebBlock) SetName(name string)
- func (o *WebBlock) SetStatus(status string)
- func (o *WebBlock) Status() string
- type WebBlockInterface
- type WebPage
- func (o *WebPage) Alias() string
- func (o *WebPage) CanonicalUrl() string
- func (o *WebPage) Content() string
- func (o *WebPage) CreatedAt() string
- func (o *WebPage) CreatedAtCarbon() *carbon.Carbon
- func (o *WebPage) Editor() string
- func (o *WebPage) Handle() string
- func (o *WebPage) ID() string
- func (o *WebPage) IsActive() bool
- func (o *WebPage) IsDeleted() bool
- func (o *WebPage) IsInactive() bool
- func (o *WebPage) MetaDescription() string
- func (o *WebPage) MetaKeywords() string
- func (o *WebPage) MetaRobots() string
- func (o *WebPage) Name() string
- func (o *WebPage) SetAlias(alias string)
- func (o *WebPage) SetCanonicalUrl(canonicalUrl string)
- func (o *WebPage) SetContent(content string)
- func (o *WebPage) SetCreatedAt(createdAt string)
- func (o *WebPage) SetEditor(editor string)
- func (o *WebPage) SetHandle(handle string)
- func (o *WebPage) SetID(id string)
- func (o *WebPage) SetMetaDescription(metaDescription string)
- func (o *WebPage) SetMetaKeywords(metaKeywords string)
- func (o *WebPage) SetMetaRobots(metaRobots string)
- func (o *WebPage) SetName(name string)
- func (o *WebPage) SetStatus(status string)
- func (o *WebPage) SetTemplateID(templateID string)
- func (o *WebPage) SetTitle(title string)
- func (o *WebPage) SetUpdatedAt(updatedAt string)
- func (o *WebPage) Status() string
- func (o *WebPage) TemplateID() string
- func (o *WebPage) Title() string
- func (o *WebPage) UpdatedAt() string
- func (o *WebPage) UpdatedAtCarbon() *carbon.Carbon
- type WebPageInterface
- type WebWidget
- func (o *WebWidget) CreatedAt() string
- func (o *WebWidget) CreatedAtCarbon() *carbon.Carbon
- func (o *WebWidget) Handle() string
- func (o *WebWidget) Name() string
- func (o *WebWidget) SetCreatedAt(createdAt string)
- func (o *WebWidget) SetHandle(handle string)
- func (o *WebWidget) SetName(name string)
- func (o *WebWidget) SetStatus(status string)
- func (o *WebWidget) Status() string
- type WebWidgetInterface
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 (*WebBlock) CreatedAtCarbon ¶ added in v1.7.3
func (*WebBlock) SetContent ¶ added in v1.7.3
func (*WebBlock) SetCreatedAt ¶ added in v1.7.3
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 (*WebPage) CanonicalUrl ¶
func (*WebPage) CreatedAtCarbon ¶
func (*WebPage) IsInactive ¶
func (*WebPage) MetaDescription ¶
func (*WebPage) MetaKeywords ¶
func (*WebPage) MetaRobots ¶
func (*WebPage) SetCanonicalUrl ¶
func (*WebPage) SetContent ¶
func (*WebPage) SetCreatedAt ¶
func (*WebPage) SetMetaDescription ¶
func (*WebPage) SetMetaKeywords ¶
func (*WebPage) SetMetaRobots ¶
func (*WebPage) SetTemplateID ¶
func (*WebPage) SetUpdatedAt ¶
func (*WebPage) TemplateID ¶
func (*WebPage) UpdatedAtCarbon ¶
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 (*WebWidget) CreatedAt ¶ added in v1.7.3
== SETTERS AND GETTERS ===================================================
func (*WebWidget) CreatedAtCarbon ¶ added in v1.7.3
func (*WebWidget) SetCreatedAt ¶ added in v1.7.3
type WebWidgetInterface ¶ added in v1.7.3
Click to show internal directories.
Click to hide internal directories.