Backend\Modules\Groups\Actions\Edit::parse PHP Method

parse() protected method

Parse the form
protected parse ( )
    protected function parse()
    {
        parent::parse();
        $this->tpl->assign('dataGridUsers', $this->dataGridUsers->getNumResults() != 0 ? $this->dataGridUsers->getContent() : false);
        $this->tpl->assign('item', $this->record);
        $this->tpl->assign('groupName', $this->record['name']);
        // only allow deletion of empty groups
        $this->tpl->assign('allowGroupsDelete', $this->dataGridUsers->getNumResults() == 0);
    }