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: 439 $
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: creditcard.interface.php 439 2011-03-10 07:59:29Z tiefland $
21
 
22
    abstract class LieferantenBase
23
    {
24
        protected $bestellungen;
25
 
26
        public function __construct( $bestellungen )
27
        {
28
            if ( is_array( $bestellungen ) )
29
            {
30
                $this->bestellungen = $bestellungen;
31
            }
32
            else
33
            {
34
                $msg = "Parameter muß ein Array sein!" . PHP_EOL;
35
                $type = var_export( $bestellungen, true );
36
                $user_info = $msg . $type . PHP_EOL;
37
                PEAR::throwError( $msg, 255, $user_info );
38
            }
39
        }
40
 
41
        public abstract function export( $k_nr );
42
    }
43
?>