Overview

Packages

  • framework
    • api
    • auth
    • cache
    • config
    • crypt
    • db
    • dispatch
    • format
    • module
    • modules
    • oauth2
    • output
    • request
    • servers
    • session
    • setup
    • webdav
  • modules
    • 2fa
      • handler
      • output
    • account
      • handler
      • output
    • api
      • login
        • functions
        • handler
    • calendar
      • handler
      • lib
      • output
    • carddav
      • contacts
        • functions
        • handler
    • contacts
      • handler
      • lib
      • output
    • core
      • handler
      • output
    • desktop
      • notifications
    • developer
      • handler
      • output
    • dynamic
      • login
        • handler
        • lib
        • output
    • feeds
      • handler
      • lib
      • output
    • github
      • handler
      • lib
      • output
    • gmail
      • contacts
        • handler
        • lib
    • helloworld
      • handler
      • output
    • history
      • handler
      • output
    • idletimer
      • handler
      • output
    • imap
      • folders
        • handler
        • output
      • handler
      • lib
      • output
    • inline
      • message
        • handler
        • output
    • keyboard
      • shortcuts
        • handler
        • output
    • ldap
      • contacts
        • handler
        • lib
        • output
    • local
      • contacts
        • handler
        • output
    • nasa
      • handler
      • output
    • nux
      • handler
      • lib
      • output
    • pgp
      • handler
      • output
    • pop3
      • handler
      • lib
      • output
    • profile
      • handler
      • output
    • profiles
      • lib
    • recaptcha
      • handler
      • output
    • recover
      • settings
        • handler
        • output
    • savedsearches
      • handler
      • lib
      • output
    • site
      • handler
    • smtp
      • handler
      • lib
      • output
    • tags
      • handler
      • libs
      • output
    • themes
      • handler
      • output
    • wordpress
      • handler
      • output
  • None

Classes

  • Hm_Config
  • Hm_Site_Config_File
  • Hm_User_Config_DB
  • Hm_User_Config_File

Functions

  • crypt_state
  • load_user_config_object
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class Hm_User_Config_DB

DB based user settings

Hm_Config
Extended by Hm_User_Config_DB
Package: framework\config
Located at config.php
Methods summary
public
# __construct( object $config )

Load site config

Load site config

Parameters

$config
site config
private boolean
# new_settings( string $username )

Parameters

$username

Returns

boolean
private boolean
# decrypt_settings( array $data, string $key )

Parameters

$data
$key

Returns

boolean
public boolean
# load( string $username, string $key )

Load the user settings from the DB

Load the user settings from the DB

Parameters

$username
username
$key
encryption key

Returns

boolean
public
# reload( array $data, string $username = false )

Reload from outside input

Reload from outside input

Parameters

$data
new user data
$username
public boolean
# connect( )

Connect to a configured DB

Connect to a configured DB

Returns

boolean
true on success
public integer|boolean|array
# save( string $username, string $key )

Save user settings to the DB

Save user settings to the DB

Parameters

$username
username
$key
encryption key

Returns

integer|boolean|array
public
# set( string $name, string $value )

Set a config value

Set a config value

Parameters

$name
config value name
$value
config value

Overrides

Hm_Config::set()
Methods inherited from Hm_Config
decode(), del(), dump(), filter_servers(), get(), restore_servers(), set_tz(), shuffle(), version()
Properties summary
private $site_config
#
private $dbh
#
private $crypt
#
private $username
#
Properties inherited from Hm_Config
$config, $decrypt_failed, $encrypted_str, $source
Cypht Documentation API documentation generated by ApiGen