| System_Daemon |
| [ class tree: System_Daemon ] [ index: System_Daemon ] [ all elements ] |
|
Packages: System_Daemon Classes:
System_Daemon
Files:System_Daemon_Exception System_Daemon_Options System_Daemon_OS System_Daemon_OS_BSD System_Daemon_OS_Debian System_Daemon_OS_Exception System_Daemon_OS_Linux System_Daemon_OS_RedHat System_Daemon_OS_Ubuntu System_Daemon_OS_Windows
BSD.php
changelog_gen.php Daemon.php Debian.php devtest.php Exception.php Exception.php Linux.php logparser.php nopear.php Options.php OS.php package_gen.php pearlog.php RedHat.php simple.php test.php Ubuntu.php Windows.php |
[ Top ] $_logPhpMapping = array(
|
| Type: | array |
[line 172]
Definitions for all Options| Type: | array |
[line 156]
Holds Option Object| Type: | mixed |
[line 163]
Holds OS Object| Type: | mixed |
[line 91]
The current process identifier| Type: | integer |
[line 105]
Wether the current process is a forked child| Type: | boolean |
[line 113]
Wether SAFE_MODE is on or off. This is important for ini_set behavior| Type: | boolean |
[line 313]
Available signal handlers setSigHandler can overwrite these values individually.| Type: | array |
|
Code from the PHP_CodeSniffer package by Greg Sherwood and Marc McIntyre
| string | $className | — | The name of the class or interface. |
|
You can overrule various signals with the setSigHandler() method
| integer | $signo | — | The posix signal received. |
|
It was not written by me, I don't know where it's from exactly. Let me know if you do.
From kvzlib.net
| string | $file | — |
|
| string | $name | — | Name of the Option |
|
|
|
|
Also supports PEAR_Log if you referenc to a valid instance of it in self::getOption("usePEARLogInstance").
It logs a string according to error levels specified in array: self::$_logLevels (0 is fatal and handles daemon's death)
| integer | $level | — | What function the log record is from |
| string | $str | — | The log record |
| string | $file | — | What code file the log record is from |
| string | $class | — | What class the log record is from |
| string | $function | — | What function the log record is from |
| integer | $line | — | What code line the log record is from |
|
|
| $errno | — | ||
| $errstr | — | ||
| $errfile | — | ||
| $errline | — |
|
| string | $name | — | Name of the Option |
| mixed | $value | — | Value of the Option |
|
| array | $use_options | — | Array with Options |
|
| string | $signal | — | Signal constant (e.g. SIGHUP) |
| mixed | $handler | — | Which handler to call on signal |
|
|
| boolean | $overwrite | — | May the existing init.d file be overwritten? |
|
| integer | $gid | — | Group identifier (number) |
| integer | $uid | — | User identifier (number) |
|
| boolean | $restart | — | Whether to restart after die |
|
|
| string | $pidFilePath | — | Pid location |
| boolean | $log | — | Allow this function to log directly on error |
|
Initializes, sanitizes & defaults unset variables
| boolean | $premature | — | Whether to do a premature option init |
|
| $pidFilePath | — | ||
| $pid | — |