Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
3 lars 1
<?php
2
 
3
    /**
4
     * @package   php_share
5
     * @author    Lars Tiefland <tiefland@weban.de>
6
     * @copyright 2010 Webagentur Niewerth
7
     * @license   propietary http://www.weban.de
8
     * @version   $Rev: 639 $
9
     * @filesource
10
     *
11
     */
12
 
13
    /**
14
     *
15
     * @package   php_share
16
     * @author    Lars Tiefland <tiefland@weban.de>
17
     * @copyright 2010 Webagentur Niewerth
18
     */
19
 
20
    // SVN: $Id: lieferantenbase.class.php 639 2011-08-26 08:56:37Z tiefland $
21
 
22
    abstract class LieferantenBase
23
    {
24
        protected $databases;
25
        public $lieferant_id;
26
 
27
        public function __construct( $databases )
28
        {
29
            if ( is_array( $databases ) )
30
            {
31
                $this->databases = $databases;
32
            }
33
            else
34
            {
35
                $msg = "Parameter muß ein Array sein!" . PHP_EOL;
36
                $type = var_export( $databases, true );
37
                $user_info = $msg . $type . PHP_EOL;
38
                PEAR::throwError( $msg, 255, $user_info );
39
            }
40
        }
41
 
42
        public abstract function import( $file );
43
    }
44
?>