dev-master
9999999-dev https://github.com/bibliomundi/Bibliomundi-Onix-ParserParser for Onix >=2.0
MIT
The Requires
- php >=5.4.0
by Carlos Magno
parser onix
Wallogit.com
2017 © Pedro Peláez
Parser for Onix >=2.0
PHP Library to convert XML Onix into PHP Objects., (*1)
Simple require the autoload.php file that is inside the src folder. Ex: include"src/autoload.php"., (*2)
If you user composer simple require magrao/bibliomundi-onix-parse., (*3)
$parser = new BBMParser\OnixParser($xmlOnix);, (*4)
//If you prefer load from file, (*5)
$parser = new BBMParser\OnixParser('/var/www/xml_onix.xml', true);, (*6)
//Loop for all products, (*7)
foreach($parser->getOnix()->getProducts() as $product);, (*8)
//Loop for all only available for sell products, (*9)
foreach($parser->getOnix()->getProductsAvailable() as $productAvailable);, (*10)
Coming soon..., (*11)
Parser for Onix >=2.0
MIT
parser onix