public static function getPart($module, $action = null, $params = array()) { if (strlen(trim($action)) <= 0) { $action = Config::DEFAULT_ACTION; } $part = Dispatch::getPart($module); $part->params = $params; //var_dump($params); $template = $part->execute($action); //var_dump($template); include self::getBody("_" . $template); }