Home\Controller\MemberController::edit PHP Method

edit() public method

编辑页面
public edit ( )
    public function edit()
    {
        $item_id = I("item_id");
        $login_user = $this->checkLogin();
        if (!$this->checkItemCreator($login_user['uid'], $item_id)) {
            $this->message(L('no_permissions'));
            return;
        }
        $this->assign("item_id", $item_id);
        $this->display();
    }