From ffb18b01e41d86b7deb4b6e801164906dc554b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Thu, 11 Jul 2024 11:57:36 +0900 Subject: [PATCH] vhost init...6 --- app/Cells/BoardCell.php | 15 +++++++++++++++ app/Views/cells/board/reference.php | 5 +++++ app/Views/front/welcome_message.php | 8 +++----- 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 app/Views/cells/board/reference.php diff --git a/app/Cells/BoardCell.php b/app/Cells/BoardCell.php index a9ce4d8..90d540c 100644 --- a/app/Cells/BoardCell.php +++ b/app/Cells/BoardCell.php @@ -28,4 +28,19 @@ class BoardCell extends BaseCell ['cellDatas' => $cellDatas] ); } + public function reference(array $cellDatas = []) + { + //dd($cellDatas); + helper('Board'); + $cellDatas['currentCategory'] = $this->getCategoryModel()->getEntity([ + 'uid' => __FUNCTION__ + ]); + $cellDatas['entitys'] = $this->getBoardModel()->getEntitys([ + 'category' => $cellDatas['currentCategory']->getPrimaryKey() + ]); + return view( + 'Views/cells/board/' . $cellDatas['currentCategory']->getPrimaryKey(), + ['cellDatas' => $cellDatas] + ); + } } diff --git a/app/Views/cells/board/reference.php b/app/Views/cells/board/reference.php new file mode 100644 index 0000000..1f4d6b4 --- /dev/null +++ b/app/Views/cells/board/reference.php @@ -0,0 +1,5 @@ + + +
+ + \ No newline at end of file diff --git a/app/Views/front/welcome_message.php b/app/Views/front/welcome_message.php index adda856..c2c5130 100644 --- a/app/Views/front/welcome_message.php +++ b/app/Views/front/welcome_message.php @@ -317,14 +317,12 @@
  • -
    입금계과
    -
    :
    -
    :
    -
    예 금 주   :
    +
    자료실
    +
  • -
  • +
  • 공지사항