HandleBlocks
trait HandleBlocks (View source)
Properties
static protected | $hasRelatedTableCache |
Methods
Model|null
hydrateHandleBlocks(Model $object, array $fields, int $fakeBlockId = 0, int|null $parentId = null, Collection|null $blocksFromFields = null, Collection|null $mainCollection = null)
No description
getChildrenBlocks($blocks, $blockRepository, $parentId, $fakeBlockId, $mainCollection)
No description
void
array
array
bool
hasRelatedTable()
No description
Details
Model|null
hydrateHandleBlocks(Model $object, array $fields, int $fakeBlockId = 0, int|null $parentId = null, Collection|null $blocksFromFields = null, Collection|null $mainCollection = null)
No description
protected
getChildrenBlocks($blocks, $blockRepository, $parentId, $fakeBlockId, $mainCollection)
No description
void
afterSaveHandleBlocks(Model $object, array $fields)
No description
array
getFormFieldsHandleBlocks(Model $object, array $fields)
No description
protected array
getBlockBrowsers(Block $block)
No description
protected bool
hasRelatedTable()
No description