public setForm ( |
||
$form | ||
return | static |
public function setForm(ItemDetailForm $form)
{
$this->form = $form;
return $this;
}
/** * @param callable $callable_set_container * @return static */ public function setItemsDetailForm(callable $callable_set_container) { if ($this->items_detail instanceof Column\ItemDetail) { $this->items_detail->setForm(new Utils\ItemDetailForm($callable_set_container)); return $this; } throw new DataGridException('Please set the ItemDetail first.'); }