Skip to content

Commit d4fca1e

Browse files
committed
t
1 parent aaf6efe commit d4fca1e

15 files changed

+30
-30
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Why wizboard for laravel
1+
# Waht is pondol's Laravel Board
22

33
> 한국형 라라벨용 게시판 입니다. <br />
44
현재 진행중인 프로젝트에 사용하려고 간단하게 만들고 테스트 중입니다. <br />
55
6-
> This package was testec Laravel 8.x
6+
> This package was tested on Laravel 8.x
77
88

99
[Homepage](https://www.onstory.fun/doc/programming/laravel/package.laravelboard)

src/Https/Controllers/Bbs/Admin/AdminController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
use Auth;
66
use Pondol\Bbs\BbsService;
7-
use Pondol\Bbs\AdminBase;
7+
use Pondol\Bbs\Traits\AdminTrait;
88
class AdminController extends Controller
99
{
10-
use AdminBase;
10+
use AdminTrait;
1111

1212
public function __construct(
1313
BbsService $bbsSvc

src/Https/Controllers/Bbs/Admin/BbsController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313
use Pondol\Bbs\Models\BbsArticles as Articles;
1414
use Pondol\Bbs\Models\BbsConfig;
15-
use Pondol\Bbs\BbsBase;
15+
use Pondol\Bbs\Traits\BbsTrait;
1616

1717
class BbsController extends Controller
1818
{
1919

20-
use BbsBase;
20+
use BbsTrait;
2121

2222
public function __construct(
2323
BbsService $bbsSvc

src/Https/Controllers/Bbs/Admin/CategoryController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
use Auth;
66
use Pondol\Bbs\BbsService;
7-
use Pondol\Bbs\CategoryBase;
7+
use Pondol\Bbs\Traits\CategoryTrait;
88
class CategoryController extends Controller
99
{
1010

11-
use CategoryBase;
11+
use CategoryTrait;
1212
/**
1313
* Create a new controller instance.
1414
*

src/Https/Controllers/Bbs/Admin/CommentController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
use Auth;
66
use App\Http\Controllers\Controller;
77
use Pondol\Bbs\Models\BbsArticles as Articles;
8-
use Pondol\Bbs\CommentBase;
8+
use Pondol\Bbs\Traits\CommentTrait;
99
use Pondol\Bbs\BbsService;
1010
class CommentController extends Controller
1111
{
1212

13-
use CommentBase;
13+
use CommentTrait;
1414
/**
1515
* Create a new controller instance.
1616
*

src/Https/Controllers/Bbs/Admin/ItemCommentController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
use Pondol\Bbs\BbsService;
77
use App\Http\Controllers\Controller;
88
// use Pondol\Bbs\Models\BbsItemComment;
9-
use Pondol\Bbs\ItemCommentBase;
9+
use Pondol\Bbs\Traits\ItemCommentTrait;
1010

1111
class ItemCommentController extends Controller
1212
{
1313

14-
use ItemCommentBase;
14+
use ItemCommentTrait;
1515
// protected $itemsPerPage = 10;
1616

1717
/**

src/Https/Controllers/Bbs/ApiController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
use Pondol\Bbs\Models\BbsComments as Comments;
1717
use Pondol\Bbs\Models\BbsFiles as Files;
1818
use App\Notifications\CountChanged;
19-
use Pondol\Bbs\BbsBase;
19+
use Pondol\Bbs\Traits\BbsTrait;
2020
use Pondol\Bbs\BbsService;
2121

2222
class ApiController extends Controller {
2323

2424

25-
use BbsBase;
25+
use BbsTrait;
2626
protected $bbsSvc;
2727
protected $deaultUrlParams;
2828
// protected $cfg;

src/Https/Controllers/Bbs/BbsController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
use Pondol\Bbs\Models\BbsFiles as Files;
2020

2121
use Pondol\Image\GetHttpImage;
22-
use Pondol\Bbs\BbsBase;
22+
use Pondol\Bbs\Traits\BbsTrait;
2323
use Pondol\Bbs\BbsService;
2424

2525
class BbsController extends Controller {
2626

27-
use BbsBase;
27+
use BbsTrait;
2828
protected $bbsSvc;
2929
protected $cfg;
3030
protected $laravel_ver;

src/Https/Controllers/Bbs/CommentController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313
use Pondol\Bbs\Models\BbsArticles as Articles;
1414
use Pondol\Bbs\Models\BbsComments as Comments;
15-
use Pondol\Bbs\CommentBase;
15+
use Pondol\Bbs\Traits\CommentTrait;
1616
use Pondol\Bbs\BbsService;
1717

1818
class CommentController extends Controller {
1919

20-
use CommentBase;
20+
use CommentTrait;
2121

2222
protected $cfg;
2323
public function __construct(BbsService $bbsSvc) {

src/Https/Controllers/Bbs/ItemCommentController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
use App\Http\Controllers\Controller;
1212
use Pondol\Bbs\Models\BbsItemComment;
13-
use Pondol\Bbs\ItemCommentBase;
13+
use Pondol\Bbs\Traits\ItemCommentTrait;
1414

1515

1616
// use Pondol\Bbs\BbsService;
1717

1818
class ItemCommentController extends Controller {
19-
use ItemCommentBase;
19+
use ItemCommentTrait;
2020
protected $cfg;
2121
public function __construct() {
2222

src/AdminBase.php renamed to src/Traits/AdminTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Pondol\Bbs;
2+
namespace Pondol\Bbs\Traits;
33

44
use Illuminate\Http\Request;
55
use Illuminate\Http\Response;
@@ -12,7 +12,7 @@
1212
use Pondol\Bbs\Models\Role;
1313
use Pondol\Bbs\Models\BbsConfig;
1414

15-
trait AdminBase {
15+
trait AdminTrait {
1616
protected $cfg;
1717
protected $itemsPerPage = 10;
1818

src/BbsBase.php renamed to src/Traits/BbsTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Pondol\Bbs;
2+
namespace Pondol\Bbs\Traits;
33

44
use Illuminate\Http\Request;
55
use Illuminate\Support\Facades\Log;
@@ -21,7 +21,7 @@
2121
use Pondol\Bbs\BbsService;
2222

2323

24-
trait BbsBase {
24+
trait BbsTrait {
2525

2626
// protected $bbsSvc;
2727
// protected $cfg;

src/CategoryBase.php renamed to src/Traits/CategoryTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Pondol\Bbs;
2+
namespace Pondol\Bbs\Traits;
33

44
use Illuminate\Http\Request;
55

@@ -14,7 +14,7 @@
1414

1515

1616
// class CategoryBaseController extends \App\Http\Controllers\Controller {
17-
trait CategoryBase {
17+
trait CategoryTrait {
1818
protected $bbsSvc;
1919
protected $cfg;
2020
// public function __construct() {}

src/CommentBase.php renamed to src/Traits/CommentTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Pondol\Bbs;
2+
namespace Pondol\Bbs\Traits;
33

44
use Illuminate\Http\Request;
55
use Illuminate\Support\Facades\Log;
@@ -11,7 +11,7 @@
1111
use Pondol\Bbs\Models\BbsArticles as Articles;
1212
use Pondol\Bbs\Models\BbsComments as Comments;
1313

14-
trait CommentBase {
14+
trait CommentTrait {
1515

1616
// protected $bbsSvc;
1717
protected $cfg;

src/ItemCommentBase.php renamed to src/Traits/ItemCommentTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Pondol\Bbs;
2+
namespace Pondol\Bbs\Traits;
33

44
use Illuminate\Http\Request;
55
use Illuminate\Support\Facades\Log;
@@ -10,7 +10,7 @@
1010
use Pondol\Bbs\Models\BbsItemComment;
1111
use Pondol\Bbs\Models\BbsConfig;
1212

13-
trait ItemCommentBase {
13+
trait ItemCommentTrait {
1414

1515
public function index($request, $item) {
1616
$comment = BbsItemComment::where('bbs_item_comments.item', $item);

0 commit comments

Comments
 (0)