Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1596 Revision 1597
Zeile 247... Zeile 247...
247
        public function manufacturer(): BelongsTo
247
        public function manufacturer(): BelongsTo
248
        {
248
        {
249
            return $this->belongsTo( Manufacturer::class );
249
            return $this->belongsTo( Manufacturer::class );
250
        }
250
        }
Zeile 251... Zeile 251...
251
 
251
 
252
        public function shopPosition(): array
252
        public function shopPosition(): Collection
253
        {
253
        {
254
            $pos = array(); //$pos = "Sie sind hier: <a href=\"/\">Startseite</a> <span class='breadcrumb-trenner'> &raquo; </span>";
254
            $pos = collect(); //$pos = "Sie sind hier: <a href=\"/\">Startseite</a> <span class='breadcrumb-trenner'> &raquo; </span>";
255
            $path = $this->getPath_New( $_SESSION['navigation']['position'] );
255
            $path = $this->getPath_New( $_SESSION['navigation']['position'] );
256
            foreach ( $path as $dir )
256
            foreach ( $path as $dir )
257
            {
257
            {