Lara-Crud
Package for quick deployment admin panel on Laravel
Home
Documentation
textLimit()
tableRowsRenderCollback()
tableJoin()
stateSave()
showEntries()
showChildRows()
setWhere()
setValueDefault()
setTypeField()
setTitle()
setOrderFixed()
setModelCollback()
setDefaultSelected()
setColumnIndividualSearch()
setClassForm()
setBeforeModelFormCollback()
searchDisable()
searchConfig()
saveRedirect()
renderCustom()
formShow()
fieldShow()
fieldOrderByDisable()
fieldOrderBy()
fieldName()
fieldAttribute()
enableEditor()
enableDragAndDrop()
disablePaginate()
disableAjaxLoadData()
columnColorWhere()
buttonSave()
buttonGroupDelete()
buttonEdit()
buttonDelete()
buttonCopy()
buttonAdd()
beforeUpdate()
beforeShowFormCollback()
beforeInsert()
beforeDelete()
alertDelete()
ajaxBeforeLoadSelect()
afterUpdate()
afterInsert()
afterDelete()
addViewsCustomTop()
addFieldTitle()
addFieldPlaceholder()
addFieldClass()
addColumn()
addAction()
_afterUpdate()
Validation()
Tooltip()
The method allows predetermining default values for fields.
$this->setValueDefault(
array
$array)
Example: $this->setValueDefault(['lastname' => 'Jim', 'firstname' => 'Carrey']);