print $apiUser->blockUser($apikey, $secret); break; case 'getBaseUserByUsername': header("content-type: text/xml"); $auth = new Auth($apikey, $secret); if ($auth->isAuthenticate()) { $apiUser = new Api_User(); print $apiUser->getBaseUserByUsername($apikey, $secret); } break; case 'getCategories': header("content-type: text/xml"); $auth = new Auth($apikey, $secret); if ($auth->isAuthenticate()) { $article = new Article(); print $article->getCategories(); } break; case 'getSections': header("content-type: text/xml"); $auth = new Auth($apikey, $secret); if ($auth->isAuthenticate()) { $article = new Article(); print $article->getSections(); } break; case 'getCategoriesBySection': header("content-type: text/xml"); $auth = new Auth($apikey, $secret); if ($auth->isAuthenticate()) { $article = new Article();