Sindbad~EG File Manager
<?php
/*
This file is part of the genericobject plugin.
Genericobject plugin 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; either version 2 of the License, or
(at your option) any later version.
Genericobject plugin 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 Genericobject. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
@package genericobject
@author the genericobject plugin team
@copyright Copyright (c) 2010-2017 Genericobject plugin team
@license GPLv2+
http://www.gnu.org/licenses/gpl.txt
@link https://github.com/pluginsGLPI/genericobject
@link http://www.glpi-project.org/
@since 2009
---------------------------------------------------------------------- */
if (!defined('GLPI_ROOT')){
die("Sorry. You can't access directly to this file");
}
class %%CLASSNAME%% extends PluginGenericobjectObject_Item {
public $dohistory = true;
// From CommonDBRelation
static public $itemtype_1 = '%%SOURCEOBJECT%%';
static public $items_id_1 = '%%FOREIGNKEY%%';
static public $itemtype_2 = 'itemtype';
static public $items_id_2 = 'items_id';
static public $checkItem_2_Rights = self::HAVE_VIEW_RIGHT_ON_ITEM;
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists