template_editor

package
v0.0.0-...-076d96f Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2012 License: BSD-2-Clause-Views Imports: 8 Imported by: 0

Documentation

Overview

TODO: make the difference between current and noncurrent template browsing/editing disappear, so the code can get simpler and easier to read/develope. (Background operations will need some unnecessary parameters then? Rethink.)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A struct {
	// contains filtered or unexported fields
}

func Actions

func Actions(uni *context.Uni) *A

func (*A) DeleteFile

func (a *A) DeleteFile() error

func (*A) DeletePrivate

func (a *A) DeletePrivate() error

func (*A) ForkPrivate

func (a *A) ForkPrivate() error

func (*A) ForkPublic

func (a *A) ForkPublic() error

func (*A) NewFile

func (a *A) NewFile() error

func (*A) PublishPrivate

func (a *A) PublishPrivate() error

func (*A) SaveFile

func (a *A) SaveFile() error

func (*A) SwitchToTemplate

func (a *A) SwitchToTemplate() error

type H

type H struct {
	// contains filtered or unexported fields
}

func Hooks

func Hooks(uni *context.Uni) *H

func (*H) Install

func (h *H) Install(id bson.ObjectId) error

admin.Install invokes this trough mod.GetHook.

func (*H) Uninstall

func (h *H) Uninstall(id bson.ObjectId) error

Admin Install invokes this trough mod.GetHook.

type V

type V struct {
	// contains filtered or unexported fields
}

func Views

func Views(uni *context.Uni) *V

func (*V) Index

func (v *V) Index() error

func (*V) SearchMod

func (v *V) SearchMod() error

Search amongst modules.

func (*V) SearchPrivate

func (v *V) SearchPrivate() error

Search amongst private templates.

func (*V) SearchPublic

func (v *V) SearchPublic() error

Search amongst public templates.

func (*V) View

func (v *V) View() error

Get parameters: type: tpl, private, public file: path of file name: name of template or module

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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