<?php

/**
 * PluginPayGrade class file
 */

/**
 * PluginPayGrade
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @package    orangehrm
 * @subpackage model\admin\plugin
 */
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);
	}
}