<?php

/**
 * @defgroup pages_article Article Pages
 */

/**
 * @file pages/article/index.php
 *
 * Copyright (c) 2014-2017 Simon Fraser University
 * Copyright (c) 2003-2017 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @ingroup pages_article
 * @brief Handle requests for article functions.
 *
 */

switch ($op) {
	case 'viewFile': // Old URLs; see https://github.com/pkp/pkp-lib/issues/1541
	case 'downloadSuppFile': // Old URLs; see https://github.com/pkp/pkp-lib/issues/1541
	case 'view':
	case 'cite':
	case 'download':
		define('HANDLER_CLASS', 'ArticleHandler');
		import('pages.article.ArticleHandler');
		break;
}

?>
