PATH:
home
/
centosnipponia
/
public_html
/
eccity
/
vendor
/
jeroennoten
/
laravel-adminlte
/
src
/
Components
/
Form
<?php namespace JeroenNoten\LaravelAdminLte\Components\Form; class TextEditor extends InputGroupComponent { /** * The Summernote 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 'Summernote' plugin. * TODO: the append/prepend addon slots are not supported. * * @return void */ public function __construct( $name, $id = null, $label = null, $igroupSize = null, $labelClass = null, $fgroupClass = null, $igroupClass = null, $disableFeedback = null, $errorKey = null, $config = [] ) { parent::__construct( $name, $id, $label, $igroupSize, $labelClass, $fgroupClass, $igroupClass, $disableFeedback, $errorKey ); $this->config = is_array($config) ? $config : []; // Setup the default plugin width option. $this->config['width'] = $this->config['width'] ?? 'inherit'; } /** * Make the class attribute for the "input-group" element. Note we overwrite * the method of the parent class. * * @return string */ public function makeInputGroupClass() { $classes = ['input-group']; if (isset($this->size) && in_array($this->size, ['sm', 'lg'])) { $classes[] = "input-group-{$this->size}"; } if ($this->isInvalid() && ! isset($this->disableFeedback)) { $classes[] = 'adminlte-invalid-itegroup'; } if (isset($this->igroupClass)) { $classes[] = $this->igroupClass; } return implode(' ', $classes); } /** * Get the view / contents that represent the component. * * @return \Illuminate\View\View|string */ public function render() { return view('adminlte::components.form.text-editor'); } }
[+]
..
[-] 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]