本文整理匯總了PHP中plugins::add_cd_entry方法的典型用法代碼示例。如果您正苦於以下問題:PHP plugins::add_cd_entry方法的具體用法?PHP plugins::add_cd_entry怎麽用?PHP plugins::add_cd_entry使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類plugins
的用法示例。
在下文中一共展示了plugins::add_cd_entry方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: plugin_init_services
function plugin_init_services()
{
$object = new plugins();
$object->add_cd_entry("services", "software");
// Officepack table creation
$object->sql_query("CREATE TABLE service (ID INTEGER NOT NULL AUTO_INCREMENT, HARDWARE_ID INTEGER NOT NULL,\nSVCNAME VARCHAR(128) NOT NULL, \nSVCDN VARCHAR(255) NOT NULL, \nSVCSTATE VARCHAR(32) DEFAULT NULL, \nSVCDESC VARCHAR(1536) DEFAULT NULL, \nSVCSTARTMODE VARCHAR(32) DEFAULT NULL, \nSVCPATH VARCHAR(512) DEFAULT NULL,\nSVCSTARTNAME VARCHAR(128) DEFAULT NULL, \nSVCEXITCODE INTEGER DEFAULT NULL, \nSVCSPECEXITCODE INTEGER DEFAULT NULL, \nPRIMARY KEY (ID,HARDWARE_ID)) ENGINE=INNODB;");
}
示例2: plugin_init_winupdate
function plugin_init_winupdate()
{
$object = new plugins();
$object->add_cd_entry("winupdate", "other");
// Officepack table creation
$object->sql_query("CREATE TABLE IF NOT EXISTS `winupdatestate` (\n `ID` INT(11) NOT NULL AUTO_INCREMENT,\n `HARDWARE_ID` INT(11) NOT NULL,\n `AUOPTIONS` VARCHAR(255) DEFAULT NULL,\n `SCHEDULEDINSTALLDATE` VARCHAR(255) DEFAULT NULL,\n `LASTSUCCESSTIME` VARCHAR(255) DEFAULT NULL,\n `DETECTSUCCESSTIME` VARCHAR(255) DEFAULT NULL,\n `DOWNLOADSUCCESSTIME` VARCHAR(255) DEFAULT NULL,\n PRIMARY KEY (`ID`,`HARDWARE_ID`)\n) ENGINE=INNODB ;");
}
示例3: plugin_init_uptime
function plugin_init_uptime()
{
$object = new plugins();
$object->add_cd_entry("uptime", "other");
// Officepack table creation
$object->sql_query("CREATE TABLE IF NOT EXISTS `uptime` (\n `ID` INT(11) NOT NULL AUTO_INCREMENT,\n `HARDWARE_ID` INT(11) NOT NULL,\n `TIME` VARCHAR(64) DEFAULT NULL,\n PRIMARY KEY (`ID`,`HARDWARE_ID`)\n) ENGINE=INNODB ;");
}
示例4: plugin_init_security
function plugin_init_security()
{
$object = new plugins();
$object->add_cd_entry("security", "software");
// Officepack table creation
$object->sql_query("CREATE TABLE IF NOT EXISTS `securitycenter` (\n `ID` INT(11) NOT NULL AUTO_INCREMENT,\n `HARDWARE_ID` INT(11) NOT NULL,\n `SCV` VARCHAR(255) DEFAULT NULL,\n `CATEGORY` VARCHAR(255) DEFAULT NULL,\n `COMPANY` VARCHAR(255) DEFAULT NULL,\n `PRODUCT` VARCHAR(255) DEFAULT NULL,\n `VERSION` VARCHAR(255) DEFAULT NULL,\n `ENABLED` INT(11) DEFAULT NULL,\n `UPTODATE` INT(11) DEFAULT NULL,\n PRIMARY KEY (`ID`,`HARDWARE_ID`)\n) ENGINE=INNODB ;");
}
示例5: plugin_init_officepack
function plugin_init_officepack()
{
$object = new plugins();
$object->add_cd_entry("officepack", "software");
$object->add_menu("officepack", "14000", "officepack", "Office Key Management", "plugins");
// Officepack table creation
include 'sql/officepack.php';
include 'sql/officepack-guid-fr.php';
}
示例6: plugin_init_winusers
function plugin_init_winusers()
{
$object = new plugins();
$object->add_cd_entry("winusers", "other");
$object->sql_query("CREATE TABLE `winusers` (`ID` INT(11) NOT NULL AUTO_INCREMENT,`HARDWARE_ID` INT(11) NOT NULL,\n `NAME` VARCHAR(255) DEFAULT NULL, PRIMARY KEY (`ID`,`HARDWARE_ID`)) ENGINE=InnoDB;");
}