PATH:
home
/
centosnipponia
/
public_html
/
apptt
/
vendor
/
jeroennoten
/
laravel-adminlte
/
src
/
View
/
Components
/
Form
<?php namespace JeroenNoten\LaravelAdminLte\View\Components\Form; class InputDate extends InputGroupComponent { use Traits\OldValueSupportTrait; /** * The default set of icons for the Tempus Dominus plugin configuration. * * @var array */ protected $icons = [ 'time' => 'fas fa-clock', 'date' => 'fas fa-calendar-alt', 'up' => 'fas fa-arrow-up', 'down' => 'fas fa-arrow-down', 'previous' => 'fas fa-chevron-left', 'next' => 'fas fa-chevron-right', 'today' => 'fas fa-calendar-check-o', 'clear' => 'fas fa-trash', 'close' => 'fas fa-times', ]; /** * The default set of buttons for the Tempus Dominus plugin configuration. * * @var array */ protected $buttons = [ 'showClose' => true, ]; /** * The Tempus Dominus plugin configuration parameters. Array with * key => value pairs, where the key should be an existing configuration * property of the plugin. * * @var array */ public $config; /** * Create a new component instance. * Note this component requires the 'Tempus Dominus' plugin. * * @return void */ public function __construct( $name, $id = null, $label = null, $igroupSize = null, $labelClass = null, $fgroupClass = null, $igroupClass = null, $disableFeedback = null, $errorKey = null, $config = [], $enableOldSupport = null ) { parent::__construct( $name, $id, $label, $igroupSize, $labelClass, $fgroupClass, $igroupClass, $disableFeedback, $errorKey ); $this->enableOldSupport = isset($enableOldSupport); $this->config = is_array($config) ? $config : []; // Setup the default plugin icons option. $this->config['icons'] = $this->config['icons'] ?? $this->icons; // Setup the default plugin buttons option. $this->config['buttons'] = $this->config['buttons'] ?? $this->buttons; } /** * Make the class attribute for the input group item. * * @return string */ public function makeItemClass() { $classes = ['form-control', 'datetimepicker']; 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-date'); } }
[+]
..
[-] Button.php
[edit]
[-] DateRange.php
[edit]
[-] Input.php
[edit]
[-] InputColor.php
[edit]
[-] InputDate.php
[edit]
[-] InputFile.php
[edit]
[-] InputGroupComponent.php
[edit]
[-] InputSlider.php
[edit]
[-] InputSwitch.php
[edit]
[-] Options.php
[edit]
[-] Select.php
[edit]
[-] Select2.php
[edit]
[-] SelectBs.php
[edit]
[-] TextEditor.php
[edit]
[-] Textarea.php
[edit]
[+]
Traits
[-] .htaccess.disabled
[edit]