MCPcopy Create free account

hub / github.com/dionyself/golang-cms / functions

Functions84 in github.com/dionyself/golang-cms

↓ 11 callersMethodConfigPage
ConfigPage receives template name and makes basic config to render it
controllers/base.go:26
↓ 8 callersMethodSet
Set any value to cache, expiration time in seconds
core/lib/cache/cache.go:117
↓ 5 callersMethodGetDB
GetDB set the orm connector into our controller if repication activated we use slave to Slave
controllers/base.go:72
↓ 4 callersMethodGet
Get main page
controllers/index.go:8
↓ 4 callersMethodGetString
GetString bring string from cache, expiration time in seconds
core/lib/cache/cache.go:74
↓ 3 callersMethodValidate
Validate ImageForm data
models/validators.go:60
↓ 1 callersFunctionContains
(stringSlice []string, stringToSearch string)
utils/base.go:29
↓ 1 callersFunctionDetectMimeType
(file io.Reader)
utils/base.go:55
↓ 1 callersFunctionGetActiveTheme
GetActiveTheme gets active theme (cached)
core/template/path.go:22
↓ 1 callersMethodGetBlockType
()
core/block/base.go:18
↓ 1 callersMethodGetBlocks
()
controllers/base.go:44
↓ 1 callersMethodGetCache
GetCache set the cache connector into our controller
controllers/base.go:66
↓ 1 callersMethodGetContent
()
core/block/base.go:16
↓ 1 callersMethodGetMap
GetMap bring string from cache, expiration time in seconds
core/lib/cache/cache.go:26
↓ 1 callersMethodGetModuleMenu
GetModuleMenu retrieves menu
controllers/base.go:84
↓ 1 callersMethodGetPermissions
GetPermissions get user permissions data
models/user.go:37
↓ 1 callersMethodGetPosition
()
core/block/base.go:17
↓ 1 callersMethodGetStringList
(cacheKey string, expirationTime int64)
core/lib/cache/cache.go:69
↓ 1 callersMethodGetTemplatePath
()
core/block/base.go:15
↓ 1 callersFunctionHasUser
HasUser checks if user exists in db
controllers/auth.go:96
↓ 1 callersMethodInit
IsContentCacheable() bool GetConfig() models.BlockConfig Register()
core/block/base.go:22
↓ 1 callersFunctionInsertDemoData
InsertDemoData insert demo data in database if ReCreateDatabase is true
core/lib/db/data.go:7
↓ 1 callersMethodIsActive
SetConfig() bool Activate() Deactivate()
core/block/base.go:27
↓ 1 callersMethodLoad
(*models.Block)
core/block/base.go:23
↓ 1 callersFunctionLoadTemplates
LoadTemplates this usually runs on startup
core/template/path.go:146
↓ 1 callersFunctionPBKDF2
PBKDF2 http://code.google.com/p/go/source/browse/pbkdf2/pbkdf2.go?repo=crypto
utils/passwd.go:29
↓ 1 callersFunctionSaveTemplates
SaveTemplates save loaded templates into db, thi usually runs on startup
core/template/path.go:85
↓ 1 callersFunctionVerifyPassword
VerifyPassword checks if pwd is correct
controllers/auth.go:108
↓ 1 callersFunctionVerifyUser
VerifyUser virifies user credentials
controllers/auth.go:116
↓ 1 callersFunctiongetImageHash
(img image.Image)
utils/image.go:68
↓ 1 callersFunctiongetLocalIPs
()
utils/image.go:140
↓ 1 callersFunctioninitBlock
initBlock use this to initialize your block
core/block/base.go:53
↓ 1 callersMethodpopulateProfileViewData
populateProfileViewData Displays profile by id
controllers/profile.go:30
↓ 1 callersFunctionsyncronize
(every time.Duration)
utils/image.go:81
↓ 1 callersMethoduploadAndRegisterIMG
(sessionKey string, img io.Reader, fileHeader *multipart.FileHeader, form *models.ImageForm)
controllers/ajax.go:37
↓ 1 callersFunctionuploadToRemote
()
utils/image.go:76
FunctionContainsKey
(thisMap interface{}, key string)
utils/base.go:38
FunctionCropImage
(img io.Reader, imgMimeType string, target string, anchorCoord [2]int)
utils/image.go:24
FunctionEncodePassword
EncodePassword ...
utils/passwd.go:23
MethodGet
Get Displays Article by id
controllers/article.go:16
MethodGetActiveAds
()
controllers/base.go:60
FunctionGetActiveBlocks
GetBlock get a list of active block (by name)
core/block/base.go:37
MethodGetBlockType
GetBlockType yup this is hardcoded an this the way to do it
core/block/html.go:37
MethodGetContent
GetContent gets contents
controllers/base.go:90
MethodGetContent
()
core/block/html.go:41
FunctionGetDefaultMenu
GetDefaultMenu get menu
core/defaults/menu.go:9
FunctionGetEvents
GetEvents returns all events after lastReceived.
models/base.go:36
MethodGetImageUploadStatus
()
controllers/ajax.go:63
MethodGetPosition
()
core/block/html.go:44
FunctionGetRandomString
GetRandomString ...
utils/passwd.go:12
MethodGetTemplatePath
this couldbe reimplemented support mutiple themes/templates/style by now hardoding
core/block/html.go:54
MethodInit
this maybe moved to single funct func (block htmlBlock) Init(siteData map[string]string, config map[string]string, content map[string]string) {
core/block/html.go:29
MethodIsActive
()
core/block/html.go:48
MethodLoad
(blockModel *models.Block)
core/block/html.go:58
MethodLogin
Login authenticates the user
controllers/auth.go:27
MethodLoginView
LoginView ...
controllers/auth.go:22
MethodLogout
Logout ...
controllers/auth.go:47
MethodMainView
MainView ...
controllers/panel.go:9
FunctionMergeMaps
(map1 map[string]string, map2 map[string]string)
utils/base.go:48
FunctionNewArchive
NewArchive saves new event to archive list.
models/base.go:28
MethodPost
Post create/update article
controllers/article.go:38
MethodPostImage
generic Ajax
controllers/ajax.go:19
MethodRegister
Register the user
controllers/auth.go:58
MethodRegisterView
RegisterView displays register form
controllers/auth.go:53
FunctionSessionInit
SessionInit ...
utils/session.go:8
FunctionSetActiveTheme
SetActiveTheme ...
core/template/path.go:46
FunctionTestMain
TestMain is a sample to run an endpoint test
tests/guestEndpoints_test.go:25
FunctionUploadImage
(target string, img image.Image)
utils/image.go:50
MethodUserPanelView
UserPanelView Display user's homepage
controllers/profile.go:15
MethodValidate
Validate RegisterForm data
models/validators.go:10
MethodValidate
Validate ArticleForm data
models/validators.go:35
Functioninit
()
main.go:14
Functioninit
()
utils/base.go:64
Functioninit
()
utils/image.go:161
Functioninit
()
core/defaults/modules/news.go:13
Functioninit
()
core/lib/cache/cache.go:138
Functioninit
()
core/lib/db/db.go:22
Functioninit
()
core/template/path.go:162
Functioninit
()
core/block/html.go:68
Functioninit
()
core/block/base.go:65
Functioninit
()
tests/guestEndpoints_test.go:17
Functioninit
registering all modules
models/user.go:42
Functioninit
()
routers/router.go:9
Functionmain
()
main.go:19