18 lines
381 B
PHP
18 lines
381 B
PHP
<?php
|
|
namespace App\Enumerations;
|
|
|
|
use App\Models\Content;
|
|
|
|
class ActiveContentStatuses extends BaseEnumeration
|
|
{
|
|
protected static function init()
|
|
{
|
|
foreach (ContentStatuses::getWithTranslations() as $key => $value) {
|
|
if ($key == Content::STATUS_DELETED) {
|
|
continue;
|
|
}
|
|
|
|
self::push($key, $value);
|
|
}
|
|
}
|
|
} |