protected function before_create(ORM $item) { $item->parent_id = $this->param('id'); return parent::before_create($item); }