src/Easy/EasyForm.php
public function switchForm($formName = null, $id = null, $params = null, $target = null)
    {
        $paramFields = array();
        if ($params) {
            parse_str(urldecode($params), $paramFields);
        }
        if ($id != null)
            $paramFields["Id"] = $id;
        $this->_showForm($formName, $target, $paramFields);
    }
public function switchForm($formName = null, $id = null, $params = null, $target = null)
    {
        $paramFields = array();
        if ($params) {
            parse_str(urldecode($params), $paramFields);
        }
        if ($id != null)
            $paramFields["Id"] = $id;
        $this->_showForm($formName, $target, $paramFields);
    }
Switch to other form

@param string $formName to-be-swtiched form name. if empty, then switch to default form
@param string $id id value of the target form
@return void
@access remote