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()
Accepts a model object before deleting from the database. You can change the data before saving.
$this->beforeDelete(
callable
$callback)
Parameter List
$model
Table model object:
Example: $this->beforeDelete(function ($model){ .... });