Documentation
¶
Index ¶
- Constants
- func NewPageUpdateController(m UiManager) *pageUpdateController
- type Config
- type UiManager
- func (m UiManager) PageCreateAjax(w http.ResponseWriter, r *http.Request)
- func (m UiManager) PageManager(w http.ResponseWriter, r *http.Request)
- func (m UiManager) PageTrashAjax(w http.ResponseWriter, r *http.Request)
- func (m UiManager) PageUpdate(w http.ResponseWriter, r *http.Request)
- func (m UiManager) PageUpdateAjax(w http.ResponseWriter, r *http.Request)
- func (m UiManager) PageUpdateV1(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ACTION_BLOCKEDITOR_HANDLE = "blockeditor_handle"
View Source
const VIEW_CONTENT = "content"
View Source
const VIEW_SEO = "seo"
View Source
const VIEW_SETTINGS = "settings"
Variables ¶
This section is empty.
Functions ¶
func NewPageUpdateController ¶ added in v1.6.0
func NewPageUpdateController(m UiManager) *pageUpdateController
Types ¶
type Config ¶
type Config struct {
BlockEditorDefinitions []blockeditor.BlockDefinition
Endpoint string
EntityStore entitystore.StoreInterface
PageEntityType string
PathPagesPageManager string
PathPagesPageUpdate string
WebpageComplete func(string, string) *hb.HtmlWebpage
FuncLayout func(string) string
CmsHeader func(string) string
CmsBreadcrumbs func([]bs.Breadcrumb) string
WebPageFindByID func(string) (types.WebPageInterface, error)
WebPageUpdate func(types.WebPageInterface) error
}
type UiManager ¶
type UiManager struct {
// contains filtered or unexported fields
}
func NewUiManager ¶
func (UiManager) PageCreateAjax ¶
func (m UiManager) PageCreateAjax(w http.ResponseWriter, r *http.Request)
func (UiManager) PageManager ¶
func (m UiManager) PageManager(w http.ResponseWriter, r *http.Request)
func (UiManager) PageTrashAjax ¶
func (m UiManager) PageTrashAjax(w http.ResponseWriter, r *http.Request)
func (UiManager) PageUpdate ¶
func (m UiManager) PageUpdate(w http.ResponseWriter, r *http.Request)
func (UiManager) PageUpdateAjax ¶
func (m UiManager) PageUpdateAjax(w http.ResponseWriter, r *http.Request)
func (UiManager) PageUpdateV1 ¶ added in v1.6.0
func (m UiManager) PageUpdateV1(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.