Cleanup: moved files from business directory into relevant modules

SVN:trunk[644]
This commit is contained in:
Romain Quetiez
2010-07-29 20:55:39 +00:00
parent a76ce40036
commit e651a2d08c
29 changed files with 37 additions and 5115 deletions

View File

@@ -244,7 +244,7 @@ EOF
* Universal Search
*/
$oWelcomeMenu = new MenuGroup('WelcomeMenu', 10 /* fRank */);
new TemplateMenuNode('WelcomeMenuPage', '../business/templates/welcome_menu.html', $oWelcomeMenu->GetIndex() /* oParent */, 1 /* fRank */);
new TemplateMenuNode('WelcomeMenuPage', '../application/templates/welcome_menu.html', $oWelcomeMenu->GetIndex() /* oParent */, 1 /* fRank */);
$oToolsMenu = new MenuGroup('DataAdministration', 70 /* fRank */);
new WebPageMenuNode('CSVImportMenu', '../pages/csvimport.php', $oToolsMenu->GetIndex(), 1 /* fRank */);
@@ -253,7 +253,7 @@ EOF
$oAdminMenu = new MenuGroup('AdminTools', 80 /* fRank */);
new OQLMenuNode('UserAccountsMenu', 'SELECT User', $oAdminMenu->GetIndex(), 1 /* fRank */);
new OQLMenuNode('ProfilesMenu', 'SELECT URP_Profiles', $oAdminMenu->GetIndex(), 2 /* fRank */);
new TemplateMenuNode('NotificationsMenu', '../business/templates/notifications_menu.html', $oAdminMenu->GetIndex(), 3 /* fRank */);
new TemplateMenuNode('NotificationsMenu', '../application/templates/notifications_menu.html', $oAdminMenu->GetIndex(), 3 /* fRank */);
new WebPageMenuNode('RunQueriesMenu', '../pages/run_query.php', $oAdminMenu->GetIndex(), 8 /* fRank */);
new WebPageMenuNode('ExportMenu', '../webservices/export.php', $oAdminMenu->GetIndex(), 9 /* fRank */);
new WebPageMenuNode('DataModelMenu', '../pages/schema.php', $oAdminMenu->GetIndex(), 10 /* fRank */);

View File

@@ -49,9 +49,9 @@ require_once('../application/template.class.inc.php');
* // Create the top-level group. fRank = 1, means it will be inserted after the group '0', which is usually 'Welcome'
* $oConfigMgmtMenu = new MenuGroup('ConfigurationManagementMenu', 1);
* // Create an entry, based on a custom template, for the Configuration management overview, under the top-level group
* new TemplateMenuNode('ConfigurationManagementMenu', '../business/templates/configuration_management_menu.html', $oConfigMgmtMenu->GetIndex(), 0);
* new TemplateMenuNode('ConfigurationManagementMenu', '../somedirectory/configuration_management_menu.html', $oConfigMgmtMenu->GetIndex(), 0);
* // Create an entry (template based) for the overview of contacts
* $oContactsMenu = new TemplateMenuNode('ContactsMenu', '../business/templates/configuration_management_menu.html',$oConfigMgmtMenu->GetIndex(), 1);
* $oContactsMenu = new TemplateMenuNode('ContactsMenu', '../somedirectory/configuration_management_menu.html',$oConfigMgmtMenu->GetIndex(), 1);
* // Plain list of persons
* new OQLMenuNode('PersonsMenu', 'SELECT bizPerson', $oContactsMenu->GetIndex(), 0);
*

File diff suppressed because it is too large Load Diff

View File

