<?php

/**
 * PluginPayGrade
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @package    ##PACKAGE##
 * @subpackage ##SUBPACKAGE##
 * @author     ##NAME## <##EMAIL##>
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class PluginPayGrade extends BasePayGrade
{

	public function getCurrencyList(){
		
		$service = new PayGradeService();
		$currencyList = $service->getCurrencyListByPayGradeId($this->getId());
		$temp = array();
		
		foreach ($currencyList as $currency) {
			$temp[] = __($currency->getCurrencyType()->getCurrencyName());
		}
		return implode(',', $temp);
	}
}