public function setAction($action, $postfix = null)
    {
        if (!$action) {
            return;
        }
        if (!isset($action['parent'])) {
            $action['parent'] = $this->switch;
        }
        $this->switch->controller->setInternalAction($this->getId($postfix), $action);
    }