src/View/BaseForm.php
public function switchForm($formName = null, $id = null)
    {
        $this->formHelper->switchForm($formName, $id);
    }
public function switchForm($formName = null, $id = null)
    {
        $this->formHelper->switchForm($formName, $id);
    }
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