. * */ namespace Vvveb\Controller\Fields; use function Vvveb\__; use Vvveb\Controller\Crud; class Field extends Crud { protected $type = 'field'; protected $controller = 'field'; protected $module = 'localization'; function index() { parent::index(); /* $countryModel = new CountrySQL(); $options = $this->global; unset($options['limit']); $country = $countryModel->getAll($options); */ $this->view->countries = $country['country'] ?? []; $this->view->status = [0 => __('Inactive'), 1 => __('Active')]; } }