Class Software
Software package management tools.
The software classes contains information about a given RPM package. The software constructor requires the pkgname - release and version are optional. Why do you need the release and version? Some packages can have multiple version installed, notably the kernel.
If you do not specify the release and version name (which is the typical way to call this constructor), then this class will assume that you mean the most recent version.
Located in /api/Software.class.php (line 93)
Engine | --Software
| Class | Description |
|---|---|
| Horde | Horde class. |
| Daemon | System daemons manager. |
| RoundCube | RoundCube class. |
| Awstats | Awstats class. |
| MailFilter | Mail filter class. |
| Mrtg | MRTG class. |
| Flexshare | Flexshare class. |
| Squirrelmail | Squirrelmail class. |
| Altermime | Altermime e-mail class. |
| Gallery | Photo gallery class. |
Inherited Variables
Inherited from Engine
Engine::$errors
Software constructor.
- string $pkgname: software package name
- string $release: release number (optional)
- string $version: version number (optional)
- Engine::__construct()
- Engine constructor.
- Horde::__construct() : Horde constructor.
- Daemon::__construct() : Daemon constructor.
- Cups::__construct() : Cups constructor.
- SpamAssassin::__construct() : SpamAssassin constructor.
- Fetchmail::__construct() : Fetchmail constructor.
- Snort::__construct() : Snort constructor.
- Mysql::__construct() : Mysql constructor.
- OpenVpn::__construct() : OpenVPN constructor.
- Firewall::__construct() : Firewall constructor.
- FirewallRedirect::__construct() : Firewall redirect constructor.
- FirewallMultiWan::__construct() : Class constructor.
- FirewallForward::__construct() : FirewallForward constructor.
- FirewallLayer7Filter::__construct() : FirewallLayer7Filter constructor.
- Bandwidth::__construct() : Bandwidth constructor.
- FirewallOutgoing::__construct() : Firewall constructor.
- FirewallIncoming::__construct() : FirewallIncoming constructor.
- FirewallOneToOneNat::__construct() : FirewallOneToOneNat constructor.
- FirewallDmz::__construct() : Firewall DMZ constructor.
- FirewallWifi::__construct() : FirewallWifi constructor.
- Bacula::__construct() : The Bacula constructor.
- Cyrus::__construct() : Cyrus constructor.
- Ipsec::__construct() : IpSec constructor.
- Layer7Filter::__construct() : Layer7Filter constructor.
- Freshclam::__construct() : Freshclam constructor.
- Httpd::__construct() : Locale constructor.
- Postfix::__construct() : Postfix constructor.
- Ldap::__construct() : Ldap constructor.
- DnsMasq::__construct() : DnsMasq constructor.
- AutoFs::__construct() : AutoFs constructor.
- Pcmcia::__construct() : PCMCIA constructor.
- Syslog::__construct() : Syslog constructor.
- SnortSam::__construct() : SnortSam constructor.
- Nmbd::__construct() : Nmbd constructor.
- Amavis::__construct() : Amavis constructor.
- Suva::__construct() : Suva constructor.
- Postgrey::__construct() : Postgrey constructor.
- Winbind::__construct() : Winbind constructor.
- Cron::__construct() : Cron constructor.
- Pptpd::__construct() : Pptp constructor.
- ClamAv::__construct() : ClamAV constructor.
- Proftpd::__construct() : Locale constructor.
- Kolab::__construct() : Kolab constructor.
- Webconfig::__construct() : Webconfig constructor.
- Syswatch::__construct() : Syswatch constructor.
- Squid::__construct() : Squid constructor.
- DansGuardian::__construct() : Dansguardian constructor.
- Samba::__construct() : Samba constructor.
- RoundCube::__construct() : RoundCube constructor.
- Awstats::__construct() : Awstats constructor.
- MailFilter::__construct() : Mail filter constructor.
- Mrtg::__construct() : MRTG constructor.
- Flexshare::__construct() : Flexshare constructor.
- Squirrelmail::__construct() : Squirrelmail constructor.
- Altermime::__construct() : Altermime constructor.
- Gallery::__construct() : Photo gallery constructor.
- Daemon::__destruct()
- SpamAssassin::__destruct()
- Snort::__destruct()
- OpenVpn::__destruct()
- FirewallRedirect::__destruct()
- FirewallForward::__destruct()
- FirewallLayer7Filter::__destruct()
- FirewallOutgoing::__destruct()
- FirewallIncoming::__destruct()
- FirewallOneToOneNat::__destruct()
- FirewallDmz::__destruct()
- Cyrus::__destruct()
- Pcmcia::__destruct()
- SnortSam::__destruct()
- Amavis::__destruct()
- Postgrey::__destruct()
- Pptpd::__destruct()
- ClamAv::__destruct()
- Kolab::__destruct()
- Webconfig::__destruct()
- Syswatch::__destruct()
- Squid::__destruct()
- DansGuardian::__destruct()
- Awstats::__destruct()
- Flexshare::__destruct()
- Squirrelmail::__destruct()
Returns the copyright of the software - eg GPL.
Returns a long description in text format.
Descriptions can be anywhere from one-sentence long to several paragraphs.
Returns the installed size (not the download size).
Returns install time in seconds since Jan 1, 1970.
Returns the package name.
Returns the packager.
Returns the release.
The release is not necessarily numeric!
Generic function to grab information from the RPM database.
There are dozens of bits of information in an RPM file accessible via the "rpm -q --queryformat" command. See list of tags at http://www.rpm.org/max-rpm-snapshot/ch-queryformat-tags.html
- string $tag: queryformat tag in RPM
Returns a one-line description.
Returns the version.
The version is not necessarily numeric!
Returns true if the package is installed.
Inherited Methods
Inherited From Engine
Engine::__construct()
Engine::AddValidationError()
Engine::CheckValidationErrors()
Engine::CopyValidationErrors()
Engine::GetValidationErrors()
Engine::Log()
Engine::__destruct()
Documentation generated on Fri, 28 Aug 2009 20:32:19 -0400 by phpDocumentor 1.3.2

