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 updating to the database. You can change the data before saving.
$this->beforeUpdate(
callable
$callback)
Parameter List
$model
Table model object:
Example: $this->beforeUpdateUpdate(function ($model){ .... });