PHP Classes
elePHPant
Icontem

PHP OID 2 Weid: Convert identifiers between OID and WEID formats

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-11-13 (27 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 20 This week: 1All time: 9,762 This week: 338Up
Version License PHP version Categories
oid2weid 1.0MIT/X Consortium ...5PHP 5, Conversion
Description Author

This class can convert identifiers between OID and WEID formats.

It can take a string for an object identifier as an OID and converts it to the WEID format. The conversion can take optional parameters to changed the namespace and the base values.

The class can also do the opposite, i.e. take an identifier in WEID format and convert back to the OID format.

  Performance   Level  
Name: Till Wehowski <contact>
Classes: 21 packages by
Country: Germany Germany
Age: 41
All time rank: 119976 in Germany Germany
Week rank: 27 Up3 in Germany Germany Up
Innovation award
Innovation award
Nominee: 6x

 

Details

oid2weid

OID 2 WEID Konverter

Converts an OID to WEID or a WEID to an OID.

What is WEID?

https://look-up.webfan3.de/?goto=oid%3A1.3.6.1.4.1.37553.8

Usage

$oid = '1.3.6.1.4.1.37553.8.9';
$weid = \WeidOidConverter::oid2weid($oid); // weid:9-1
$oid2 = \WeidOidConverter::weid2oid($weid);
print_r(($oid ===$oid2) ? 'OK' : 'ERROR'); 

Authors

https://www.viathinksoft.com

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file WeidOidConverter.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:20
This week:1
All time:9,762
This week:338Up