I've got a blank new module. How would I go about adding some functionality to get my module to push product information to a third party every hour?
I'm totally new to writing modules for X-Cart. How do I find what functions I can extend/override?
PHP Code:
<?php
namespace XLite\Module\BackyardFruit\Indexing;
abstract class Main extends \XLite\Module\AModule
{
/**
* Author name
*
* @return string
*/
public static function getAuthorName()
{
return 'backyardfruit';
}
/**
* Module name
*
* @return string
*/
public static function getModuleName()
{
return 'Indexing Module';
}
/**
* Get module major version
*
* @return string
*/
public static function getMajorVersion()
{
return '0.1';
}
/**
* Module version
*
* @return string
*/
public static function getMinorVersion()
{
return 1;
}
/**
* Module description
*
* @return string
*/
public static function getDescription()
{
return 'This module will send all products to third party every hour.';
}
}