CommonDevice::getItem_DeviceType PHP Method

getItem_DeviceType() static public method

Get the assiociated item_device associated with this device This method can be override, for instance by the plugin
static public getItem_DeviceType ( ) : array
return array of the types of CommonDevice available
    static function getItem_DeviceType()
    {
        $devicetype = get_called_class();
        if ($plug = isPluginItemType($devicetype)) {
            return 'Plugin' . $plug['plugin'] . 'Item_' . $plug['class'];
        }
        return "Item_{$devicetype}";
    }