| | Index of all elements[ a ]
	[ b ]
	[ c ]
	[ d ]
	[ e ]
	[ f ]
	[ g ]
	[ i ]
	[ l ]
	[ m ]
	[ n ]
	[ o ]
	[ p ]
	[ r ]
	[ s ]
	[ u ]
	[ w ]
	[ _ ]top
 
 top
 
 top
 
 top
 
 top
 
 top
 
 
 
		topg
							getAutoRunPathin file OS.php, method System_Daemon_OS::getAutoRunPath()Returns OS specific path to autoRun file
getAutoRunScriptin file OS.php, method System_Daemon_OS::getAutoRunScript()Uses properties to enrich the autuRun Template
getAutoRunTemplatein file OS.php, method System_Daemon_OS::getAutoRunTemplate()Returns a template to base the autuRun script on.
getAutoRunTemplatePathin file OS.php, method System_Daemon_OS::getAutoRunTemplatePath()Returns a template path to base the autuRun script on.
getDataDirin file OS.php, method System_Daemon_OS::getDataDir()Returns the directory where data is stored (like init.d templates)  Could be PEAR's data directory but could also be a local one.
getDetailsin file OS.php, method System_Daemon_OS::getDetails()Returns array with all the specific details of the loaded OS
getOptionin file Daemon.php, method System_Daemon::getOption()Gets any option found in $_optionDefinitions  Public interface to talk with with protected option methods
getOptionin file Options.php, method System_Daemon_Options::getOption()Retrieves any option found in $_definitions
getOptionsin file Daemon.php, method System_Daemon::getOptions()Gets an array of options found
getOptionsin file Options.php, method System_Daemon_Options::getOptions()Gets an array of options found in $_definitions
 
 
 
		topi
							infoin file Daemon.php, method System_Daemon::info()Logging shortcut
initin file Options.php, method System_Daemon_Options::init()Checks if all the required options are set & met.
isDyingin file Daemon.php, method System_Daemon::isDying()Whether the our daemon is being killed, you might  want to include this in your loop
isInBackgroundin file Daemon.php, method System_Daemon::isInBackground()Whether the class is already running in the background
isInitializedin file Options.php, method System_Daemon_Options::isInitialized()Wether options are initialized
isInstalledin file BSD.php, method System_Daemon_OS_BSD::isInstalled()Determines wether the system is compatible with this OS
isInstalledin file Linux.php, method System_Daemon_OS_Linux::isInstalled()Determines wether the system is compatible with this OS
isInstalledin file Arch.php, method System_Daemon_OS_Arch::isInstalled()Determines wether the system is compatible with this OS
isInstalledin file Windows.php, method System_Daemon_OS_Windows::isInstalled()Determines wether this system is compatible with this OS
isInstalledin file OS.php, method System_Daemon_OS::isInstalled()Determines wether the system is compatible with this OS
isRunningin file Daemon.php, method System_Daemon::isRunning()Check if a previous process with same pidfile was already running
isWritablein file OS.php, method System_Daemon_OS::isWritable()A 'better' is_writable. Taken from PHP.NET comments:
iteratein file Daemon.php, method System_Daemon::iterate()Protects your daemon by e.g. clearing statcache. Can optionally  be used as a replacement for sleep as well.
 
 
 
		topl
							login file Daemon.php, method System_Daemon::log()Almost every deamon requires a log file, this function can  facilitate that. Also handles class-generated errors, chooses  either PEAR handling or PEAR-independant handling, depending on:  self::opt('usePEAR').