@@ -1,223 +0,0 @@
<?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes for core automated tests
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
///////////////////////////////////////////////////////////////////////////////
// Business implementation demo
///////////////////////////////////////////////////////////////////////////////
//todo MetaModel::RegisterRelation("Potes");
//todo MetaModel::RegisterZList("list1", array("description"=>"une premiere list, just for fun", "type"=>"attributes"));
//todo MetaModel::RegisterZList("list2", array("description"=>"la secunda e meliora", "type"=>"attributes"));
//todo MetaModel::RegisterZList("list3", array("description"=>"la variante qui tue", "type"=>"filters"));
class Animal extends cmdbObject
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "autoincrement",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(""),
"db_table" => "animals",
"db_key_field" => "animalid",
"db_finalclass_field" => "actualclass",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_AddAttribute(new AttributeEnum("sex", array("allowed_values"=>new ValueSetEnum('male, female'), "sql"=>"sex", "default_value"=>"male", "is_null_allowed"=>false, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeString("species", array("allowed_values"=>null, "sql"=>"species", "default_value"=>"xxx", "is_null_allowed"=>false, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeInteger("speed", array("allowed_values"=>null, "sql"=>"speed", "default_value"=>4, "is_null_allowed"=>false, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeExternalKey("mother", array("allowed_values"=>null, "sql"=>"mother", "targetclass"=>"Animal", "is_null_allowed"=>true, "on_target_delete"=>DEL_MANUAL, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeExternalKey("father", array("allowed_values"=>null, "sql"=>"father", "targetclass"=>"Animal", "is_null_allowed"=>true, "on_target_delete"=>DEL_MANUAL, "depends_on"=>array())));
}
}
class Mammal extends Animal
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "autoincrement",
"name_attcode" => "name",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "mammals",
"db_key_field" => "mammalid",
"db_finalclass_field" => "",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
MetaModel::Init_AddAttribute(new AttributeString("name", array("allowed_values"=>null, "sql"=>"name", "default_value"=>"xxx", "is_null_allowed"=>false, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeInteger("height", array("allowed_values"=>null, "sql"=>"height", "default_value"=>1, "is_null_allowed"=>false, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeDate("birth", array("allowed_values"=>null, "sql"=>"birth", "default_value"=>"", "is_null_allowed"=>true, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeExternalKey("member", array("allowed_values"=>null, "sql"=>"member", "targetclass"=>"Group", "is_null_allowed"=>true, "on_target_delete"=>DEL_MANUAL, "depends_on"=>array())));
}
}
class Bird extends Animal
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "autoincrement",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "birds",
"db_key_field" => "birdid",
"db_finalclass_field" => "",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
MetaModel::Init_OverloadAttributeParams("species", array("allowed_values"=>array('geese', 'rooster', 'chicken', 'turckey', 'pie', 'corbeau')));
}
}
class WalkingBird extends Bird
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "walkingbirds",
"db_key_field" => "walkingbirdid",
"db_finalclass_field" => "",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
MetaModel::Init_OverloadAttributeParams("species", array("allowed_values"=>array('geese', 'rooster', 'chicken', 'turckey')));
}
}
class FlyingBird extends Bird
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "flyingbirds",
"db_key_field" => "flyingbirdid",
"db_finalclass_field" => "",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
MetaModel::Init_OverloadAttributeParams("species", array("allowed_values"=>array('pie', 'corbeau')));
MetaModel::Init_AddAttribute(new AttributeInteger("flyingspeed", array("allowed_values"=>null, "sql"=>"headcount", "default_value"=>10, "is_null_allowed"=>false, "depends_on"=>array())));
}
}
class AnimalRelation extends cmdbObject
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "autoincrement",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "a2a",
"db_key_field" => "linkid",
"db_finalclass_field" => "",
);
MetaModel::Init_Params($aParams);
//MetaModel::Init_InheritAttributes();
// What makes it being a link...
MetaModel::Init_AddAttribute(new AttributeExternalKey("animal1", array("allowed_values"=>null, "sql"=>"a1", "targetclass"=>"Animal", "is_null_allowed"=>false, "on_target_delete"=>DEL_MANUAL, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeExternalKey("animal2", array("allowed_values"=>null, "sql"=>"a2", "targetclass"=>"Animal", "is_null_allowed"=>false, "on_target_delete"=>DEL_MANUAL, "depends_on"=>array())));
}
}
class EaterToEaten extends AnimalRelation
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "autoincrement",
"name_attcode" => "",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "eatertoeaten",
"db_key_field" => "eatertoeatonid",
"db_finalclass_field" => "",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
MetaModel::Init_AddAttribute(new AttributeEnum("DeadOrAlive", array("allowed_values"=>new ValueSetEnum('dead, fresh, cooked'), "sql"=>"deadoralive", "default_value"=>"fresh", "is_null_allowed"=>false, "depends_on"=>array())));
}
}
class Group extends cmdbObject
{
public static function Init()
{
$aParams = array
(
"category" => "blah",
"key_type" => "autoincrement",
"name_attcode" => "name",
"state_attcode" => "",
"reconc_keys" => array(),
"db_table" => "groups",
"db_key_field" => "groupid",
"db_finalclass_field" => "",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
MetaModel::Init_AddAttribute(new AttributeString("name", array("allowed_values"=>null, "sql"=>"name", "default_value"=>"xxx", "is_null_allowed"=>false, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeExternalKey("leader", array("allowed_values"=>null, "sql"=>"leader", "targetclass"=>"Mammal", "is_null_allowed"=>false, "on_target_delete"=>DEL_MANUAL, "depends_on"=>array())));
MetaModel::Init_AddAttribute(new AttributeExternalField("leader_name", array("allowed_values"=>null, "extkey_attcode"=> 'leader', "target_attcode"=>"name")));
MetaModel::Init_AddAttribute(new AttributeExternalField("leader_speed", array("allowed_values"=>null, "extkey_attcode"=> 'leader', "target_attcode"=>"speed")));
}
}
?>

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -76,7 +76,7 @@ class Location extends cmdbAbstractObject
"db_table" => "location",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/location.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/location.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -116,7 +116,7 @@ abstract class Contact extends cmdbAbstractObject
"db_table" => "contact",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/team.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/team.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -156,7 +156,7 @@ class Person extends Contact
"db_table" => "person",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/person.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/person.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -190,7 +190,7 @@ class Team extends Contact
"db_table" => "team",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/team.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/team.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -254,7 +254,7 @@ abstract class Document extends cmdbAbstractObject
"db_table" => "document",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/document.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/document.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -289,7 +289,7 @@ class ExternalDoc extends Document
"db_table" => "externaldoc",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/document.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/document.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -317,7 +317,7 @@ class Note extends Document
"db_table" => "note",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/document.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/document.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -345,7 +345,7 @@ class FileDoc extends Document
"db_table" => "filedoc",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/document.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/document.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -389,7 +389,7 @@ class Licence extends cmdbAbstractObject
"db_table" => "licence",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/licence.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/licence.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -425,7 +425,7 @@ class Subnet extends cmdbAbstractObject
"db_table" => "subnet",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/subnet.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/subnet.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -512,7 +512,7 @@ class Patch extends cmdbAbstractObject
"db_table" => "patch",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/patch.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/patch.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -544,7 +544,7 @@ abstract class Software extends cmdbAbstractObject
"db_table" => "software",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/software.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/software.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -572,7 +572,7 @@ class Application extends Software
"db_table" => "software_app",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/software.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/software.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -599,7 +599,7 @@ class DBServer extends Software
"db_table" => "software_db",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/software.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/software.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -658,7 +658,7 @@ abstract class FunctionalCI extends cmdbAbstractObject
"db_table" => "functionalci",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/server.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/server.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -712,7 +712,7 @@ abstract class SoftwareInstance extends FunctionalCI
"db_table" => "softwareinstance",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/application.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/application.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -779,7 +779,7 @@ class DBServerInstance extends SoftwareInstance
"db_table" => "softwareinstance_dbserver",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/application.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/database.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -808,7 +808,7 @@ class ApplicationInstance extends SoftwareInstance
"db_table" => "softwareinstance_application",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/application.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/application.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -837,7 +837,7 @@ class DatabaseInstance extends FunctionalCI
"db_table" => "databaseinstance",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/database-instance.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/database-instance.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -888,7 +888,7 @@ class ApplicationSolution extends FunctionalCI
"db_table" => "applicationsolution",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/solution.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/solution.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -941,7 +941,7 @@ class BusinessProcess extends FunctionalCI
"db_table" => "businessprocess",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/business-process.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/business-process.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1017,7 +1017,7 @@ class NetworkInterface extends ConnectableCI
"db_table" => "networkinterface",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/interface.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/interface.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1063,7 +1063,7 @@ abstract class Device extends ConnectableCI
"db_table" => "device",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/server.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/server.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1115,7 +1115,7 @@ class PC extends Device
"db_table" => "pc",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/laptop.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/laptop.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1149,7 +1149,7 @@ abstract class MobileCI extends Device
"db_table" => "mobileci",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/mobile-phone.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/mobile-phone.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1176,7 +1176,7 @@ class MobilePhone extends MobileCI
"db_table" => "mobilephone",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/mobile-phone.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/mobile-phone.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1206,7 +1206,7 @@ abstract class InfrastructureCI extends Device
"db_table" => "infrastructureci",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/server.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/server.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1271,7 +1271,7 @@ class Server extends InfrastructureCI
"db_table" => "server",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/server.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/server.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1305,7 +1305,7 @@ class Printer extends InfrastructureCI
"db_table" => "printer",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/printer.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/printer.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -1368,7 +1368,7 @@ class lnkCIToContact extends cmdbAbstractObject
"db_table" => "lnkcitocontact",
"db_key_field" => "id",
"db_finalclass_field" => "",
"icon" => "../business/templates/contact.png",
"icon" => "../modules/itop-config-mgmt-1.0.0/images/contact.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -39,7 +39,7 @@ abstract class Contract extends cmdbAbstractObject
"db_table" => "contract",
"db_key_field" => "id",
"db_finalclass_field" => "",
"display_template" => "",
"icon" => "../modules/itop-service-mgmt-1.0.0/contract.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -77,7 +77,7 @@ class ProviderContract extends Contract
"db_table" => "providercontract",
"db_key_field" => "id",
"db_finalclass_field" => "",
"display_template" => "",
"icon" => "../modules/itop-service-mgmt-1.0.0/contract.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();
@@ -108,7 +108,7 @@ class CustomerContract extends Contract
"db_table" => "customercontract",
"db_key_field" => "id",
"db_finalclass_field" => "",
"display_template" => "",
"icon" => "../modules/itop-service-mgmt-1.0.0/contract.png",
);
MetaModel::Init_Params($aParams);
MetaModel::Init_InheritAttributes();