mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-15 12:37:46 +02:00
feat(components): add custom view renderer with ComponentRenderer adapted from bonfire2
- update Component class structure and remove component helper function and ComponentLoader - update residual activitypub naming to fediverse
This commit is contained in:
parent
5083cd2fda
commit
a95de8bab0
106 changed files with 1482 additions and 2139 deletions
20
modules/Fediverse/Models/BaseUuidModel.php
Normal file
20
modules/Fediverse/Models/BaseUuidModel.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\Fediverse\Models;
|
||||
|
||||
use CodeIgniter\Database\ConnectionInterface;
|
||||
use CodeIgniter\Validation\ValidationInterface;
|
||||
use Michalsn\Uuid\UuidModel;
|
||||
|
||||
class BaseUuidModel extends UuidModel
|
||||
{
|
||||
public function __construct(ConnectionInterface &$db = null, ValidationInterface $validation = null)
|
||||
{
|
||||
parent::__construct($db, $validation);
|
||||
|
||||
$this->table = config('Fediverse')
|
||||
->tablesPrefix . $this->table;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue