<?php
/** 
 * @package     VikRestaurants
 * @subpackage  core
 * @author      E4J s.r.l.
 * @copyright   Copyright (C) 2023 E4J s.r.l. All Rights Reserved.
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @link        https://vikwp.com
 */

// No direct access
defined('ABSPATH') or die('No script kiddies please!');

/**
 * VikRestaurants Take-Away Order view contents handler.
 * This class provides helpful tools to enhance the <head> of the order pages.
 *
 * @since 1.11
 */
class VREViewContentsOrder extends VREViewContents
{
	/**
	 * @inheritDoc
	 */
	public function __construct($page, $type = null)
	{
		parent::__construct($page, $type);

		// prevent crawlers from indexing this page and following the nested links
		$this->params->set('robots', 'noindex, nofollow');
	}
}
