mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 13:24:12 +01:00
37 lines
801 B
PHP
37 lines
801 B
PHP
<?php
|
|
|
|
/**
|
|
* Record the creation of an object
|
|
*
|
|
* @package iTopORM
|
|
*/
|
|
class CMDBChangeOpCreate extends CMDBChangeOp
|
|
{
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static function Init()
|
|
{
|
|
$aParams = array
|
|
(
|
|
"category" => "core/cmdb, grant_by_profile",
|
|
"key_type" => "",
|
|
"name_attcode" => "change",
|
|
"state_attcode" => "",
|
|
"reconc_keys" => array(),
|
|
"db_table" => "priv_changeop_create",
|
|
"db_key_field" => "id",
|
|
"db_finalclass_field" => "",
|
|
);
|
|
MetaModel::Init_Params($aParams);
|
|
MetaModel::Init_InheritAttributes();
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function GetDescription()
|
|
{
|
|
return Dict::S('Change:ObjectCreated');
|
|
}
|
|
} |