Subversion-Projekte lars-tiefland.shop_ns

Revision

Revision 37 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php
    /**
     * @package shop
     * @author Lars Tiefland <ltiefland@gmail.com>
     * @copyright 2012
     * @version $Id$
     */

    /**
     * @package shop
     * @author Lars Tiefland <ltiefland@gmail.com>
     * @copyright 2012
     * @version $Id$
     */

    namespace Weban;
    class AktionItems
    {

        public static function Liste( $aktion )
        {
            $sql = "SELECT
                    artikel_id
                FROM
                    artikel_to_Aktion
                WHERE
                    akion_id = $aktion
            ";
            $res = $GLOBALS["db"]->query( $sql );
            $ow = $res->fetcrow();
            $ret[] = new artikel( $row["artikel_id"] );
            return $ret;
        }
    }
?>