System_Daemon
[
class tree: System_Daemon
] [
index: System_Daemon
] [
all elements
]
Packages:
System_Daemon
Classes:
System_Daemon
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
Files:
BSD.php
BSD.php
changelog_gen.php
Daemon.php
Daemon.php
Debian.php
Debian.php
devtest.php
Exception.php
Exception.php
Exception.php
Exception.php
Linux.php
Linux.php
logparser.php
nopear.php
Options.php
Options.php
OS.php
OS.php
package.php
package_gen.php
pearlog.php
RedHat.php
RedHat.php
simple.php
test.php
Ubuntu.php
Ubuntu.php
Windows.php
Windows.php
Class: System_Daemon_OS_Linux
Source Location: /System_Daemon-0.5.0/System/Daemon/OS/Linux.php
Class Overview
System_Daemon_OS
| --System_Daemon_OS_Linux
A System_Daemon_OS driver for Linux based Operating Systems
Author(s):
Kevin van Zonneveld <
kevin at vanzonneveld.net
>
Version:
SVN: Release: $Id: Linux.php 150 2008-09-05 22:06:05Z kevin $
Copyright:
2008 Kevin van Zonneveld (http://kevin.vanzonneveld.net)
Variables
$autoRunDir
$osVersionFile
Methods
isInstalled
Child classes:
A System_Daemon_OS driver for RedHat based Operating Systems
A System_Daemon_OS driver for Debian based Operating Systems (including Ubuntu)
Inherited Variables
Class:
System_Daemon_OS
System_Daemon_OS::$autoRunTemplatePath
System_Daemon_OS::$autoRunTemplateReplace
System_Daemon_OS::$errors
Inherited Methods
Class:
System_Daemon_OS
System_Daemon_OS::__construct()
Constructor
System_Daemon_OS::factory()
Loads all the drivers and returns the one for the most specifc OS
System_Daemon_OS::getAutoRunPath()
Returns OS specific path to autoRun file
System_Daemon_OS::getAutoRunScript()
Uses properties to enrich the autuRun Template
System_Daemon_OS::getAutoRunTemplate()
Returns a template to base the autuRun script on.
System_Daemon_OS::getAutoRunTemplatePath()
Returns a template path to base the autuRun script on.
System_Daemon_OS::getDetails()
Returns array with all the specific details of the loaded OS
System_Daemon_OS::isInstalled()
Determines wether the system is compatible with this OS
System_Daemon_OS::writeAutoRun()
Writes an: 'init.d' script on the filesystem combining
Class Details
[line 29]
A System_Daemon_OS driver for Linux based Operating Systems
Author:
Kevin van Zonneveld <
kevin@vanzonneveld.net
>
Version:
SVN: Release: $Id: Linux.php 150 2008-09-05 22:06:05Z kevin $
Copyright:
2008 Kevin van Zonneveld (http://kevin.vanzonneveld.net)
Link:
*
License:
New BSD Licence
[
Top
]
Class Variables
$autoRunDir =
"/etc/init.d"
[line 43]
Path to autoRun script
Access:
protected
Type:
string
[
Top
]
$osVersionFile =
""
[line 36]
On Linux, a distro-specific version file is often telling us enough
Access:
protected
Type:
string
[
Top
]
Method Detail
isInstalled
[line 52]
boolean isInstalled( )
Determines wether the system is compatible with this OS
Access:
public
Overrides
System_Daemon_OS::isInstalled()
(Determines wether the system is compatible with this OS)
[
Top
]
Documentation generated on Mon, 11 Mar 2019 15:26:02 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.