Element index for package base
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ _ ]
_
- __autoload
- in file kimono.php, function __autoload()
load classes dynamically
- __construct
- in file error.php, method Kimono_Error_Object::__construct()
- __construct
- in file misc.php, method Kimono_Counter::__construct()
- __construct
- in file error.php, method Kimono_Error::__construct()
- __construct
- in file crypt.php, method Kimono_RC4_Crypt::__construct()
- __construct
- in file base.php, method Kimono_Argument::__construct()
- __construct
- in file base.php, method Kimono_Monitor::__construct()
- __construct
- in file crypt.php, method Kimono_Crypt_Plaintext::__construct()
- __destruct
- in file crypt.php, method Kimono_MCrypt::__destruct()
de-initialize mcrypt and clean up
- __destruct
- in file error.php, method Kimono_Error::__destruct()
clean out left-over errors from buffer as a safety precaution if script execution dies before the user clears the buffer.
top
top
top
top
d
- db_check
- in file install.php, function db_check()
- Decrypt
- in file crypt.php, method Kimono_MCrypt::Decrypt()
decrypt string, remove padding
- Decrypt
- in file crypt.php, method Kimono_RC4_Crypt::Decrypt()
- Decrypt
- in file crypt.php, method Kimono_Crypt_Plaintext::Decrypt()
- Decrypt
- in file crypt.php, function Decrypt()
- DefaultValue
- in file base.php, method Kimono_Argument::DefaultValue()
- Description
- in file config.php, method Kimono_Config_Value::Description()
set or get description of value
- Description
- in file base.php, method Kimono_Argument::Description()
- DoNotReschedule
- in file base.php, method Kimono_Service::DoNotReschedule()
if service is loaded (and further on saved) by the daemon, we don't want it to send
- Downticks
- in file base.php, method Kimono_Object::Downticks()
- do_install
- in file install.php, function do_install()
top
e
- $encryption_method
- in file crypt.php, variable Kimono_Crypt::$encryption_method
- error.php
- procedural page error.php
- Email
- in file user.php, method Kimono_User::Email()
- Enabled
- in file user.php, method Kimono_User::Enabled()
- Enabled
- in file base.php, method Kimono_Object::Enabled()
- Encrypt
- in file crypt.php, method Kimono_MCrypt::Encrypt()
encrypt a string
- Encrypt
- in file crypt.php, method Kimono_RC4_Crypt::Encrypt()
- Encrypt
- in file crypt.php, method Kimono_Crypt_Plaintext::Encrypt()
- Encrypt
- in file crypt.php, function Encrypt()
- Enum
- in file base.php, method Kimono_Argument::Enum()
- Enum
- in file config.php, method Kimono_Config_Value::Enum()
get or set enum values, if
- Error
- in file base.php, method Kimono_Service_Dummy::Error()
report error/warning
- ErrorBuffer
- in file error.php, method Kimono_Error::ErrorBuffer()
enable/disable error buffering, NOTE: disabling buffering will immediately empty buffered errors
- ErrorCode
- in file base.php, method Kimono_Service::ErrorCode()
- ErrorLevel
- in file error.php, method Kimono_Error::ErrorLevel()
- ErrorLevel
- in file error.php, method Kimono_Error_Object::ErrorLevel()
get error level, see constants at the top of error.php for reference
- ErrorString
- in file error.php, method Kimono_Error_Object::ErrorString()
get error string
- Execute
- in file base.php, method Kimono_Service::Execute()
call functions from external files in folder services/ and collect returned data
top
top
g
- Get
- in file config.php, method Kimono_Config::Get()
get config value
- GetArgument
- in file base.php, method Kimono_Service_Dummy::GetArgument()
- GetArgument
- in file base.php, method Kimono_Service::GetArgument()
- GetArguments
- in file base.php, method Kimono_Service::GetArguments()
if arguments are not loaded already, load them now, then return array of arguments
- GetGroup
- in file base.php, method Kimono_Monitor::GetGroup()
find group by id
- GetGroups
- in file base.php, method Kimono_Monitor::GetGroups()
- GetHost
- in file base.php, method Kimono_Monitor::GetHost()
- GetHosts
- in file base.php, method Kimono_Group::GetHosts()
- GetLastPermission
- in file user.php, method Kimono_User::GetLastPermission()
- GetMethods
- in file crypt.php, method Kimono_Crypt::GetMethods()
- GetNumArguments
- in file base.php, method Kimono_Service::GetNumArguments()
- GetOrganisations
- in file base.php, method Kimono_Monitor::GetOrganisations()
- GetScopes
- in file config.php, method Kimono_Config::GetScopes()
get current scope
- GetService
- in file base.php, method Kimono_Monitor::GetService()
- GetService
- in file base.php, method Kimono_Host::GetService()
- GetServices
- in file base.php, method Kimono_Host::GetServices()
- GetType
- in file base.php, method Kimono_Object::GetType()
lookup what kind of object this is
- GetValue
- in file config.php, method Kimono_Config::GetValue()
returns value if a value with specified name exists, else returns false;
- GetValueById
- in file config.php, method Kimono_Config::GetValueById()
- GetValues
- in file config.php, method Kimono_Config::GetValues()
- GetValuesByScope
- in file config.php, method Kimono_Config::GetValuesByScope()
return array of values by scope
- GrandParentId
- in file base.php, method Kimono_Object::GrandParentId()
required for recursively looking up permissions on hosts
- GreatGrandParentId
- in file base.php, method Kimono_Object::GreatGrandParentId()
required for recursively looking up permissions on hosts
- Group
- in file user.php, method Kimono_User::Group()
- GroupName
- in file user.php, method Kimono_User::GroupName()
top
h
- html_error_handler
- in file error.php, function html_error_handler()
error handler for html error output
top
i
- install.php
- procedural page install.php
- Id
- in file config.php, method Kimono_Config_Value::Id()
- Id
- in file base.php, method Kimono_Argument::Id()
- Id
- in file user.php, method Kimono_User::Id()
- Id
- in file base.php, method Kimono_Object::Id()
- Increment
- in file misc.php, method Kimono_Counter::Increment()
increment counter value, reset if we hit max_value and call callback function, otherwise just return
- Info
- in file user.php, method Kimono_User::Info()
- Initiate
- in file crypt.php, method Kimono_RC4_Crypt::Initiate()
- Initiate
- in file crypt.php, method Kimono_MCrypt::Initiate()
setup mcrypt
- Initiate
- in file base.php, method Kimono_Service_Dummy::Initiate()
get hold of the service object
- Initiate
- in file crypt.php, function Initiate()
- Initiate
- in file crypt.php, method Kimono_Crypt_Plaintext::Initiate()
- Instance
- in file config.php, method Kimono_Config::Instance()
singleton function, return new or already created instance of this class
- Instance
- in file base.php, method Kimono_Monitor::Instance()
initiate Singleton behaviour and return instance
- Instance
- in file error.php, method Kimono_Error::Instance()
initiate Singleton behaviour and return instance
- Instance
- in file crypt.php, method Kimono_MCrypt::Instance()
initiate Singleton behaviour and return instance
- Instance
- in file crypt.php, method Kimono_Crypt::Instance()
pass on function call to subclass
- Instance
- in file crypt.php, method Kimono_RC4_Crypt::Instance()
initiate Singleton behaviour and return instance
- Instance
- in file crypt.php, method Kimono_Crypt_Plaintext::Instance()
- IsPermitted
- in file user.php, method Kimono_User::IsPermitted()
check permissions on an object
- isVisible
- in file error.php, method Kimono_Error::isVisible()
returns TRUE if error should be shown and FALSE if it shouldn't
top
k
- kimono.php
- procedural page kimono.php
- Kimono_Argument
- in file base.php, class Kimono_Argument
a single service argument
- kimono_check_ip
- in file misc.php, function kimono_check_ip()
accepts single IP, range (x.x.x.x-x.x.x.x) or CIDR network (x.x.x.x/xx)
- kimono_check_ip_network
- in file misc.php, function kimono_check_ip_network()
checks wether an ip address is part of a network
- Kimono_Config
- in file config.php, class Kimono_Config
this class contains all functions for the configuration handling, loading/saving, setting/getting variables.
- Kimono_Config_Value
- in file config.php, class Kimono_Config_Value
config_value contains variables for one parameter.
- kimono_constant_to_string
- in file misc.php, function kimono_constant_to_string()
convert known constants to strings, for more comprehensive xml files
- Kimono_Counter
- in file misc.php, class Kimono_Counter
simple counter class, increments up to max_value, executes the callback function if any and resets to 0
- Kimono_Crypt
- in file crypt.php, class Kimono_Crypt
wrapper class for crypto functions
- Kimono_Crypt_Plaintext
- in file crypt.php, class Kimono_Crypt_Plaintext
dummy class for passing through plaintext data
- KIMONO_DAEMON_RELOAD
- in file constants.php, constant KIMONO_DAEMON_RELOAD
- KIMONO_DAEMON_RESCHEDULE
- in file constants.php, constant KIMONO_DAEMON_RESCHEDULE
- KIMONO_DAEMON_SHUTDOWN
- in file constants.php, constant KIMONO_DAEMON_SHUTDOWN
- KIMONO_DAEMON_START
- in file constants.php, constant KIMONO_DAEMON_START
- KIMONO_DAEMON_STOP
- in file constants.php, constant KIMONO_DAEMON_STOP
- KIMONO_DATA_HANDLER
- in file constants.php, constant KIMONO_DATA_HANDLER
- kimono_datetime
- in file misc.php, function kimono_datetime()
return $datetime with a proper format, or the $false_response if date is 0
- KIMONO_DEBUG
- in file constants.php, constant KIMONO_DEBUG
- kimono_debug_load_all_services
- in file misc.php, function kimono_debug_load_all_services()
- kimono_disabled_service
- in file misc.php, function kimono_disabled_service()
returns TRUE if service is disabled in config, else FALSE
- kimono_dump_var
- in file misc.php, function kimono_dump_var()
convert known strings to constants, for more comprehensive xml files
- KIMONO_ENUM_DIVIDER
- in file constants.php, constant KIMONO_ENUM_DIVIDER
- Kimono_Error
- in file error.php, class Kimono_Error
error raising, buffering and callback handling
- KIMONO_ERRORLEVEL_ALL
- in file constants.php, constant KIMONO_ERRORLEVEL_ALL
- KIMONO_ERRORLEVEL_DEBUG
- in file constants.php, constant KIMONO_ERRORLEVEL_DEBUG
- KIMONO_ERRORLEVEL_ERROR
- in file constants.php, constant KIMONO_ERRORLEVEL_ERROR
- KIMONO_ERRORLEVEL_INFO
- in file constants.php, constant KIMONO_ERRORLEVEL_INFO
- KIMONO_ERRORLEVEL_WARNING
- in file constants.php, constant KIMONO_ERRORLEVEL_WARNING
- Kimono_Error_Object
- in file error.php, class Kimono_Error_Object
error object, contains all the info on a single error
- kimono_generate_id
- in file misc.php, function kimono_generate_id()
generate a semi-random id
- kimono_get_ip
- in file misc.php, function kimono_get_ip()
- kimono_get_languages
- in file lang_check.php, function kimono_get_languages()
- kimono_get_permission_type
- in file misc.php, function kimono_get_permission_type()
- Kimono_Group
- in file base.php, class Kimono_Group
holds hosts objects and its functions
- KIMONO_HISTORY_STRLEN
- in file constants.php, constant KIMONO_HISTORY_STRLEN
- Kimono_Host
- in file base.php, class Kimono_Host
holds data and functions for a single host and its services
- kimono_http_post
- in file misc.php, function kimono_http_post()
- kimono_internal_error
- in file kimono.php, function kimono_internal_error()
handle errors where Kimono_Error can't be used (as in Kimono_Error itself) and fatal errors early in script execution.
- kimono_ldap_auth
- in file user.php, function kimono_ldap_auth()
authenticate against an LDAP server
- KIMONO_LOG_FACILITY_KIMONO
- in file constants.php, constant KIMONO_LOG_FACILITY_KIMONO
- KIMONO_LOG_FACILITY_LOGIN
- in file constants.php, constant KIMONO_LOG_FACILITY_LOGIN
- KIMONO_LOG_FACILITY_MYSQL
- in file constants.php, constant KIMONO_LOG_FACILITY_MYSQL
- KIMONO_LOG_FACILITY_PERMISSION
- in file constants.php, constant KIMONO_LOG_FACILITY_PERMISSION
- KIMONO_LOG_FACILITY_PHP
- in file constants.php, constant KIMONO_LOG_FACILITY_PHP
- Kimono_MCrypt
- in file crypt.php, class Kimono_MCrypt
encryption support from the mcrypt extension
- KIMONO_MCRYPT_CIPHER
- in file constants.php, constant KIMONO_MCRYPT_CIPHER
- KIMONO_MCRYPT_CIPHER_MODE
- in file constants.php, constant KIMONO_MCRYPT_CIPHER_MODE
- KIMONO_MCRYPT_RANDOM_POOL
- in file constants.php, constant KIMONO_MCRYPT_RANDOM_POOL
- kimono_mem_usage
- in file misc.php, function kimono_mem_usage()
- KIMONO_MIN_SERVICE_COUNTER
- in file constants.php, constant KIMONO_MIN_SERVICE_COUNTER
- Kimono_Monitor
- in file base.php, class Kimono_Monitor
main class for handling hosts and all its functions
- KIMONO_NOTIFY_DUMMY
- in file constants.php, constant KIMONO_NOTIFY_DUMMY
- KIMONO_NOTIFY_EMAIL
- in file constants.php, constant KIMONO_NOTIFY_EMAIL
- KIMONO_NOTIFY_EXECUTE
- in file constants.php, constant KIMONO_NOTIFY_EXECUTE
- KIMONO_NOTIFY_RELOAD
- in file constants.php, constant KIMONO_NOTIFY_RELOAD
- KIMONO_NOTIFY_TRIGGER_CHANGE
- in file constants.php, constant KIMONO_NOTIFY_TRIGGER_CHANGE
- KIMONO_NOTIFY_TRIGGER_FAILED
- in file constants.php, constant KIMONO_NOTIFY_TRIGGER_FAILED
- KIMONO_NOTIFY_WAIT_SECONDS
- in file constants.php, constant KIMONO_NOTIFY_WAIT_SECONDS
- KIMONO_NOTIFY_WAIT_TIMES
- in file constants.php, constant KIMONO_NOTIFY_WAIT_TIMES
- Kimono_Object
- in file base.php, class Kimono_Object
abstract class for groups, hosts and services, basically just variables handling
- KIMONO_OBJECT_TYPE_GROUP
- in file constants.php, constant KIMONO_OBJECT_TYPE_GROUP
- KIMONO_OBJECT_TYPE_HOST
- in file constants.php, constant KIMONO_OBJECT_TYPE_HOST
- KIMONO_OBJECT_TYPE_ORGANISATION
- in file constants.php, constant KIMONO_OBJECT_TYPE_ORGANISATION
- KIMONO_OBJECT_TYPE_SERVICE
- in file constants.php, constant KIMONO_OBJECT_TYPE_SERVICE
- KIMONO_OBJECT_TYPE_SYSTEM
- in file constants.php, constant KIMONO_OBJECT_TYPE_SYSTEM
- Kimono_Organisation
- in file base.php, class Kimono_Organisation
only required when doing a kimono_show_permissions() on organisations
- KIMONO_PERM_READ
- in file constants.php, constant KIMONO_PERM_READ
- KIMONO_PERM_WRITE
- in file constants.php, constant KIMONO_PERM_WRITE
- Kimono_RC4_Crypt
- in file crypt.php, class Kimono_RC4_Crypt
RC4 algorithm
- KIMONO_REPORT_XML
- in file constants.php, constant KIMONO_REPORT_XML
- kimono_send_email
- in file misc.php, function kimono_send_email()
email wrapper function
- kimono_send_statistics
- in file misc.php, function kimono_send_statistics()
send anonymous statistics to downshift.org
- Kimono_Service
- in file base.php, class Kimono_Service
data and functions for a service, responsible for executing the specific services code
- Kimono_Service_Dummy
- in file base.php, class Kimono_Service_Dummy
abstract class all services should inherit, this is what makes a Kimono_Service class and the actually service class talk to eachother.
- KIMONO_SQL_PASSWORD_HASH
- in file constants.php, constant KIMONO_SQL_PASSWORD_HASH
- KIMONO_SQL_RETURN_ARRAY
- in file constants.php, constant KIMONO_SQL_RETURN_ARRAY
- KIMONO_SQL_RETURN_ARRAY_NUM
- in file constants.php, constant KIMONO_SQL_RETURN_ARRAY_NUM
- KIMONO_SQL_RETURN_FIRSTROW
- in file constants.php, constant KIMONO_SQL_RETURN_FIRSTROW
- KIMONO_SQL_RETURN_LASTID
- in file constants.php, constant KIMONO_SQL_RETURN_LASTID
- KIMONO_SQL_RETURN_NUMROWS
- in file constants.php, constant KIMONO_SQL_RETURN_NUMROWS
- KIMONO_STATE_RUNNING
- in file constants.php, constant KIMONO_STATE_RUNNING
- KIMONO_STATE_SHUTDOWN
- in file constants.php, constant KIMONO_STATE_SHUTDOWN
- KIMONO_STATE_STOPPED
- in file constants.php, constant KIMONO_STATE_STOPPED
- KIMONO_STATUS_FAILED
- in file constants.php, constant KIMONO_STATUS_FAILED
- KIMONO_STATUS_MISSING_ARGS
- in file constants.php, constant KIMONO_STATUS_MISSING_ARGS
- KIMONO_STATUS_MISSING_EXTENSION
- in file constants.php, constant KIMONO_STATUS_MISSING_EXTENSION
- KIMONO_STATUS_MISSING_FILE
- in file constants.php, constant KIMONO_STATUS_MISSING_FILE
- KIMONO_STATUS_PARTIALLY_FAILED
- in file constants.php, constant KIMONO_STATUS_PARTIALLY_FAILED
- KIMONO_STATUS_SUCCEEDED
- in file constants.php, constant KIMONO_STATUS_SUCCEEDED
- kimono_translate_daemon_command
- in file misc.php, function kimono_translate_daemon_command()
- kimono_translate_errorlevel
- in file error.php, function kimono_translate_errorlevel()
- kimono_translate_facility
- in file error.php, function kimono_translate_facility()
- kimono_translate_service_status
- in file misc.php, function kimono_translate_service_status()
- kimono_uptime
- in file misc.php, function kimono_uptime()
- Kimono_User
- in file user.php, class Kimono_User
user class for keeping track of user variables, group permissions etc.
- kimono_validate_email
- in file misc.php, function kimono_validate_email()
- kimono_validate_name
- in file misc.php, function kimono_validate_name()
validate string according to given rules
- KIMONO_VERSION
- in file constants.php, constant KIMONO_VERSION
- KIMONO_XML_ENCODING
- in file constants.php, constant KIMONO_XML_ENCODING
top
l
- lang_check.php
- procedural page lang_check.php
- Language
- in file user.php, method Kimono_User::Language()
- LastError
- in file base.php, method Kimono_Service_Dummy::LastError()
if there's a php error originating from the service file, return it
- LastPHPError
- in file error.php, method Kimono_Error::LastPHPError()
get or set the last php error, used in services code to fetch the last error
- LastRun
- in file base.php, method Kimono_Service::LastRun()
- Load
- in file base.php, method Kimono_Host::Load()
- Load
- in file user.php, method Kimono_User::Load()
$bypass_security is for admins loading users for editing without knowing their passwd
- Load
- in file base.php, method Kimono_Monitor::Load()
- Load
- in file config.php, method Kimono_Config::Load()
- Load
- in file base.php, method Kimono_Group::Load()
- LoadArguments
- in file base.php, method Kimono_Service::LoadArguments()
top
top
top
top
top
r
- RaiseError
- in file error.php, method Kimono_Error::RaiseError()
create error and run/buffer it, log errors and warnings
- RC4
- in file crypt.php, method Kimono_RC4_Crypt::RC4()
- RegisterCallback
- in file error.php, method Kimono_Error::RegisterCallback()
- Required
- in file base.php, method Kimono_Argument::Required()
- RequiredArguments
- in file base.php, method Kimono_Service_Dummy::RequiredArguments()
loop through argument list and see if they exist
- RequiredExtension
- in file base.php, method Kimono_Service_Dummy::RequiredExtension()
check for loaded php extensions and report KIMONO_STATUS_MISSING_EXTENSION if not loaded
- RequiredFile
- in file base.php, method Kimono_Service_Dummy::RequiredFile()
check for file and report KIMONO_STATUS_MISSING_FILE if not found
- Requirements
- in file base.php, function Requirements()
- Returns
- in file base.php, method Kimono_Service_Dummy::Returns()
return service results
- Run
- in file base.php, function Run()
interface for service classes to make sure they follow the design patter we want
- RunCallbacks
- in file error.php, method Kimono_Error::RunCallbacks()
clean out error buffer if it's disabled and contains objects, proceed to output $error_object if set
- RunService
- in file base.php, method Kimono_Service_Dummy::RunService()
top
s
- settings.php
- procedural page settings.php
- stats.php
- procedural page stats.php
- Save
- in file base.php, method Kimono_Object::Save()
save this object depending on type
- Save
- in file user.php, method Kimono_User::Save()
- SaveValue
- in file config.php, method Kimono_Config::SaveValue()
- Scheduled
- in file base.php, method Kimono_Service::Scheduled()
- Scope
- in file config.php, method Kimono_Config_Value::Scope()
- ServiceFile
- in file base.php, method Kimono_Service::ServiceFile()
- ServiceId
- in file base.php, method Kimono_Argument::ServiceId()
- ServiceName
- in file base.php, method Kimono_Service::ServiceName()
- Set
- in file config.php, method Kimono_Config::Set()
set config value or create new if doesn't exist, return object
- SetMethod
- in file crypt.php, method Kimono_Crypt::SetMethod()
- SetPassphrase
- in file crypt.php, method Kimono_RC4_Crypt::SetPassphrase()
- SetPassphrase
- in file crypt.php, function SetPassphrase()
- SetPassphrase
- in file crypt.php, method Kimono_Crypt_Plaintext::SetPassphrase()
- SetPassphrase
- in file crypt.php, method Kimono_MCrypt::SetPassphrase()
- sql_error_handler
- in file error.php, function sql_error_handler()
error handler for SQL error output
- Status
- in file base.php, method Kimono_Object::Status()
- system_check
- in file install.php, function system_check()
top
top
top
top
|
|