clckwrks-0.24.0.15: A secure, reliable content management system (CMS) and blogging platform

Safe HaskellNone
LanguageHaskell2010

Clckwrks.Acid

Synopsis

Documentation

data CoreState_v0 Source #

CoreState holds some values that are required by the core itself, or which are useful enough to be shared with numerous plugins/themes.

Constructors

CoreState_v0 

Fields

Instances
Eq CoreState_v0 Source # 
Instance details

Defined in Clckwrks.Acid

Data CoreState_v0 Source # 
Instance details

Defined in Clckwrks.Acid

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState_v0 -> c CoreState_v0 #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState_v0 #

toConstr :: CoreState_v0 -> Constr #

dataTypeOf :: CoreState_v0 -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState_v0) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState_v0) #

gmapT :: (forall b. Data b => b -> b) -> CoreState_v0 -> CoreState_v0 #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_v0 -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_v0 -> r #

gmapQ :: (forall d. Data d => d -> u) -> CoreState_v0 -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState_v0 -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 #

Show CoreState_v0 Source # 
Instance details

Defined in Clckwrks.Acid

SafeCopy CoreState_v0 Source # 
Instance details

Defined in Clckwrks.Acid

data CoreState Source #

CoreState holds some values that are required by the core itself, or which are useful enough to be shared with numerous plugins/themes.

Instances
Eq CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Data CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState -> c CoreState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState #

toConstr :: CoreState -> Constr #

dataTypeOf :: CoreState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState) #

gmapT :: (forall b. Data b => b -> b) -> CoreState -> CoreState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState -> r #

gmapQ :: (forall d. Data d => d -> u) -> CoreState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState #

Show CoreState Source # 
Instance details

Defined in Clckwrks.Acid

IsAcidic CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Migrate CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Associated Types

type MigrateFrom CoreState :: Type #

SafeCopy CoreState Source # 
Instance details

Defined in Clckwrks.Acid

(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # 
Instance details

Defined in Clckwrks.Monad

type MigrateFrom CoreState Source # 
Instance details

Defined in Clckwrks.Acid

getUACCT :: Query CoreState (Maybe UACCT) Source #

get the UACCT for Google Analytics

setUACCT :: Maybe UACCT -> Update CoreState () Source #

set the UACCT for Google Analytics

getRootRedirect :: Query CoreState (Maybe Text) Source #

get the path that / should redirect to

setRootRedirect :: Maybe Text -> Update CoreState () Source #

set the path that / should redirect to

getLoginRedirect :: Query CoreState (Maybe Text) Source #

get the path that we should redirect to after login

setLoginRedirect :: Maybe Text -> Update CoreState () Source #

set the path that we should redirect to after login

getSiteName :: Query CoreState (Maybe Text) Source #

get the site name

setSiteName :: Maybe Text -> Update CoreState () Source #

set the site name

class GetAcidState m st where Source #

Methods

getAcidState :: m (AcidState st) Source #

Instances
GetAcidState m st => GetAcidState (XMLGenT m) st Source # 
Instance details

Defined in Clckwrks.Monad

(Functor m, Monad m) => GetAcidState (ClckT url m) ProfileDataState Source # 
Instance details

Defined in Clckwrks.Monad

(Functor m, Monad m) => GetAcidState (ClckT url m) NavBarState Source # 
Instance details

Defined in Clckwrks.Monad

(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # 
Instance details

Defined in Clckwrks.Monad

withAcid :: Maybe FilePath -> (Acid -> IO a) -> IO a Source #