Setup.php
- Functions
- is_instance_of
- Classes
- Kwf_Setup
Functions
\Kwf_Setup
- Constants
- CACHE_SETUP_VERSION
- Properties
- $configClass
- $configSection
- Methods
- createDao
- createDb
- dispatchKwc
- dispatchMedia
- getBaseUrl
- getConfigSection
- getHost
- getRequestPath
- hasAuthedUser
- hasDb
- setUp
- shutDown
Constants
Properties
$configClass
$configClass = ''
Details
- visibility
- public
- default
- final
- false
- static
- true
$configSection
$configSection = ''
Details
- visibility
- public
- default
- final
- false
- static
- true
Methods
createDao
createDao(
)
:
Details
- visibility
- public
- final
- false
- static
- true
createDb
createDb(
)
:
Details
- visibility
- public
- final
- false
- static
- true
dispatchKwc
dispatchKwc(
)
:
Details
- visibility
- public
- final
- false
- static
- true
dispatchMedia
dispatchMedia(
)
:
Details
- visibility
- public
- final
- false
- static
- true
getBaseUrl
getBaseUrl(
)
:
Details
- visibility
- public
- final
- false
- static
- true
getConfigSection
getConfigSection(
)
:
Details
- visibility
- public
- final
- false
- static
- true
getHost
getHost(
$includeProtocol
=
true
)
:
Arguments
- $includeProtocol
Details
- visibility
- public
- final
- false
- static
- true
getRequestPath
getRequestPath(
)
:
Details
- visibility
- public
- final
- false
- static
- true
hasAuthedUser
hasAuthedUser(
)
:
boolean
Check if user is logged in (faster than directly calling user model)
Only asks user model (expensive) when there is something stored in the session
Output
- boolean
- if user is logged in
Details
- visibility
- public
- final
- false
- static
- true
hasDb
hasDb(
)
:
Details
- visibility
- public
- final
- false
- static
- true
setUp
setUp(
$configClass
=
Kwf_Config_Web
)
:
Arguments
- $configClass
Details
- visibility
- public
- final
- false
- static
- true
shutDown
shutDown(
)
:
Details
- visibility
- public
- final
- false
- static
- true