<?php

class ProductAction extends Action {

	var $Pages = array( /* Product*/
		'23' => array(
			'scheme' => 'default',
			'forward_scheme' => 'default',
		),
	);

	function __construct($name='ProductAction') {
		parent::__construct($name);
	}

	function sendEfq($array) {
		global $REGISTRY;
		$array = $array[0];
		$this->MailBroker->sendMail('efq',array($REGISTRY['Core']['efqemail']),$array);
	}
	
	function sendAskExpert($array) {
		global $REGISTRY;
		$array = $array[0];
		$this->MailBroker->sendMail('askexpert',array($REGISTRY['Core']['askexpert']),$array);
	}
	
	function sendRfq($array) {
		global $REGISTRY;
		$array = $array[0];
		$this->MailBroker->sendMail('rfq',array($REGISTRY['Core']['rfq']),$array);
	}
	
	function sendDealalert($array) {
		global $REGISTRY;
		$array = $array[0];
		$this->MailBroker->sendMail('dealalert',array($REGISTRY['Core']['dealalert']),$array);
	}
	
	function sendContactus($array) {
		global $REGISTRY;
		$array = $array[0];
		$this->MailBroker->sendMail('contactus',array($REGISTRY['Core']['adminemail']),$array);
	}
	
}
?>
