Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1245 Revision 1246
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
Zeile -... Zeile 3...
-
 
3
    namespace App\Http\Controllers;
3
namespace App\Http\Controllers;
4
 
Zeile 4... Zeile 5...
4
 
5
    use App\Models\BackendUser;
5
use Illuminate\Http\Request;
-
 
6
 
-
 
7
class BackendUserController extends Controller
-
 
8
{
-
 
9
    /**
-
 
10
     * Display a listing of the resource.
-
 
11
     *
-
 
12
     * @return \Illuminate\Http\Response
6
    use Illuminate\Http\Request;
-
 
7
 
-
 
8
    class BackendUserController extends Controller
-
 
9
    {
-
 
10
        /**
-
 
11
         * Display a listing of the resource.
-
 
12
         *
-
 
13
         * @return \Illuminate\Http\Response
-
 
14
         */
-
 
15
        public function index()
-
 
16
        {
-
 
17
            //
-
 
18
            $bu = BackendUser::get();
-
 
19
            return view( 'admin/backend_users', [ "users" => $bu, ] );
-
 
20
        }
-
 
21
 
-
 
22
        /**
-
 
23
         * Show the form for creating a new resource.
-
 
24
         *
-
 
25
         * @return \Illuminate\Http\Response
-
 
26
         */
-
 
27
        public function create()
-
 
28
        {
-
 
29
            //
-
 
30
        }
-
 
31
 
-
 
32
        /**
-
 
33
         * Store a newly created resource in storage.
-
 
34
         *
-
 
35
         * @param \Illuminate\Http\Request $request
-
 
36
         * @return \Illuminate\Http\Response
-
 
37
         */
-
 
38
        public function store( Request $request )
-
 
39
        {
-
 
40
            //
-
 
41
        }
-
 
42
 
-
 
43
        /**
-
 
44
         * Display the specified resource.
-
 
45
         *
-
 
46
         * @param int $id
-
 
47
         * @return \Illuminate\Http\Response
-
 
48
         */
-
 
49
        public function show( $id )
-
 
50
        {
-
 
51
            //
-
 
52
        }
-
 
53
 
-
 
54
        /**
-
 
55
         * Show the form for editing the specified resource.
-
 
56
         *
-
 
57
         * @param int $id
-
 
58
         * @return \Illuminate\Http\Response
-
 
59
         */
-
 
60
        public function edit( $id )
-
 
61
        {
-
 
62
            //
-
 
63
        }
-
 
64
 
-
 
65
        /**
-
 
66
         * Update the specified resource in storage.
-
 
67
         *
-
 
68
         * @param \Illuminate\Http\Request $request
-
 
69
         * @param int $id
-
 
70
         * @return \Illuminate\Http\Response
-
 
71
         */
-
 
72
        public function update( Request $request, $id )
-
 
73
        {
-
 
74
            //
-
 
75
        }
-
 
76
 
-
 
77
        /**
-
 
78
         * Remove the specified resource from storage.
13
     */
79
         *
-
 
80
         * @param int $id
-
 
81
         * @return \Illuminate\Http\Response
-
 
82
         */
-
 
83
        public function destroy( $id )
14
    public function index()
84
        {
15
    {
-
 
16
        //
-
 
17
    }
-
 
18
 
-
 
19
    /**
-
 
20
     * Show the form for creating a new resource.
-
 
21
     *
-
 
22
     * @return \Illuminate\Http\Response
-
 
23
     */
-
 
24
    public function create()
-
 
25
    {
-
 
26
        //
-
 
27
    }
-
 
28
 
-
 
29
    /**
-
 
30
     * Store a newly created resource in storage.
-
 
31
     *
-
 
32
     * @param  \Illuminate\Http\Request  $request
-
 
33
     * @return \Illuminate\Http\Response
-
 
34
     */
-
 
35
    public function store(Request $request)
-
 
36
    {
-
 
37
        //
-
 
38
    }
-
 
39
 
-
 
40
    /**
-
 
41
     * Display the specified resource.
-
 
42
     *
-
 
43
     * @param  int  $id
-
 
44
     * @return \Illuminate\Http\Response
-
 
45
     */
-
 
46
    public function show($id)
-
 
47
    {
-
 
48
        //
-
 
49
    }
-
 
50
 
-
 
51
    /**
-
 
52
     * Show the form for editing the specified resource.
-
 
53
     *
-
 
54
     * @param  int  $id
-
 
55
     * @return \Illuminate\Http\Response
-
 
56
     */
-
 
57
    public function edit($id)
-
 
58
    {
-
 
59
        //
-
 
60
    }
-
 
61
 
-
 
62
    /**
-
 
63
     * Update the specified resource in storage.
-
 
64
     *
-
 
65
     * @param  \Illuminate\Http\Request  $request
-
 
66
     * @param  int  $id
-
 
67
     * @return \Illuminate\Http\Response
-
 
68
     */
-
 
69
    public function update(Request $request, $id)
-
 
70
    {
-
 
71
        //
-
 
72
    }
-
 
73
 
-
 
74
    /**
-
 
75
     * Remove the specified resource from storage.
-
 
76
     *
-
 
77
     * @param  int  $id
-
 
78
     * @return \Illuminate\Http\Response
-
 
79
     */
-
 
80
    public function destroy($id)
-
 
81
    {
-