Login   Register  
PHP Classes
elePHPant
Icontem

File: export.example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 4 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>';
}



?>