ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPaymentObjectGUI Class Reference
+ Inheritance diagram for ilPaymentObjectGUI:
+ Collaboration diagram for ilPaymentObjectGUI:

Public Member Functions

 __construct ($user_obj)
 executeCommand ()
 resetObjectFilter ()
 deleteObject ()
 performDelete ()
 editPayMethod ()
 performAddPrice ()
 performDeletePrice ()
 deletePrice ()
 ORg_updatePrice ()
 updateDetails ()
 showSelectedObject ()
 addObject ()
 updatePrice ()
- Public Member Functions inherited from ilShopBaseGUI
 __construct ()

Data Fields

 $ctrl
 $lng
 $user_obj
 $pobject = null

Private Member Functions

 __getStatus ()
 __showObjectsTable ($a_result_set)
 __initPaymentObject ($a_pobject_id=0)

Additional Inherited Members

- Protected Member Functions inherited from ilShopBaseGUI
 prepareOutput ()
 addPager ($result, $a_session_key)
 buildSubTabs ()
 setSection ($a_section)
 getSection ()
 setSubSection ($a_sub_section)
 getSubSection ()
 showButton ($a_cmd, $a_text, $a_target= '')
 initTableGUI ()
 setTableGUIBasicData ($tbl, $result_set, $a_default_order_column= '')
- Protected Attributes inherited from ilShopBaseGUI
 $ctrl = null
 $lng = null
 $tpl = null
 $oGeneralSettings = null
 $section = 0
 $sub_section = 0

Detailed Description

Definition at line 20 of file class.ilPaymentObjectGUI.php.

Constructor & Destructor Documentation

ilPaymentObjectGUI::__construct (   $user_obj)

Definition at line 31 of file class.ilPaymentObjectGUI.php.

References $user_obj, ilShopBaseGUI\__construct(), and ilDatePresentation\setUseRelativeDates().

{
$this->user_obj = $user_obj;
$this->lng->loadLanguageModule('crs');
}

+ Here is the call graph for this function:

Member Function Documentation

ilPaymentObjectGUI::__getStatus ( )
private

Definition at line 1413 of file class.ilPaymentObjectGUI.php.

{
$option = array();
$option[$this->pobject->STATUS_NOT_BUYABLE] = $this->lng->txt('paya_not_buyable');
$option[$this->pobject->STATUS_BUYABLE] = $this->lng->txt('paya_buyable');
$option[$this->pobject->STATUS_EXPIRES] = $this->lng->txt('paya_expires');
return $option;
}
ilPaymentObjectGUI::__initPaymentObject (   $a_pobject_id = 0)
private

Definition at line 1464 of file class.ilPaymentObjectGUI.php.

Referenced by editPayMethod(), performDelete(), performDeletePrice(), and updateDetails().

{
include_once './Services/Payment/classes/class.ilPaymentObject.php';
$this->pobject = new ilPaymentObject($this->user_obj, $a_pobject_id);
return true;
}

+ Here is the caller graph for this function:

ilPaymentObjectGUI::__showObjectsTable (   $a_result_set)
private

Definition at line 1423 of file class.ilPaymentObjectGUI.php.

{
$tbl = new ilShopTableGUI($this);
$tbl->setTitle($this->lng->txt('objects'));
$tbl->setId('tbl_objects');
$tbl->setRowTemplate("tpl.shop_objects_row.html", "Services/Payment");
$tbl->addColumn($this->lng->txt('title'), 'title', '10%');
$tbl->addColumn($this->lng->txt('status'), 'status', '10%');
$tbl->addColumn($this->lng->txt('paya_pay_method'), 'pay_method', '10%');
$tbl->addColumn($this->lng->txt('vat_rate'), 'vat_rate', '15%');
$tbl->addColumn($this->lng->txt('paya_vendor'), 'vendor', '10%');
$tbl->addColumn($this->lng->txt('paya_count_purchaser'), 'purchasers', '10%');
$tbl->addColumn('', 'options', '10%');
$tbl->setData($a_result_set);
$this->tpl->setVariable('TABLE', $tbl->getHTML());
return true;
}
ilPaymentObjectGUI::addObject ( )

