Subversion-Projekte lars-tiefland.shop_ns

Revision

Revision 2 | Revision 20 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2 Revision 18
Zeile 17... Zeile 17...
17
    {
17
    {
18
        private $id;
18
        private $id;
19
        public $name;
19
        public $name;
20
        private $description;
20
        private $description;
21
        public $link;
21
        public $link;
22
	public $artikelstamm;
22
        public $artikelstamm;
Zeile 23... Zeile 23...
23
 
23
 
24
        public function __construct( $id = null )
24
        public function __construct( $id = null )
25
        {
25
        {
26
            $sql = "SELECT
26
            $sql = "SELECT
Zeile 39... Zeile 39...
39
            $row = $res->fetchRow();
39
            $row = $res->fetchRow();
40
            $this->id = $row["id"];
40
            $this->id = $row["id"];
41
            $this->name = $row["name"];
41
            $this->name = $row["name"];
42
            $this->description = $row["description"];
42
            $this->description = $row["description"];
43
            $this->link = "/index.php?navigation=" . $this->id;
43
            $this->link = "/index.php?navigation=" . $this->id;
-
 
44
            $this->bilder = directory_bild::Liste( $this->id );
44
	    $this->artikelstamm=$row["artikelstamm"];
45
            $this->artikelstamm = $row["artikelstamm"];
45
        }
46
        }
Zeile 46... Zeile 47...
46
 
47
 
47
        public function __set( $name, $value )
48
        public function __set( $name, $value )
48
        {
49
        {