LOG_ALERTin file Daemon.php, class constant System_Daemon::LOG_ALERTImmediate action required (will throw a System_Daemon_Exception as well)
LOG_CRITin file Daemon.php, class constant System_Daemon::LOG_CRITCritical conditions (will throw a System_Daemon_Exception as well)
LOG_DEBUGin file Daemon.php, class constant System_Daemon::LOG_DEBUGDebug-level messages
LOG_EMERGin file Daemon.php, class constant System_Daemon::LOG_EMERGSystem is unusable (will throw a System_Daemon_Exception as well)
LOG_ERRin file Daemon.php, class constant System_Daemon::LOG_ERRError conditions
LOG_INFOin file Daemon.php, class constant System_Daemon::LOG_INFOInformational
LOG_NOTICEin file Daemon.php, class constant System_Daemon::LOG_NOTICENormal but significant
LOG_WARNINGin file Daemon.php, class constant System_Daemon::LOG_WARNINGWarning conditions
leakplugger.phpprocedural page leakplugger.phplogparser.phpprocedural page logparser.phpLinux.phpprocedural page Linux.php 
 top
 
 top
 
 top
 
 top
 
 top
 
 
 
		tops
							semantifyin file Daemon.php, method System_Daemon::semantify()Tries to return the most significant information as a string  based on any given argument.
setOptionin file Daemon.php, method System_Daemon::setOption()Sets any option found in $_optionDefinitions  Public interface to talk with with protected option methods
setOptionin file Options.php, method System_Daemon_Options::setOption()Sets any option found in $_definitions
setOptionsin file Options.php, method System_Daemon_Options::setOptions()Sets an array of options found in $_definitions
setOptionsin file Daemon.php, method System_Daemon::setOptions()Sets an array of options found in $_optionDefinitions  Public interface to talk with with protected option methods
setSigHandlerin file Daemon.php, method System_Daemon::setSigHandler()Overrule or add signal handlers.
startin file Daemon.php, method System_Daemon::start()Spawn daemon process.
stopin file Daemon.php, method System_Daemon::stop()Stop daemon process.
strIsUnixin file Options.php, method System_Daemon_Options::strIsUnix()Check if a string has a unix proof format (stripped spaces,  special chars, etc)
strIsUnixFilein file Options.php, method System_Daemon_Options::strIsUnixFile()Check if a string has a unix proof file-format (stripped spaces,  special chars, etc)
strToUnixin file Options.php, method System_Daemon_Options::strToUnix()Convert a string to a unix proof format (strip spaces,  special chars, etc)
System_Daemonin file Daemon.php, class System_DaemonSystem_Daemon. Create daemons with practicle functions  like System_Daemon::start()
signals.phpprocedural page signals.phpsimple.phpprocedural page simple.phpSystem_Daemon_Exceptionin file Exception.php, class System_Daemon_ExceptionAn exception thrown by System_Daemon when it encounters an unrecoverable error.
System_Daemon_Optionsin file Options.php, class System_Daemon_OptionsMechanism for validating, getting and setting a predefined set of options.
System_Daemon_OSin file OS.php, class System_Daemon_OSOperating System focussed functionality.
System_Daemon_OS_Archin file Arch.php, class System_Daemon_OS_ArchA System_Daemon_OS driver for Arch Linux
System_Daemon_OS_BSDin file BSD.php, class System_Daemon_OS_BSDA System_Daemon_OS driver for BSD
System_Daemon_OS_Debianin file Debian.php, class System_Daemon_OS_DebianA System_Daemon_OS driver for Debian based Operating Systems (including Ubuntu)
System_Daemon_OS_Exceptionin file Exception.php, class System_Daemon_OS_ExceptionAn exception thrown by System_Daemon_OS when it encounters an unrecoverable error.
System_Daemon_OS_Fedorain file Fedora.php, class System_Daemon_OS_FedoraA System_Daemon_OS driver for Fedora based Operating Systems
System_Daemon_OS_Linuxin file Linux.php, class System_Daemon_OS_LinuxA System_Daemon_OS driver for Linux based Operating Systems
System_Daemon_OS_RedHatin file RedHat.php, class System_Daemon_OS_RedHatA System_Daemon_OS driver for RedHat based Operating Systems
System_Daemon_OS_Ubuntuin file Ubuntu.php, class System_Daemon_OS_UbuntuA System_Daemon_OS driver for Ubuntu. Based on Debian
System_Daemon_OS_Windowsin file Windows.php, class System_Daemon_OS_WindowsA System_Daemon_OS driver for Windows
 
 top
 
 top
 
 
 
		top_
							$_autoRunDirin file Linux.php, variable System_Daemon_OS_Linux::$_autoRunDirPath to autoRun script
