1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 20:06:09 +08:00
xiaochong0302 f04c23e90f 1.添加课程和章节事件监听
2.优化SEO类
2024-06-28 08:26:28 +08:00

51 lines
974 B
PHP

<?php
/**
* @copyright Copyright (c) 2021 深圳市酷瓜软件有限公司
* @license https://opensource.org/licenses/GPL-2.0
* @link https://www.koogua.com
*/
namespace App\Listeners;
use App\Models\Chapter as ChapterModel;
use Phalcon\Events\Event as PhEvent;
class Chapter extends Listener
{
public function afterCreate(PhEvent $event, $source, ChapterModel $chapter)
{
}
public function afterUpdate(PhEvent $event, $source, ChapterModel $chapter)
{
}
public function afterDelete(PhEvent $event, $source, ChapterModel $chapter)
{
}
public function afterRestore(PhEvent $event, $source, ChapterModel $chapter)
{
}
public function afterView(PhEvent $event, $source, ChapterModel $chapter)
{
}
public function afterLike(PhEvent $event, $source, ChapterModel $chapter): void
{
}
public function afterUndoLike(PhEvent $event, $source, ChapterModel $chapter): void
{
}
}