PHP Classes

File: export.example.php

Recommend this page to a friend!
  Classes of Mohammed Cherkaoui   Simple Hook and Plug-ins System (XML)   export.example.php   Download  
File: export.example.php
Role: Example script
Content type: text/plain
Description: Example for exporting
Class: Simple Hook and Plug-ins System (XML)
Extend class functionality with code define in XML
Author: By
Last change:
Date: 14 years ago
Size: 321 bytes
 

Contents

Class file image Download
<?php
ob_start
();// Important

require('hook.php');

// Export a product
$Product = new products;
$Product->SetProductId('12'); // the product id
$Export = $Product->Export();
if(!
$Export)
{
echo
'Arab : ' . $Product->ArLastError() . '<br>';
echo
'English : ' . $Product->EnLastError() . '<br>';
}



?>