Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Language/app/Enums/TranslationModels.php
Назад
<?php namespace Modules\Language\app\Enums; enum TranslationModels: string { /** * whenever update new case also update getAll() method * to return all values in array */ case Blog = "Modules\Blog\app\Models\BlogTranslation"; case BlogCategory = "Modules\Blog\app\Models\BlogCategoryTranslation"; case Testimonial = "Modules\Testimonial\app\Models\TestimonialTranslation"; case Faq = "Modules\Faq\app\Models\FaqTranslation"; case Menu = "Modules\CustomMenu\app\Models\MenuTranslation"; case MenuItem = "Modules\CustomMenu\app\Models\MenuItemTranslation"; case Slider = "Modules\Slider\app\Models\SliderTranslation"; case Service = "Modules\Service\app\Models\ServiceTranslation"; case Counter = "Modules\Counter\app\Models\CounterTranslation"; case AboutUs = "Modules\AboutUs\app\Models\AboutUsTranslation"; case TermsAndCondition = "Modules\TermsAndCondition\app\Models\TermsAndConditionTranslation"; case PrivacyPolicy = "Modules\PrivacyPolicy\app\Models\PrivacyPolicyTranslation"; case CustomPage = "Modules\CustomPage\app\Models\CustomPageTranslation"; case Aminity = "Modules\Property\app\Models\AminityTranslation"; case NearestLocation = "Modules\Property\app\Models\NearestLocationTranslation"; case PropertyType = "Modules\Property\app\Models\PropertyTypeTranslation"; case PropertyPurpose = "Modules\Property\app\Models\PropertyPurposeTranslation"; case Property = "Modules\Property\app\Models\PropertyTranslation"; case ContactUsPage = "Modules\ContactUs\app\Models\ContactUsPageTranslation"; case ContactInformation = "Modules\ContactUs\app\Models\ContactInformationTranslation"; case Career = "Modules\Career\app\Models\CareerTranslation"; public static function getAll(): array { return [ self::Blog->value, self::BlogCategory->value, self::Testimonial->value, self::Faq->value, self::Menu->value, self::MenuItem->value, self::Slider->value, self::Service->value, self::Counter->value, self::AboutUs->value, self::TermsAndCondition->value, self::PrivacyPolicy->value, self::CustomPage->value, self::Aminity->value, self::NearestLocation->value, self::PropertyType->value, self::PropertyPurpose->value, self::Property->value, self::ContactUsPage->value, self::ContactInformation->value, self::Career->value, ]; } public static function igonreColumns(): array { return [ 'id', 'lang_code', 'created_at', 'updated_at', 'deleted_at', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка