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 after being added to the database.
$this->afterInsert(
callable
$callback)
Parameter List
$model
Table model object:
Example: $this->afterInsert(function ($model){ .... });