[ 'url' => guard_url('instructor/instructor/new'), 'method' => 'GET', ], 'create' => [ 'url' => guard_url('instructor/instructor/create'), 'method' => 'GET', ], 'store' => [ 'url' => guard_url('instructor/instructor'), 'method' => 'POST', ], 'update' => [ 'url' => guard_url('instructor/instructor'), 'method' => 'PUT', ], 'list' => [ 'url' => guard_url('instructor/instructor'), 'method' => 'GET', ], 'delete' => [ 'url' => guard_url('instructor/instructor'), 'method' => 'DELETE', ], ]; self::$search = [ 'name' => [ "type" => 'text', "label" => trans('instructor::instructor.label.name'), "placeholder" => trans('instructor::instructor.placeholder.name'), "rules" => '', "group" => "main", "section" => "first", "col" => "4", "roles" => [], ] ]; self::$orderBy = [ 'created_at' => trans('instructor::instructor.label.created_at'), 'name' => trans('instructor::instructor.label.name'), 'status' => trans('instructor::instructor.label.status'), ]; self::$groups = [ 'main' => trans('instructor::instructor.groups.main'), 'details' => trans('instructor::instructor.groups.details'), 'images' => trans('instructor::instructor.groups.images'), 'settings' => trans('instructor::instructor.groups.settings'), ]; self::$list = [ [ 'key' => "ref", 'label' => trans('instructor::instructor.label.ref'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "id", 'label' => trans('instructor::instructor.label.id'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "name", 'label' => trans('instructor::instructor.label.name'), 'sortable' => 'true', 'roles' => [], ], [ 'key' => "status", 'label' => trans('instructor::instructor.label.status'), 'sortable' => 'true', 'roles' => [], ], ]; self::$fields = [ 'name' => [ "element" => 'text', "type" => 'text', "label" => trans('instructor::instructor.label.name'), "placeholder" => trans('instructor::instructor.placeholder.name'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'description' => [ "element" => 'html_editor', "type" => 'html_editor', "label" => trans('instructor::instructor.label.description'), "placeholder" => trans('instructor::instructor.placeholder.description'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'image' => [ "element" => 'file', "type" => 'image', "label" => trans('instructor::instructor.label.image'), "placeholder" => trans('instructor::instructor.placeholder.image'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'banner' => [ "element" => 'file', "type" => 'image', "label" => trans('instructor::instructor.label.banner'), "placeholder" => trans('instructor::instructor.placeholder.banner'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'facebook' => [ "element" => 'text', "type" => 'text', "label" => trans('instructor::instructor.label.facebook'), "placeholder" => trans('instructor::instructor.placeholder.facebook'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'tiktok' => [ "element" => 'text', "type" => 'text', "label" => trans('instructor::instructor.label.tiktok'), "placeholder" => trans('instructor::instructor.placeholder.tiktok'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'youtube' => [ "element" => 'text', "type" => 'text', "label" => trans('instructor::instructor.label.youtube'), "placeholder" => trans('instructor::instructor.placeholder.youtube'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'website' => [ "element" => 'text', "type" => 'text', "label" => trans('instructor::instructor.label.website'), "placeholder" => trans('instructor::instructor.placeholder.website'), "rules" => '', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], 'status' => [ "element" => 'select', "type" => 'select', "label" => trans('instructor::instructor.label.status'), "placeholder" => trans('instructor::instructor.placeholder.status'), "required" => 'true', "group" => "main", "section" => "first", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ]; return new static(); } }