whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
app
/
View
/
Components
/
Forms
/
Upload File:
files >> //home/kckglobal/www/portal/app/View/Components/Forms/Radio.php
<?php namespace App\View\Components\Forms; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Radio extends Component { public $fieldLabel; public $fieldRequired; public $fieldValue; public $fieldName; public $fieldId; public $checked; /** * Create a new component instance. * * @return void */ public function __construct($fieldLabel, $fieldName, $fieldId, $fieldRequired = false, $fieldValue = null, $checked = false) { $this->fieldLabel = $fieldLabel; $this->fieldRequired = $fieldRequired; $this->checked = $checked; $this->fieldValue = $fieldValue; $this->fieldName = $fieldName; $this->fieldId = $fieldId; } /** * Get the view / contents that represent the component. * * @return View|string */ public function render() { return view('components.forms.radio'); } }
Copyright ©2021 || Defacer Indonesia