Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

    /**
     * @package   php_share
     * @author    Lars Tiefland <tiefland@weban.de>
     * @copyright 2010 Webagentur Niewerth
     * @license   propietary http://www.weban.de
     * @version   $Rev: 639 $
     * @filesource
     * 
     */

    /**
     * 
     * @package   php_share
     * @author    Lars Tiefland <tiefland@weban.de>
     * @copyright 2010 Webagentur Niewerth
     */

    // SVN: $Id: lieferantenbase.class.php 639 2011-08-26 08:56:37Z tiefland $

    abstract class LieferantenBase
    {
        protected $databases;
        public $lieferant_id;

        public function __construct( $databases )
        {
            if ( is_array( $databases ) )
            {
                $this->databases = $databases;
            }
            else
            {
                $msg = "Parameter muß ein Array sein!" . PHP_EOL;
                $type = var_export( $databases, true );
                $user_info = $msg . $type . PHP_EOL;
                PEAR::throwError( $msg, 255, $user_info );
            }
        }

        public abstract function import( $file );
    }
?>