VariableProductTitle
4 years ago
.gitkeep
4 years ago
WpaeInvalidPhpException.php
4 years ago
WpaeInvalidStringException.php
4 years ago
WpaeMethodNotFoundException.php
4 years ago
WpaePhpInterpreterErrorHandler.php
4 years ago
WpaeString.php
4 years ago
WpaeTooMuchRecursionException.php
4 years ago
WpaeXmlProcessor.php
4 years ago
XmlCsvExport.php
4 years ago
XmlExportACF.php
4 years ago
XmlExportComment.php
4 years ago
XmlExportCpt.php
4 years ago
XmlExportEngine.php
4 years ago
XmlExportFiltering.php
4 years ago
XmlExportMediaGallery.php
4 years ago
XmlExportTaxonomy.php
4 years ago
XmlExportUser.php
4 years ago
XmlExportWooCommerce.php
4 years ago
XmlExportWooCommerceCoupon.php
4 years ago
XmlExportWooCommerceOrder.php
4 years ago
XmlGoogleMerchants.php
4 years ago
XmlSpec.php
4 years ago
XmlSpec.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | require_once dirname(__FILE__) . '/XmlGoogleMerchants.php'; |
| 4 | |
| 5 | /** |
| 6 | * Class XmlSpec |
| 7 | */ |
| 8 | final class XmlSpec |
| 9 | { |
| 10 | /** |
| 11 | * @var bool |
| 12 | */ |
| 13 | public $xml = false; |
| 14 | |
| 15 | /** |
| 16 | * XmlSpec constructor. |
| 17 | * @param $spec |
| 18 | */ |
| 19 | public function __construct( $spec, $export_id = false ) |
| 20 | { |
| 21 | $this->xml = class_exists($spec) ? new $spec( $export_id ) : false; |
| 22 | } |
| 23 | |
| 24 | |
| 25 | } |