Definition at line 1328 of file class.ilPaymentObjectGUI.php.

References $_POST, ilPaymentObject\_checkExcSubtype(), ilPaymentObject\_isPurchasable(), ilUtil\sendInfo(), and showSelectedObject().

{
if(!$_GET['sell_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
return $this->showObjectSelector();
}
if(!(int)$_POST['vendor'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_vendor_selected'));
return $this->showSelectedObject();
}
include_once 'Services/Payment/classes/class.ilPaymentObject.php';
$p_obj = new ilPaymentObject($this->user_obj);
if($check_subtypes = ilPaymentObject::_checkExcSubtype($_GET['sell_id']))
{
if(!in_array('download', $check_subtypes))
$p_obj->setSubtype('download');
else
if(!in_array('upload', $check_subtypes))
$p_obj->setSubtype('upload');
}
else
{
// means that current object already exits in payment_objects _table ...
ilUtil::sendInfo($this->lng->txt('paya_object_not_purchasable'));
return $this->showObjectSelector();
}
$p_obj->setRefId((int)$_GET['sell_id']);
$p_obj->setStatus($p_obj->STATUS_NOT_BUYABLE);
$p_obj->setPayMethod($p_obj->PAY_METHOD_NOT_SPECIFIED);
$p_obj->setVendorId((int)$_POST['vendor']);
$p_obj->setTopicId((int)$_POST['topic_id']);
$p_obj->setVatId((int)$_POST['vat_id']);
$new_id = $p_obj->add();
if($new_id)
{
ilUtil::sendInfo($this->lng->txt('paya_added_new_object'));
$_GET['pobject_id'] = $new_id;
$this->editPrices();
return true;
}
else
{
ilUtil::sendInfo($this->lng->txt('paya_err_adding_object'));
return $this->showObjects();
}
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::deleteObject ( )

Definition at line 507 of file class.ilPaymentObjectGUI.php.

References ilPaymentBookings\_getCountBookingsByObject(), ilUtil\sendFailure(), and ilUtil\sendInfo().

{
include_once './Services/Payment/classes/class.ilPaymentBookings.php';
if(!$_GET['pobject_id'])
{
ilUtil::sendFailure($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
{
ilUtil::sendInfo($this->lng->txt('paya_bookings_available'));
$this->editDetails();
return false;
}
else
{
$this->editDetails(true);
return true;
}
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::deletePrice ( )

Definition at line 1020 of file class.ilPaymentObjectGUI.php.

References $_POST, $_SESSION, and ilUtil\sendInfo().

{
if(!$_GET['pobject_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
if(!count($_POST['price_ids']))
{
ilUtil::sendInfo($this->lng->txt('paya_no_prices_selected'));
$this->editPrices();
return true;
}
$_SESSION['price_ids'] = $_POST['price_ids'];
$this->editPrices(true);
return true;
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::editPayMethod ( )

Definition at line 562 of file class.ilPaymentObjectGUI.php.

References __initPaymentObject(), ilUtil\sendFailure(), and ilUtil\sendInfo().

{
$this->__initPaymentObject((int)$_GET['pobject_id']);
switch($this->pobject->getPayMethod())
{
case $this->pobject->PAY_METHOD_NOT_SPECIFIED:
ilUtil::sendFailure($this->lng->txt('paya_select_pay_method_first'));
$this->editDetails();
return true;
default:
ilUtil::sendInfo($this->lng->txt('paya_no_settings_necessary'));
$this->editDetails();
return true;
}
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::executeCommand ( )

Definition at line 55 of file class.ilPaymentObjectGUI.php.

References $cmd, $ret, and ilShopBaseGUI\prepareOutput().

{
$cmd = $this->ctrl->getCmd();
switch($this->ctrl->getNextClass($this))
{
case 'ilpageobjectgui':
$this->prepareOutput();
$ret = $this->forwardToPageObject();
if($ret != '')
{
$this->tpl->setContent($ret);
}
break;
default:
if(!$cmd)
{
$cmd = 'showObjects';
}
$this->prepareOutput();
$this->$cmd();
break;
}
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::ORg_updatePrice ( )

Definition at line 1043 of file class.ilPaymentObjectGUI.php.

References $_POST, and ilUtil\sendInfo().

{
include_once './Services/Payment/classes/class.ilPaymentPrices.php';
if(!$_GET['pobject_id'] && !$_POST['pobject_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
if(isset($_GET['pobject_id']))
{
$pobject_id = (int)$_GET['pobject_id'];
}
else
{
$pobject_id = (int)$_POST['pobject_id'];
}
$po = new ilPaymentPrices($pobject_id);
$this->ctrl->setParameter($this, 'pobject_id', $pobject_id);
$price_id = (int)$_POST['price_id'];
// validate
$old_price = $po->getPrice($price_id);
$po->setDuration((int)$_POST['duration']);
$po->setUnlimitedDuration($_POST['unlimited_duration']);
$po->setPrice($_POST['price']);
$po->setPriceType($_POST['price_type']);
$po->setCurrency($old_price['currency']);
$po->setExtension((int)$_POST['extension']);
if(!$po->validate())
{
$error = true;
}
if($error)
{
ilUtil::sendInfo($this->lng->txt('paya_insert_only_numbers'));
$this->editPrices();
return false;
}
foreach($_POST['prices'] as $price_id => $price)
{
$old_price = $po->getPrice($price_id);
if(isset($_POST['duration_ids']))
{
// $search = in_array((string)$price_id, $_POST['duration_ids']);
if($_POST['duration_ids'] == NULL)
{
$po->setUnlimitedDuration(0);
$po->setDuration($price['duration']);
}
else if($search = in_array((string)$price_id, $_POST['duration_ids']))
{
$po->setUnlimitedDuration(1);
$po->setDuration(0);
}
else
{
$po->setUnlimitedDuration(0);
}
}
if(isset($_POST['extension_ids']))
{
// $search = in_array((string)$price_id, $_POST['extension_ids']);
if($search = in_array((string)$price_id, $_POST['extension_ids']))
{
$po->setExtension(1);
}
else
{
$po->setExtension(0);
}
}
$po->setDuration($price['duration']);
$po->setPrice($price['price']);
$po->setCurrency($old_price['currency']);
$po->update($price_id);
}
ilUtil::sendInfo($this->lng->txt('paya_updated_prices'));
$this->editPrices();
return true;
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::performAddPrice ( )

Definition at line 896 of file class.ilPaymentObjectGUI.php.

References $_POST, ilPaymentCurrency\_getAvailableCurrencies(), ilUtil\sendInfo(), ilUtil\stripSlashes(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.

{
if(!(int)$_GET['pobject_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
include_once './Services/Payment/classes/class.ilPaymentPrices.php';
include_once './Services/Payment/classes/class.ilPaymentCurrency.php';
$po = new ilPaymentPrices((int)$_GET['pobject_id']);
switch($_POST['price_type'])
{
case 'unlimited_duration':
$po->setDuration(0);
$po->setDurationFrom(NULL);
$po->setDurationUntil(NULL);
$po->setUnlimitedDuration(1);
break;
case 'duration_date':
$po->setDuration(NULL);
$po->setDurationFrom(ilUtil::stripSlashes(
$_POST['duration_date_from']['date']['y'] . '-' .
$_POST['duration_date_from']['date']['m'] . '-' .
$_POST['duration_date_from']['date']['d']));
$po->setDurationUntil(ilUtil::stripSlashes(
$_POST['duration_date_until']['date']['y'] . '-' .
$_POST['duration_date_until']['date']['m'] . '-' .
$_POST['duration_date_until']['date']['d']));
break;
default:
case 'duration_month':
$po->setDuration($_POST['duration_month']);
$po->setDurationFrom(NULL);
$po->setDurationUntil(NULL);
break;
}
$po->setDescription($_POST['description'] ? ilUtil::stripSlashes($_POST['description']) : NULL);
$po->setPrice(ilUtil::stripSlashes($_POST['price']));
$po->setCurrency($currency[1]['currency_id']);
if($_POST['extension_price'])
{
$po->setExtension(1);
}
else
{
$po->setExtension(0);
}
try
{
$po->validate();
$po->add();
ilUtil::sendInfo($this->lng->txt('paya_added_new_price'));
return $this->editPrices();
}
catch(ilShopException $e)
{
ilUtil::sendInfo($e->getMessage());
return $this->addPrice();
}
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::performDelete ( )

Definition at line 534 of file class.ilPaymentObjectGUI.php.

References __initPaymentObject(), and ilUtil\sendInfo().

{
include_once './Services/Payment/classes/class.ilPaymentPrices.php';
if(!$_GET['pobject_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
$this->__initPaymentObject((int)$_GET['pobject_id']);
// delete object data
$this->pobject->delete();
// delete payment prices
$price_obj = new ilPaymentPrices((int)$_GET['pobject_id']);
$price_obj->deleteAllPrices();
unset($price_obj);
ilUtil::sendInfo($this->lng->txt('paya_deleted_object'));
$this->showObjects();
return true;
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::performDeletePrice ( )

Definition at line 977 of file class.ilPaymentObjectGUI.php.

References $_SESSION, __initPaymentObject(), and ilUtil\sendInfo().

{
if(!$_GET['pobject_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
if(!count($_SESSION['price_ids']))
{
ilUtil::sendInfo($this->lng->txt('paya_no_prices_selected'));
$this->editPrices();
return true;
}
include_once './Services/Payment/classes/class.ilPaymentPrices.php';
$prices = new ilPaymentPrices((int)$_GET['pobject_id']);
foreach($_SESSION['price_ids'] as $price_id)
{
$prices->delete($price_id);
}
// check if it was last price otherwise set status to 'not_buyable'
if(!count($prices->getPrices()))
{
$this->__initPaymentObject((int)$_GET['pobject_id']);
$this->pobject->setStatus($this->pobject->STATUS_NOT_BUYABLE);
$this->pobject->update();
ilUtil::sendInfo($this->lng->txt('paya_deleted_last_price'));
}
unset($prices);
unset($_SESSION['price_ids']);
return $this->editPrices();
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::resetObjectFilter ( )

Definition at line 138 of file class.ilPaymentObjectGUI.php.

References $_POST, $_SESSION, and ilUtil\sendInfo().

{
unset($_SESSION['pay_objects']);
unset($_POST['title_type']);
unset($_POST['title_value']);
unset($_POST['vendor']);
unset($_POST['pay_method']);
unset($_POST['updateView']);
unset($_POST['show_filter']);
ilUtil::sendInfo($this->lng->txt('paya_filter_reseted'));
return $this->showObjects();
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::showSelectedObject ( )

Definition at line 1258 of file class.ilPaymentObjectGUI.php.

References ilUtil\getImagePath(), ilObjectFactory\getInstanceByRefId(), ilNonEditableValueGUI\getTitle(), ilUtil\sendInfo(), ilSelectInputGUI\setOptions(), and ilNonEditableValueGUI\setValue().

Referenced by addObject().

{
global $ilToolbar;
if(!(int)$_GET['sell_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
return $this->showObjectSelector();
}
$ilToolbar->addButton($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, 'showObjectSelector'));
// save ref_id of selected object
$this->ctrl->setParameter($this, 'sell_id', (int)$_GET['sell_id']);
include_once 'Services/Form/classes/class.ilPropertyFormGUI.php';
$oForm = new ilPropertyFormGUI();
$oForm->setFormAction($this->ctrl->getFormAction($this, 'updateDetails'));
$oForm->setTitle($this->lng->txt('details'));
$oForm->setTitleIcon(ilUtil::getImagePath('icon_pays.png', false));
$tmp_obj = ilObjectFactory::getInstanceByRefId($_GET['sell_id'], false);
if(is_object($tmp_obj))
{
$tmp_object['title'] = $tmp_obj->getTitle();
$tmp_object['description'] = $tmp_obj->getDescription();
$tmp_object['owner'] = $tmp_obj->getOwnerName();
$tmp_object['path'] = $this->__getHTMLPath((int)$_GET['sell_id']);
}
else
{
$tmp_object['title'] = $this->lng->txt('object_not_found');
$tmp_object['description'] = '';
$tmp_object['owner'] = '';
$tmp_object['path'] = '';
}
// title
$oTitleGUI = new ilNonEditableValueGUI($this->lng->txt('title'));
$oTitleGUI->setValue($tmp_object['title']);
$oForm->addItem($oTitleGUI);
// description
$oDescriptionGUI = new ilNonEditableValueGUI($this->lng->txt('description'));
$oDescriptionGUI->setValue($tmp_object['description']);
$oForm->addItem($oDescriptionGUI);
// owner
$oOwnerGUI = new ilNonEditableValueGUI($this->lng->txt('owner'));
$oOwnerGUI->setValue($tmp_object['owner']);
$oForm->addItem($oOwnerGUI);
// repository path
$oPathGUI = new ilNonEditableValueGUI($this->lng->txt('path'));
$oPathGUI->setValue($tmp_object['path']);
$oForm->addItem($oPathGUI);
// vendors
$oVendorsGUI = new ilSelectInputGUI($this->lng->txt('paya_vendor'), 'vendor');
$oVendorsGUI->setOptions($this->__getVendors());
$oForm->addItem($oVendorsGUI);
// buttons
$oForm->addCommandButton('addObject', $this->lng->txt('next'));
$oForm->addCommandButton('showObjects', $this->lng->txt('cancel'));
$this->tpl->setVariable('ADM_CONTENT', $oForm->getHTML());
return true;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilPaymentObjectGUI::updateDetails ( )

Definition at line 1139 of file class.ilPaymentObjectGUI.php.

References $_POST, __initPaymentObject(), ilPaymentShoppingCart\_deleteShoppingCartEntries(), and ilUtil\sendInfo().

{
if(!$_GET['pobject_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
$this->__initPaymentObject((int)$_GET['pobject_id']);
$this->ctrl->setParameter($this, 'pobject_id', (int)$_GET['pobject_id']);
// read old settings
$old_status = $this->pobject->getStatus();
// check status changed from not_buyable
if($old_status == $this->pobject->STATUS_NOT_BUYABLE and
(int)$_POST['status'] != $old_status
)
{
// check pay_method edited
switch((int)$_POST['pay_method'])
{
case $this->pobject->PAY_METHOD_NOT_SPECIFIED:
ilUtil::sendInfo($this->lng->txt('paya_select_pay_method_first'));
$this->editDetails();
return false;
default:
;
}
// check minimum one price
include_once './Services/Payment/classes/class.ilPaymentPrices.php';
$prices_obj = new ilPaymentPrices((int)$_GET['pobject_id']);
if(!count($prices_obj->getPrices()))
{
ilUtil::sendInfo($this->lng->txt('paya_edit_prices_first'));
$this->editDetails();
return false;
}
}
if((int)$_POST['status'] == 0)
{
// Status: not buyable -> delete depending shoppingcart entries
include_once './Services/Payment/classes/class.ilPaymentShoppingCart.php';
ilPaymentShoppingCart::_deleteShoppingCartEntries($this->pobject->getPobjectId());
}
$this->pobject->setStatus((int)$_POST['status']);
$this->pobject->setVendorId((int)$_POST['vendor']);
$this->pobject->setPayMethod((int)$_POST['pay_method']);
$this->pobject->setTopicId((int)$_POST['topic_id']);
$this->pobject->setVatId((int)$_POST['vat_id']);
$this->pobject->setSubtype((string)$_POST['exc_subtype']);
$this->pobject->setSpecial((int)$_POST['is_special']);
if((int)$_POST['thumbnail_delete'])
{
$oFile = new ilFileDataShop($this->pobject->getPobjectId());
}
else if($_FILES['thumbnail']['tmp_name'] != '')
{
$this->lng->loadLanguageModule('form');
include_once 'Services/Form/classes/class.ilPropertyFormGUI.php';
$oThumbnail = new ilImageFileInputGUI($this->lng->txt('pay_thumbnail'), 'thumbnail');
if($oThumbnail->checkInput())
{
$oFile = new ilFileDataShop($this->pobject->getPobjectId());
if(($oFile->storeUploadedFile($_FILES['thumbnail'])) !== false)
{
}
}
else
{
ilUtil::sendInfo($oThumbnail->getAlert());
return $this->editDetails();
}
}
$this->pobject->update();
ilUtil::sendInfo($this->lng->txt('paya_details_updated'));
$this->showObjects();
return true;
}

+ Here is the call graph for this function:

ilPaymentObjectGUI::updatePrice ( )

Definition at line 1574 of file class.ilPaymentObjectGUI.php.

References $_POST, ilUtil\sendInfo(), ilUtil\stripSlashes(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.

{
include_once './Services/Payment/classes/class.ilPaymentPrices.php';
if(!$_GET['pobject_id'] && !$_POST['pobject_id'])
{
ilUtil::sendInfo($this->lng->txt('paya_no_object_selected'));
$this->showObjects();
return true;
}
if(isset($_GET['pobject_id']))
{
$pobject_id = (int)$_GET['pobject_id'];
}
else
{
$pobject_id = (int)$_POST['pobject_id'];
}
if(!(int)$_GET['price_id'] && !$_POST['price_id'])
{
ilUtil::sendInfo($this->lng->txt('payment_no_price_selected'));
return $this->editPrices();
}
if(isset($_GET['price_id']))
{
$price_id = (int)$_GET['price_id'];
}
else
{
$price_id = (int)$_POST['price_id'];
}
$po = new ilPaymentPrices((int)$pobject_id);
switch($_POST['price_type'])
{
$po->setDuration(NULL);
$po->setDurationFrom(NULL);
$po->setDurationUntil(NULL);
$po->setUnlimitedDuration(1);
break;
$po->setDuration(NULL);
$po->setDurationFrom(ilUtil::stripSlashes(
$_POST['duration_date_from']['date']['y'] . '-' .
$_POST['duration_date_from']['date']['m'] . '-' .
$_POST['duration_date_from']['date']['d']));
$po->setDurationUntil(ilUtil::stripSlashes(
$_POST['duration_date_until']['date']['y'] . '-' .
$_POST['duration_date_until']['date']['m'] . '-' .
$_POST['duration_date_until']['date']['d']));
break;
default:
$po->setDuration($_POST['duration_month']);
$po->setDurationFrom(NULL);
$po->setDurationUntil(NULL);
break;
}
$po->setDescription($_POST['description'] ? ilUtil::stripSlashes($_POST['description']) : NULL);
$po->setPrice(ilUtil::stripSlashes($_POST['price']));
$po->setCurrency(ilUtil::stripSlashes($_POST['currency']));
if($_POST['extension'])
{
$po->setExtension(1);
}
else
{
$po->setExtension(0);
}
try
{
$po->validate();
$po->update($price_id);
ilUtil::sendInfo($this->lng->txt('paya_updated_price'));
return $this->editPrices();
}
catch(ilShopException $e)
{
ilUtil::sendInfo($e->getMessage());
return $this->editPrices();
}
}

+ Here is the call graph for this function:

Field Documentation

ilPaymentObjectGUI::$ctrl

Definition at line 23 of file class.ilPaymentObjectGUI.php.

ilPaymentObjectGUI::$lng

Definition at line 25 of file class.ilPaymentObjectGUI.php.

ilPaymentObjectGUI::$pobject = null

Definition at line 29 of file class.ilPaymentObjectGUI.php.

ilPaymentObjectGUI::$user_obj

Definition at line 27 of file class.ilPaymentObjectGUI.php.

Referenced by __construct().


The documentation for this class was generated from the following file: