本文整理汇总了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;");
}