mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- add podcast:id tag - add podcast:funding tag - add podcast:social tag - add podcast:previousUrl tag - add missing platforms with icons - update platforms table to include social and funding platforms - rename platform_links table to podcasts_platforms - move podcast import methods from podcast controller - update import functionality to insert platforms from rss closes #73, #75, #76, #80
26 lines
523 B
PHP
26 lines
523 B
PHP
<?php
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Entities;
|
|
|
|
use CodeIgniter\Entity;
|
|
|
|
class Platform extends Entity
|
|
{
|
|
protected $casts = [
|
|
'slug' => 'string',
|
|
'type' => 'string',
|
|
'label' => 'string',
|
|
'home_url' => 'string',
|
|
'submit_url' => '?string',
|
|
'link_url' => '?string',
|
|
'link_content' => '?string',
|
|
'is_visible' => '?boolean',
|
|
];
|
|
}
|