. * --------------------------------------------------------------------- */ if (!defined('GLPI_ROOT')) { die("Sorry. You can't access this file directly"); } /** * Relation between item and devices **/ class Item_DevicePowerSupply extends Item_Devices { static public $itemtype_2 = 'DevicePowerSupply'; static public $items_id_2 = 'devicepowersupplies_id'; static protected $notable = false; static function getSpecificities($specif = '') { return ['serial' => parent::getSpecificities('serial'), 'otherserial' => parent::getSpecificities('otherserial'), 'locations_id' => parent::getSpecificities('locations_id'), 'states_id' => parent::getSpecificities('states_id') ]; } }