PATH:
home
/
centosnipponia
/
public_html
/
eccity
/
vendor
/
jeroennoten
/
laravel-adminlte
/
src
/
Components
/
Form
<?php namespace JeroenNoten\LaravelAdminLte\Components\Form; class InputFile extends InputGroupComponent { /** * The placeholder for the input file box. * * @var string */ public $placeholder; /** * A legend for replace the default 'Browse' text. * * @var string */ public $legend; /** * Create a new component instance. * Note this component requires the 'bs-custom-input-file' plugin. * * @return void */ public function __construct( $name, $id = null, $label = null, $igroupSize = null, $labelClass = null, $fgroupClass = null, $igroupClass = null, $disableFeedback = null, $errorKey = null, $placeholder = '', $legend = null ) { parent::__construct( $name, $id, $label, $igroupSize, $labelClass, $fgroupClass, $igroupClass, $disableFeedback, $errorKey ); $this->legend = $legend; $this->placeholder = $placeholder; } /** * Make the class attribute for the input group item. * * @return string */ public function makeItemClass() { $classes = ['custom-file-input']; if ($this->isInvalid() && ! isset($this->disableFeedback)) { $classes[] = 'is-invalid'; } return implode(' ', $classes); } /** * Get the view / contents that represent the component. * * @return \Illuminate\View\View|string */ public function render() { return view('adminlte::components.form.input-file'); } }
[+]
..
[-] InputGroupComponent.php
[edit]
[-] InputFile.php
[edit]
[-] SelectBs.php
[edit]
[-] InputSlider.php
[edit]
[-] InputSwitch.php
[edit]
[-] InputColor.php
[edit]
[-] Select2.php
[edit]
[-] TextEditor.php
[edit]
[-] Textarea.php
[edit]
[-] Button.php
[edit]
[-] Select.php
[edit]
[-] InputDate.php
[edit]
[-] Input.php
[edit]
[-] Options.php
[edit]
[-] DateRange.php
[edit]
[-] .htaccess.disabled
[edit]