Subversion-Projekte lars-tiefland.shop_ns

Revision

Revision 34 | Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
30 lars 1
<?php
2
    /**
3
     * @package shop
4
     * @author Lars Tiefland <ltiefland@gmail.com>
5
     * @copyright 2012
6
     * @version $Id$
7
     */
8
 
9
    /**
10
     * @package shop
11
     * @author Lars Tiefland <ltiefland@gmail.com>
12
     * @copyright 2012
13
     * @version $Id$
14
     */
15
 
16
    namespace Weban;
17
    class AktionItems
18
    {
19
 
20
        public static function Liste( $aktion )
21
        {
22
            $sql = "SELECT
23
                    artikel_id
24
                FROM
25
                    artikel_to_Aktion
26
                WHERE
27
                    akion_id = $aktion
28
            ";
29
            $res = $GLOBALS["db"]->query( $sql );
30
            $ow = $res->fetcrow();
31
            $ret[] = new artikel( $row["artikel_id"] );
32
            return $ret;
33
        }
34
    }
35
?>