$_autoRunDirin file Fedora.php, variable System_Daemon_OS_Fedora::$_autoRunDirPath of init.d scripts
$_autoRunDirin file OS.php, variable System_Daemon_OS::$_autoRunDirPath of init.d scripts
$_autoRunDirin file RedHat.php, variable System_Daemon_OS_RedHat::$_autoRunDirPath of init.d scripts
$_autoRunDirin file Arch.php, variable System_Daemon_OS_Arch::$_autoRunDirPath to autoRun script
$_autoRunTemplatePathin file Arch.php, variable System_Daemon_OS_Arch::$_autoRunTemplatePathTemplate path
$_autoRunTemplatePathin file BSD.php, variable System_Daemon_OS_BSD::$_autoRunTemplatePathTemplate path
$_autoRunTemplatePathin file OS.php, variable System_Daemon_OS::$_autoRunTemplatePathTemplate path
$_autoRunTemplatePathin file Fedora.php, variable System_Daemon_OS_Fedora::$_autoRunTemplatePathTemplate path
$_autoRunTemplatePathin file Debian.php, variable System_Daemon_OS_Debian::$_autoRunTemplatePathTemplate path
$_autoRunTemplatePathin file RedHat.php, variable System_Daemon_OS_RedHat::$_autoRunTemplatePathTemplate path
$_autoRunTemplateReplacein file OS.php, variable System_Daemon_OS::$_autoRunTemplateReplaceReplace the following keys with values to convert a template into  a read autorun script
$_autoRunTemplateReplacein file RedHat.php, variable System_Daemon_OS_RedHat::$_autoRunTemplateReplaceReplace the following keys with values to convert a template into  a read autorun script
$_autoRunTemplateReplacein file Fedora.php, variable System_Daemon_OS_Fedora::$_autoRunTemplateReplaceReplace the following keys with values to convert a template into  a read autorun script
$_autoRunTemplateReplacein file Debian.php, variable System_Daemon_OS_Debian::$_autoRunTemplateReplaceReplace the following keys with values to convert a template into  a read autorun script
$_definitionsin file Options.php, variable System_Daemon_Options::$_definitionsDefinitions for all Options
$_isDyingin file Daemon.php, variable System_Daemon::$_isDyingWhether the our daemon is being killed
$_isInitializedin file Options.php, variable System_Daemon_Options::$_isInitializedWether all the options have been initialized
$_logLevelsin file Daemon.php, variable System_Daemon::$_logLevelsAvailable log levels
$_logPhpMappingin file Daemon.php, variable System_Daemon::$_logPhpMappingAvailable PHP error levels and their meaning in POSIX loglevel terms  Some ERROR constants are not supported in all PHP versions  and will conditionally be translated from strings to constants,  or else: removed from this mapping at start().
$_optionDefinitionsin file Daemon.php, variable System_Daemon::$_optionDefinitionsDefinitions for all Options
$_optionsin file Options.php, variable System_Daemon_Options::$_optionsKeep track of active state for all Options
$_optObjin file Daemon.php, variable System_Daemon::$_optObjHolds Option Object
$_osDetailsin file OS.php, variable System_Daemon_OS::$_osDetailsHold OS information
$_osObjin file Daemon.php, variable System_Daemon::$_osObjHolds OS Object
$_osVersionFilein file Fedora.php, variable System_Daemon_OS_Fedora::$_osVersionFileOn Linux, a distro-specific version file is often telling us enough
$_osVersionFilein file Linux.php, variable System_Daemon_OS_Linux::$_osVersionFileOn Linux, a distro-specific version file is often telling us enough
$_osVersionFilein file Debian.php, variable System_Daemon_OS_Debian::$_osVersionFileOn Linux, a distro-specific version file is often telling us enough
$_osVersionFilein file RedHat.php, variable System_Daemon_OS_RedHat::$_osVersionFileOn Linux, a distro-specific version file is often telling us enough
$_osVersionFilein file Arch.php, variable System_Daemon_OS_Arch::$_osVersionFileOn Linux, a distro-specific version file is often telling us enough
$_osVersionFilein file Ubuntu.php, variable System_Daemon_OS_Ubuntu::$_osVersionFileOn Linux, a distro-specific version file is often telling us enough
$_processIdin file Daemon.php, variable System_Daemon::$_processIdThe current process identifier
$_processIsChildin file Daemon.php, variable System_Daemon::$_processIsChildWhether the current process is a forked child
$_safeModein file Daemon.php, variable System_Daemon::$_safeModeWhether SAFE_MODE is on or off. This is important for ini_set  behavior
$_sigHandlersin file Daemon.php, variable System_Daemon::$_sigHandlersAvailable signal handlers  setSigHandler can overwrite these values individually.
_allowedTypesin file Options.php, method System_Daemon_Options::_allowedTypes()Compile array of allowed types
_changeIdentityin file Daemon.php, method System_Daemon::_changeIdentity()Change identity of process & resources if needed.
_diein file Daemon.php, method System_Daemon::_die()Sytem_Daemon::_die()  Kill the daemon  Keep this function as independent from complex logic as possible
_forkin file Daemon.php, method System_Daemon::_fork()Fork process and kill parent process, the heart of the 'daemonization'
_getAncestorCountin file OS.php, method System_Daemon_OS::_getAncestorCount()Get the total parent count of a class
_getAncestorsin file OS.php, method System_Daemon_OS::_getAncestors()Get an array of parent classes
_getShortHandin file OS.php, method System_Daemon_OS::_getShortHand()Extracts last part of a classname. e.g. System_Daemon_OS_Ubuntu -> Ubuntu
_ilogin file Daemon.php, method System_Daemon::_ilog()Internal logging function. Bridge between shortcuts like:  err(), warning(), info() and the actual log() function
_isValidPidLocationin file Daemon.php, method System_Daemon::_isValidPidLocation()Determine whether pidfilelocation is valid
_mkdirrin file Daemon.php, method System_Daemon::_mkdirr()Recursive alternative to mkdir
_mostSpecificin file OS.php, method System_Daemon_OS::_mostSpecific()Determines how specific an operating system is.
_optionObjSetupin file Daemon.php, method System_Daemon::_optionObjSetup()Sets up Option Object instance
_optionsInitin file Daemon.php, method System_Daemon::_optionsInit()Checks if all the required options are set.
_osObjSetupin file Daemon.php, method System_Daemon::_osObjSetup()Sets up OS instance
_setDefaultin file Options.php, method System_Daemon_Options::_setDefault()Sets any option found in $_definitions to its default value
_summonin file Daemon.php, method System_Daemon::_summon()Put the running script in background
_testAutoRunPropertiesin file OS.php, method System_Daemon_OS::_testAutoRunProperties()Sets daemon specific properties
_validatein file Options.php, method System_Daemon_Options::_validate()Validates any option found in $_definitions
_whatIAmin file Daemon.php, method System_Daemon::_whatIAm()Return what the current process is: child or parent
_writePidin file Daemon.php, method System_Daemon::_writePid()Creates pid dir and writes process id to pid file
__constructin file OS.php, method System_Daemon_OS::__construct()Constructor
__constructin file Daemon.php, method System_Daemon::__construct()Making the class non-abstract with a protected constructor does a better  job of preventing instantiation than just marking the class as abstract.
__constructin file Options.php, method System_Daemon_Options::__construct()Constructor
 
 
		    
 
		    Documentation generated on Mon, 11 Mar 2019 15:47:42 -0400 by phpDocumentor 1.4.4 . PEAR Logo Copyright ©  PHP Group 2004.
	       | 
 |