<?php
/**
 * This file contains the base class for all addons to do their work.
 * Addons must extend this class as it contains basic functionality they will require.
 *
 * @package Interspire_Addons, Fromnameandemail Addon
 */

/**
 * Addons_add_addon_installer
 * This is the base class for all addons to work off.
 * It handles:
 * - installing & uninstalling addons
 * - enabling & disabling addons
 * - running addons
 * - finding/loading addons including their language files and description.xml files
 *
 * The description.xml file is used by the calling code to work out
 * - the name of the addon
 * - a short description
 * - the current version number
 * - the author
 * - license details
 *
 * @uses Interspire_Addons_Exception, Fromnameandemail Addon
 */
 
error_reporting(E_ALL);
ini_set('display_errors', 1);
class Fromnameandemail_API extends API{
    private $db;
    public function __construct (){
        $this->db = IEM::getDatabase();
    }
	public function fromnameandemail ($data){
	}
	public function delete ($data){
	}
	function isValidURL($url){
	}
	public function fromnameandemail_addurl_setting ($data, $user){
	}
	public function getTotalLinksCount(){
	}
	public function getLinksList (){
	}
	protected function GetPerPage(){
	}
}