<?php
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */

/**
* Class ilObjPaymentSettings
* 
* @author Stefan Meyer <meyer@leifos.com>
* @version $Id: class.ilObjPaymentSettings.php 35586 2012-07-17 10:28:34Z nkrzywon $
*
* @extends ilObject
* @package ilias-core
*/

require_once "./Services/Object/classes/class.ilObject.php";

class ilObjPaymentSettings extends ilObject
{
	public  $payment_vendors_obj = null;

	/**
	* Constructor
	* @access	public
	* @param	integer	$a_id reference_id or object_id
	* @param	boolean $a_call_by_reference treat the id as reference_id (true) or object_id (false)
	*/
	public function __construct($a_id = 0,$a_call_by_reference = true)
	{
		#define("ILIAS_MODULE","payment");
		#define("KEEP_IMAGE_PATH",1);

		$this->type = "pays";
		$this->ilObject($a_id,$a_call_by_reference);

		$this->lng->loadLanguageModule('crs');
		$this->lng->loadLanguageModule('payment');
	}

	/**
	* update object data
	*
	* @access	public
	* @return	boolean
	*/
	public function update()
	{
		if (!parent::update())
		{			
			return false;
		}

		// put here object specific stuff
		
		return true;
	}

} // END class.ilObjPaymentSettings
?>