classname
stringlengths 2
79
⌀ | method_name
stringlengths 3
5.05k
| description
stringlengths 6
3.95k
| method_code
stringlengths 7
8.51k
⌀ | explanation
stringclasses 1
value |
---|---|---|---|---|
TPkgShopListfilterItemShopAttributeNumeric | GetActiveEndValue | * you need to set this to the field name in the article table (note: the field is not derived from
* the table name since this may differ).
*
* @var string | $sEndValue = false;
if (is_array($this->aActiveFilterData) && array_key_exists(self::URL_PARAMETER_FILTER_END_VALUE, $this->aActiveFilterData)) {
$sEndValue = $this->aActiveFilterData[self::URL_PARAMETER_FILTER_END_VALUE]; | - |
TPkgShopListfilterItemShopAttributeNumeric | GetMinValue | * return active start value.
*
* @return float|false | return $this->fieldMinValue; | - |
TPkgShopListfilterItemShopAttributeNumeric | GetMaxValue | * return active end value.
*
* @return float|false | return $this->fieldMaxValue; | - |
used | GetItemName | * base class used to select from a specific variant type.
/* | /** @var array<string, string[]> $aLookupList */
static $aLookupList = array();
if (!array_key_exists($aRow['id'], $aLookupList)) {
$aLookupList[$aRow['id']] = array();
$oVariantType = $this->GetVariantType($aRow);
if ($oVariantType) {
$oArticle = TdbShopArticle::GetNewInstance();
$oArticle->LoadFromRow($aRow);
/** @var string[] $aResult */
$aResult = array();
$oVariantValues = $oArticle->GetVariantValuesAvailableForType($oVariantType);
if ($oVariantValues) {
while ($oVariantValue = $oVariantValues->Next()) {
if (!empty($oVariantValue->fieldNameGrouped)) {
$aResult[] = $oVariantValue->fieldNameGrouped; | - |
used | GetQueryRestrictionForActiveFilter | * you need to set this to the table name of the connected table.
*
* @var string | /** @var string|null $sQuery */
$sQuery = $this->GetFromInternalCache('sQueryRestrictionForActiveFilter');
if (is_null($sQuery)) {
$aValues = $this->aActiveFilterData;
if (!is_array($aValues)) {
if (empty($aValues)) {
$aValues = array(); | - |
used | GetOptions | * you need to set this to the field name in the article table (note: the field is not derived from
* the table name since this may differ).
*
* @var string | $aOptions = $this->GetFromInternalCache('aOptions');
if (is_null($aOptions)) {
$aOptions = array();
$sIdSelect = $this->GetResultSetBaseQuery();
$databaseConnection = $this->getDatabaseConnection();
$quotedTargetTableNameField = $databaseConnection->quoteIdentifier($this->GetTargetTableNameField());
if (PKG_SHOP_LISTFILTER_ENABLE_COUNT_PER_FILTER_ITEM) {
$sItemQuery = "SELECT `shop_variant_type_value`.{$quotedTargetTableNameField | - |
used | getVariantTypeIds | * @var string | $aId = array();
$query = "SELECT `id` FROM shop_variant_type WHERE `identifier` = '{$this->sVariantTypeIdentifier | - |
used | GetAddFilterURL | * base class used to select from a specific variant type.
/* | $oActiveListfilter = TdbPkgShopListfilter::GetActiveInstance();
$aURLData = $oActiveListfilter->GetCurrentFilterAsArray();
if (false == $this->fieldAllowMultiSelection || '' == $sValue) {
if ($this->IsSelected($sValue)) {
unset($aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA][$this->id]); | - |
TCMSTableEditor_PkgShopListfilterItem | ProcessFieldsBeforeDisplay | * @property TdbPkgShopListfilterItem $oTable | parent::ProcessFieldsBeforeDisplay($oFields);
$this->RemoveDisabledFields($oFields); | - |
MTPkgShopListfilterCore | __construct | * @var FilterApiInterface | parent::__construct();
$this->filterApi = \ChameleonSystem\CoreBundle\ServiceLocator::get('chameleon_system_shop_list_filter.filter_api'); | - |
MTPkgShopListfilterCore | Init | * if this function returns true, then the result of the execute function will be cached.
*
* @return bool | parent::Init();
//we need to call this here because function could be load static filter (configured in module config) data to post data
TdbPkgShopListfilter::GetActiveInstance(); | - |
MTPkgShopListfilterCore | Execute | * return an assoc array of parameters that describe the state of the module.
*
* @return array | parent::Execute();
$this->data['oFilter'] = TdbPkgShopListfilter::GetActiveInstance();
return $this->data; | - |
MTPkgShopListfilterCore | _AllowCache | * if the content that is to be cached comes from the database (as ist most often the case)
* then this function should return an array of assoc arrays that point to the
* tables and records that are associated with the content. one table entry has
* two fields:
* - table - the name of the table
* - id - the record in question. if this is empty, then any record change in that
* table will result in a cache clear.
*
* @return array | return $this->filterApi->allowCache(); | - |
MTPkgShopListfilterCore | _GetCacheParameters | * @return string[] | $parameters = parent::_GetCacheParameters();
$listState = $this->filterApi->getCacheParameter();
$listState['is_filter_module'] = true;
return array_merge_recursive($parameters, $listState); | - |
ResultModification | apply | * @param ResultInterface $result
* @param array $configuration
* @param int $filterDepth
*
* @return ResultInterface | if (false === $this->listAllowsUseOfPostSearchFilter($configuration, $filterDepth)) {
return $result; | - |
ResultModification | applyState | * @return bool
*
* @param int $filterDepth | return $result; | - |
StateRequestExtractor | extract | * {@inheritDoc} | if (false === $this->postSearchFilterEnabled($configuration)) {
return array(); // no need to add state data | - |
TPkgShopListfilter_TShopCategory | GetFieldPkgShopListfilterIdRecursive | * returns the ID of the Listfilter for that is set for this category or one of its ancestors.
*
* @return string | /** @var string|null $sFilterId */
$sFilterId = $this->GetFromInternalCache('sActingFilterForCategory');
if (null !== $sFilterId) {
return $sFilterId; | - |
TPkgShopListfilter_TShopModuleArticleListFilter | GetListQuery | * @var bool | $this->bCanBeFiltered = $oListConfig->fieldCanBeFiltered;
return parent::GetListQuery($oListConfig); | - |
Select | setDisabled | @var bool | $this->disabled = $disabled;
return $this; | - |
Select | getDisabled | @var int[] | return $this->disabled; | - |
Select | setSelectedOption | @var int | $this->selectedOption = $selectedOption;
return $this; | - |
Select | getSelectedOption | * @param bool $disabled
*
* @return Select | return $this->selectedOption; | - |
Select | setOptions | * @return bool | $this->options = $options;
return $this; | - |
Select | addOption | * @param int $selectedOption
*
* @return Select | $this->options[] = $option;
return $this; | - |
Select | getOptions | * @return int | return $this->options; | - |
Slider | setDisabled | * @var string
* @psalm-var 'true'|'false'
* String representation of the disabled state. | // slider need that as string
$this->disabled = ($disabled) ? 'true' : 'false';
return $this; | - |
Slider | getDisabled | @var int | return $this->disabled; | - |
Slider | setMax | @var int | $this->max = $max;
return $this; | - |
Slider | getMax | @var int | return $this->max; | - |
Slider | setMin | @var int | $this->min = $min;
return $this; | - |
Slider | getMin | @var int | return $this->min; | - |
Slider | setStep | * @param bool $disabled
*
* @return Slider | $this->step = $step;
return $this; | - |
Slider | getStep | * @return string
* @psalm-return 'true'|'false' | return $this->step; | - |
Slider | setValueHigh | * @param int $max
*
* @return Slider | $this->valueHigh = $valueHigh;
return $this; | - |
Slider | getValueHigh | * @return int | return $this->valueHigh; | - |
Slider | setValueLow | * @param int $min
*
* @return Slider | $this->valueLow = $valueLow;
return $this; | - |
Slider | getValueLow | * @return int | return $this->valueLow; | - |
TPkgShopNewsletterSignupWithOrder_TShopOrder | CreateOrderInDatabaseCompleteHook | * method can be used to modify the data saved to order before the save is executed.
*
* @param TShopBasket $oBasket
* @param array $aOrderData
*
* @return void | // ------------------------------------------------------------------------
if ($this->fieldNewsletterSignup && false == $this->fieldCanceled) {
$sMail = $this->fieldUserEmail;
$sUserId = $this->fieldDataExtranetUserId;
// now signup user
$oNewsletter = null;
if (!empty($sUserId)) {
// try to load by id
$oNewsletter = TdbPkgNewsletterUser::GetNewInstance();
if (false == $oNewsletter->LoadFromField('data_extranet_user_id', $sUserId)) {
$oNewsletter = null; | - |
TPkgShopNewsletterSignupWithOrder_TShopBasket | getUserSelectedNewsletterOptionInOrderStep | * @var bool | return $this->userSelectedNewsletterOptionInOrderStep; | - |
TPkgShopNewsletterSignupWithOrder_TShopBasket | setUserSelectedNewsletterOptionInOrderStep | * @return bool | $this->userSelectedNewsletterOptionInOrderStep = $userSelectedNewsletterOptionInOrderStep; | - |
ChameleonSystemShopOrderStatusExtension | load | * @return void | $loader = new XMLFileLoader($container, new FileLocator(__DIR__.'/../Resources/config/'));
$loader->load('services.xml'); | - |
ChameleonSystemShopOrderStatusExtension | prepend | * {@inheritdoc}
*
* @return void | $container->prependExtensionConfig('monolog', ['channels' => ['order_status']]); | - |
TPkgShopOrderStatusException_OrderStatusCodeNotFound | setShopId | * @var string|null | $this->shopId = $shopId;
return $this; | - |
TPkgShopOrderStatusException_OrderStatusCodeNotFound | getShopId | * @var string|null | return $this->shopId; | - |
TPkgShopOrderStatusException_OrderStatusCodeNotFound | setStatusCode | * @param string|null $shopId
*
* @return $this | $this->statusCode = $statusCode;
return $this; | - |
TPkgShopOrderStatusException_OrderStatusCodeNotFound | getStatusCode | * @return string|null | return $this->statusCode; | - |
TPkgShopOrderStatusException_OrderStatusCodeNotFound | __toString: string | * @param string|null $statusCode
*
* @return $this | $sString = parent::__toString();
$sString = $sString."\n: Status Code ".$this->getStatusCode();
$sString = $sString.' in shop '.$this->getShopId();
return $sString; | - |
TPkgShopOrderStatusException_PostOrderStatusAddedExceptions | setOrderStatus | * @var TPkgCmsException[] | $this->orderStatus = $orderStatus;
return $this; | - |
TPkgShopOrderStatusException_PostOrderStatusAddedExceptions | getOrderStatus | * @var TdbShopOrderStatus | return $this->orderStatus; | - |
TPkgShopOrderStatusException_PostOrderStatusAddedExceptions | setExceptionList | * @param TdbShopOrderStatus $orderStatus
*
* @return $this | $this->exceptionList = $exceptionList;
return $this; | - |
TPkgShopOrderStatusException_PostOrderStatusAddedExceptions | getExceptionList | * @return TdbShopOrderStatus | return $this->exceptionList; | - |
TPkgShopOrderStatusException_PostOrderStatusAddedExceptions | __toString: string | * @param TPkgCmsException[] $exceptionList
*
* @return $this | $sString = parent::__toString();
$sString = $sString."\n: Status Entry ".$this->getOrderStatus()->sqlData;
$sString .= "\nExceptionList: ";
foreach ($this->getExceptionList() as $exception) {
$sString .= "\n".$exception; | - |
TPkgShopOrderStatusMapper_Status | GetRequirements | * A mapper has to specify its requirements by providing th passed MapperRequirements instance with the
* needed information and returning it.
*
* example:
*
* $oRequirements->NeedsSourceObject("foo",'stdClass','default-value');
* $oRequirements->NeedsSourceObject("bar");
* $oRequirements->NeedsMappedValue("baz");
*
* @param IMapperRequirementsRestricted $oRequirements | $oRequirements->NeedsSourceObject('oObject', 'TdbShopOrderStatus|TdbShopOrder', null, true);
$oRequirements->NeedsSourceObject('local', 'TdbCmsLocals', TdbCmsLocals::GetActive(), true); | - |
TPkgShopOrderStatusMapper_Status | Accept(
IMapperVisitorRestricted $oVisitor,
$bCachingEnabled,
IMapperCacheTriggerRestricted $oCacheTriggerManager
) | * To map values from models to views the mapper has to implement iVisitable.
* The ViewRender will pass a prepared MapperVisitor instance to the mapper.
*
* The mapper has to fill the values it is responsible for in the visitor.
*
* example:
*
* $foo = $oVisitor->GetSourceObject("foomodel")->GetFoo();
* $oVisitor->SetMapperValue("foo", $foo);
*
*
* To be able to access the desired source object in the visitor, the mapper has
* to declare this requirement in its GetRequirements method (see IViewMapper)
*
* @param \IMapperVisitorRestricted $oVisitor
* @param bool $bCachingEnabled - if set to true, you need to define your cache trigger that invalidate the view rendered via mapper. if set to false, you should NOT set any trigger
* @param IMapperCacheTriggerRestricted $oCacheTriggerManager | /** @var TdbCmsLocals $local */
$local = $oVisitor->GetSourceObject('local');
/** @var TdbShopOrderStatus|TdbShopOrder $oStatus */
$oObject = $oVisitor->GetSourceObject('oObject');
if (null === $oObject) {
return; | - |
TPkgShopOrderStatusManagerEndPoint | setLogger | * @var IPkgCmsCoreLog
*
* @deprecated since 6.3.0 | $this->logger = $logger; | - |
TPkgShopOrderStatusManagerEndPoint | addStatus | * @param IPkgCmsCoreLog $logger
*
* @deprecated since 6.3.0 - is not supported anymore; use only getShopLogger() or do your own logging
*
* @return void | $this->getShopLogger()->info('add status', array('oData' => $oData));
$this->validateStatusData($oData);
$this->getShopLogger()->info('status validated ok');
$aData = $oData->getDataAsTdbArray();
$oStatus = TdbShopOrderStatus::GetNewInstance($aData);
$oStatus->AllowEditByAll(true);
$oStatus->SaveFieldsFast($aData);
$oStatus->AllowEditByAll(false);
$this->getShopLogger()->info('status saved');
$aItems = $oData->getItems();
$itemCount = count($aItems);
$count = 0;
/** @var TPkgShopOrderStatusItemData $item */
foreach ($aItems as $item) {
++$count;
$this->getShopLogger()->info("process status {$count | - |
TPkgShopOrderStatusManagerEndPoint | sendStatusMailToCustomer | * @return IPkgCmsCoreLog
*
* @deprecated since 6.3.0 - use getShopLogger() instead | $this->getShopLogger()->info('start sendStatusMailToCustomer');
$statusCode = $oStatus->GetFieldShopOrderStatusCode();
if (null !== $statusCode && false === $statusCode->fieldSendMailNotification) {
$this->getShopLogger()->info('no mail needed');
return true; | - |
TPkgShopOrderStatusDataEndPoint | __construct | * @var TdbShopOrder | $this
->setOrder($order)
->setStatusTimestamp($iStatusTimestamp)
->setShopOrderStatusCode($shopOrderStatusCode)
->setInfo($info); | - |
TPkgShopOrderStatusDataEndPoint | setInfo | * @var string | $this->info = $info;
return $this; | - |
TPkgShopOrderStatusDataEndPoint | setOrder | * @var TdbShopOrderStatusCode | $this->order = $shopOrder;
return $this; | - |
TPkgShopOrderStatusDataEndPoint | setShopOrderStatusCode | * @var int | $this->shopOrderStatusCode = $shopOrderStatusCode;
return $this; | - |
TPkgShopOrderStatusDataEndPoint | setStatusTimestamp | * @var string|null | $this->statusTimestamp = $statusTimestamp;
return $this; | - |
TPkgShopOrderStatusDataEndPoint | addItem | * @var TPkgShopOrderStatusItemData[] | $this->items[] = $item;
return $this; | - |
TPkgShopOrderStatusDataEndPoint | getInfo | @var null | \Symfony\Component\HttpFoundation\ParameterBag | return $this->info; | - |
TPkgShopOrderStatusDataEndPoint | getOrder | * @param TdbShopOrder $order
* @param string $shopOrderStatusCode - system_name of shop_order_status_code
* @param int $iStatusTimestamp
* @param string|null $info | return $this->order; | - |
TPkgShopOrderStatusDataEndPoint | getShopOrderStatusCode | * @param string|null $info
*
* @return $this | return $this->shopOrderStatusCode; | - |
TPkgShopOrderStatusDataEndPoint | getStatusTimestamp | * @param \TdbShopOrder $shopOrder
*
* @return $this | return $this->statusTimestamp; | - |
TPkgShopOrderStatusDataEndPoint | getItems | * @param string $shopOrderStatusCode
*
* @return $this | return $this->items; | - |
TPkgShopOrderStatusDataEndPoint | getShopOrderStatusCodeObject | * @param int $statusTimestamp
*
* @return $this | if (true === $bRefresh) {
$this->shopOrderStatusCodeObject = null; | - |
TPkgShopOrderStatusDataEndPoint | getStatusData | * @param TPkgShopOrderStatusItemData $item
*
* @return $this | return $this->statusData; | - |
TPkgShopOrderStatusDataEndPoint | setStatusData | * @return string|null | $this->statusData = $statusData;
return $this; | - |
TPkgShopOrderStatusDataEndPoint | getDataAsTdbArray | * @return \TdbShopOrder | $data = (null === $this->getStatusData()) ? array() : $this->getStatusData()->all();
$data = serialize($data);
return array(
'shop_order_id' => $this->getOrder()->id,
'shop_order_status_code_id' => $this->getShopOrderStatusCodeObject()->id,
'status_date' => date('Y-m-d H:i:s', $this->getStatusTimestamp()),
'info' => $this->getInfo(),
'data' => $data,
); | - |
TPkgShopOrderStatusItemDataEndPoint | __construct | * @var string | $this->setShopOrderItemId($shopOrderItemId)->setAmount($amount); | - |
TPkgShopOrderStatusItemDataEndPoint | getShopOrderItemId | * @var int | return $this->shopOrderItemId; | - |
TPkgShopOrderStatusItemDataEndPoint | getAmount | * @param string $shopOrderItemId
* @param int $amount | return $this->amount; | - |
TPkgShopOrderStatusItemDataEndPoint | setAmount | * @return string | $this->amount = $amount;
return $this; | - |
TPkgShopOrderStatusItemDataEndPoint | setShopOrderItemId | * @return int | $this->shopOrderItemId = $shopOrderItemId;
return $this; | - |
TPkgShopOrderStatusItemDataEndPoint | getDataAsTdbArray | * @param int $amount
*
* @return $this | return array(
'shop_order_status_id' => '',
'shop_order_item_id' => $this->getShopOrderItemId(),
'amount' => $this->getAmount(),
); | - |
TPkgRunFrontendAction_SendOrderStatusEMail | runAction | * @param array $aParameter
*
* @return TPkgRunFrontendActionStatus|TdbShopOrderStatus
*
* @psalm-suppress UndefinedPropertyAssignment
* @FIXME Properties `sMessage` and `sMessageType` do not exist on `TdbShopOrderStatus` | $oStatus = new TPkgRunFrontendActionStatus();
if (isset($aParameter['order_status_id']) && isset($aParameter['order_id']) && !empty($aParameter['order_status_id']) && !empty($aParameter['order_id'])) {
$oStatus = TdbShopOrderStatus::GetNewInstance();
if ($oStatus->LoadFromFields(
array('shop_order_id' => $aParameter['order_id'], 'id' => $aParameter['order_status_id'])
)
) {
$oStatusManager = new TPkgShopOrderStatusManager();
$bSuccess = $oStatusManager->sendStatusMailToCustomer($oStatus);
if ($bSuccess) {
$oStatus->sMessage = TGlobal::Translate('chameleon_system_shop_order_status.msg.mail_success');
$oStatus->sMessageType = 'MESSAGE'; | - |
TPkgShopBasketMapper_TelephoneOrder | GetRequirements | * A mapper has to specify its requirements by providing th passed MapperRequirements instance with the
* needed information and returning it.
*
* example:
*
* $oRequirements->NeedsSourceObject("foo",'stdClass','default-value');
* $oRequirements->NeedsSourceObject("bar");
* $oRequirements->NeedsMappedValue("baz");
*
* @param IMapperRequirementsRestricted $oRequirements | null | - |
TPkgShopBasketMapper_TelephoneOrder | Accept | * To map values from models to views the mapper has to implement iVisitable.
* The ViewRender will pass a prepared MapeprVisitor instance to the mapper.
*
* The mapper has to fill the values it is responsible for in the visitor.
*
* example:
*
* $foo = $oVisitor->GetSourceObject("foomodel")->GetFoo();
* $oVisitor->SetMapperValue("foo", $foo);
*
*
* To be able to access the desired source object in the visitor, the mapper has
* to declare this requirement in its GetRequirements method (see IViewMapper)
*
* @param \IMapperVisitorRestricted $oVisitor
* @param bool $bCachingEnabled - if set to true, you need to define your cache trigger that invalidate the view rendered via mapper. if set to false, you should NOT set any trigger
* @param IMapperCacheTriggerRestricted $oCacheTriggerManager
*
* @return | $Step = TdbShopOrderStep::GetStep('user');
$aLink = array('sLinkURL' => '#telephoneModal', 'sTitle' => TGlobal::Translate('chameleon_system_shop_order_via_phone.action.open_telefon_order_form'));
$oVisitor->SetMappedValue('aLink', $aLink); | - |
TPkgShopBasketMapper_TelephoneOrderForm | GetRequirements | * A mapper has to specify its requirements by providing th passed MapperRequirements instance with the
* needed information and returning it.
*
* example:
*
* $oRequirements->NeedsSourceObject("foo",'stdClass','default-value');
* $oRequirements->NeedsSourceObject("bar");
* $oRequirements->NeedsMappedValue("baz");
*
* @param IMapperRequirementsRestricted $oRequirements | // Set per default
$oRequirements->NeedsSourceObject('oActiveUser', 'TdbDataExtranetUser', TdbDataExtranetUser::GetInstance());
$oRequirements->NeedsSourceObject('oActivePage', 'TCMSActivePage', $this->getActivePageService()->getActivePage(), true);
$oRequirements->NeedsSourceObject('oGlobal', 'TGlobal', $oGlobal = TGlobal::instance());
$oRequirements->NeedsSourceObject('oMessageManager', 'TCMSMessageManager', $oMessageManager = TCMSMessageManager::GetInstance());
$oRequirements->NeedsSourceObject('oTextBlock', 'TdbPkgCmsTextBlock', TdbPkgCmsTextBlock::GetInstanceFromSystemName('telephone_order_info_text'), true);
$oRequirements->NeedsSourceObject('sName', 'string', 'phone');
$oRequirements->NeedsSourceObject('sFunction', 'string', 'OrderViaPhone');
$oRequirements->NeedsSourceObject('sCustomMSGConsumer', 'string', MTShopOrderWizardCore::ORDER_VIA_PHONE_MESSAGE_CONSUMER_NAME);
$oRequirements->NeedsSourceObject('sTelephoneURLParameter', 'string', MTShopOrderWizardCore::ORDER_VIA_PHONE_URL_PARAMETER);
// Set manually
$oRequirements->NeedsSourceObject('sSpotName', 'string', '');
$oRequirements->NeedsSourceObject('sTitle', 'string', '', true);
$oRequirements->NeedsSourceObject('sText', 'string', '', true); | - |
TPkgShopBasketMapper_TelephoneOrderForm | Accept | * To map values from models to views the mapper has to implement iVisitable.
* The ViewRender will pass a prepared MapeprVisitor instance to the mapper.
*
* The mapper has to fill the values it is responsible for in the visitor.
*
* example:
*
* $foo = $oVisitor->GetSourceObject("foomodel")->GetFoo();
* $oVisitor->SetMapperValue("foo", $foo);
*
*
* To be able to access the desired source object in the visitor, the mapper has
* to declare this requirement in its GetRequirements method (see IViewMapper)
*
* @param \IMapperVisitorRestricted $oVisitor
* @param bool $bCachingEnabled - if set to true, you need to define your cache trigger that invalidate the view rendered via mapper. if set to false, you should NOT set any trigger
* @param IMapperCacheTriggerRestricted $oCacheTriggerManager
*
* @return | $oVisitor->SetMappedValue('sSpotName', $oVisitor->GetSourceObject('sSpotName'));
$oVisitor->SetMappedValue('sTitle', $oVisitor->GetSourceObject('sTitle'));
$oVisitor->SetMappedValue('sText', $oVisitor->GetSourceObject('sText'));
$oVisitor->SetMappedValue('sName', $oVisitor->GetSourceObject('sName'));
$oVisitor->SetMappedValue('sFunction', $oVisitor->GetSourceObject('sFunction'));
$oTextBlock = $oVisitor->GetSourceObject('oTextBlock');
if (!is_null($oTextBlock)) {
$oVisitor->SetMappedValue('sRawInfoText', $oTextBlock->GetTextField('content')); | - |
MTPkgShopOrderViaPhone_MTShopOrderWizard | Init | * @return void | parent::Init(); | - |
ChameleonSystemShopPaymentIPNExtension | load | * {@inheritdoc}
*
* @return void | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config/'));
$loader->load('services.xml'); | - |
AbstractPkgShopPaymentIPNException | __toString: string | * @return string
* @psalm-return class-string<self> | $sString = parent::__toString();
$sString .= "\ncalled in [".$this->getFile().'] on line ['.$this->getLine().']';
return $sString; | - |
TPkgShopPaymentIPNException_OrderHasNoPaymentGroup | __construct(
$sOrderId,
$message = '',
$code = 0,
Exception $previous = null
) | * @var string | $this->orderId = $sOrderId;
parent::__construct($message, $code, $previous); | - |
TPkgShopPaymentIPNException_OrderHasNoPaymentGroup | __toString: string | * @param string $sOrderId
* @param string $message
* @param int $code
* @param Exception|null $previous | $sString = parent::__toString();
$sString = $sString."\nOrder-ID: ".$this->getOrderId();
return $sString; | - |
TPkgShopPaymentIPNException_OrderHasNoPaymentGroup | getOrderId | * @return string | return $this->orderId; | - |
TPkgShopPaymentIPNException_InvalidIP | __construct(
$sRequestIP,
TPkgShopPaymentIPNRequest $oRequest,
$message = '',
$code = 0,
Exception $previous = null
) | @var string | $this->requestIP = $sRequestIP;
parent::__construct($oRequest, $message, $code, $previous); | - |
TPkgShopPaymentIPNException_InvalidIP | __toString: string | * @param string $sRequestIP
* @param TPkgShopPaymentIPNRequest $oRequest
* @param string $message
* @param int $code
* @param Exception|null $previous | $sString = parent::__toString();
$sString = $sString."\nRequest IP: ".$this->getRequestIP();
return $sString; | - |
TPkgShopPaymentIPNException_InvalidIP | getResponseHeader | * the header to return to the caller.
*
* @return string | return 'HTTP/1.0 403.6 IP address rejected'; | - |
TPkgShopPaymentIPNException_InvalidIP | getRequestIP | * @return string | return $this->requestIP; | - |
TPkgShopPaymentIPNException_OrderNotFound | __construct(
$iOrderCmsIdent,
TPkgShopPaymentIPNRequest $oRequest,
$message = '',
$code = 0,
Exception $previous = null
) | @var string|null | $this->orderCmsIdent = $iOrderCmsIdent;
parent::__construct($oRequest, $message, $code, $previous); | - |
TPkgShopPaymentIPNException_OrderNotFound | __toString: string | * @param string|null $iOrderCmsIdent
* @param TPkgShopPaymentIPNRequest $oRequest
* @param string $message
* @param int $code
* @param Exception|null $previous | $sString = parent::__toString();
$sString = $sString."\nOrderCmsIdent: ".$this->getOrderCmsIdent();
return $sString; | - |
TPkgShopPaymentIPNException_OrderNotFound | getResponseHeader | * the header to return to the caller.
*
* @return string | return 'HTTP/1.0 404 Not Found'; | - |
TPkgShopPaymentIPNException_OrderNotFound | getOrderCmsIdent | * @return string|null | return $this->orderCmsIdent; | - |
TPkgShopPaymentIPNException_RequestError | __construct(
TPkgShopPaymentIPNRequest $oRequest,
$message = '',
$code = 0,
Exception $previous = null
) | * @var TPkgShopPaymentIPNRequest|null | $this->request = $oRequest;
parent::__construct($message, $code, $previous); | - |
TPkgShopPaymentIPNException_RequestError | __toString: string | * @param TPkgShopPaymentIPNRequest $oRequest
* @param string $message
* @param int $code
* @param Exception $previous | $sString = parent::__toString();
$sString = $sString."\nRequestURL: ".$this->getRequest()->getRequestURL()."\nRequestData: ".print_r(
$this->getRequest()->getRequestPayload(),
true
);
return $sString; | - |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.