mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 21:34:12 +01:00
33 lines
894 B
PHP
33 lines
894 B
PHP
<?php
|
|
|
|
/**
|
|
* Class TriggerOnAttributeBlobDownload
|
|
*
|
|
* @since 3.1.0
|
|
*/
|
|
class TriggerOnAttributeBlobDownload extends TriggerOnObject
|
|
{
|
|
/**
|
|
* @inheritDoc
|
|
* @throws \CoreException
|
|
* @throws \Exception
|
|
*/
|
|
public static function Init()
|
|
{
|
|
$aParams = array
|
|
(
|
|
"category" => "grant_by_profile,core/cmdb,application",
|
|
"key_type" => "autoincrement",
|
|
"name_attcode" => "description",
|
|
"complementary_name_attcode" => ['finalclass', 'complement'],
|
|
"state_attcode" => "",
|
|
"reconc_keys" => ['description'],
|
|
"db_table" => "priv_trigger_onattblobdownload",
|
|
"db_key_field" => "id",
|
|
"db_finalclass_field" => "",
|
|
"display_template" => "",
|
|
);
|
|
MetaModel::Init_Params($aParams);
|
|
MetaModel::Init_InheritAttributes();
|
|
}
|
|
} |