repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/PaymentLog.php | models/PaymentLog.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Model;
use October\Rain\Database\Traits\SoftDelete;
use October\Rain\Database\Traits\Validation;
class PaymentLog extends Model
{
use Validation;
use SoftDelete;
public $jsonable = ['data', 'order_data', 'payment_method'];
public $t... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Discount.php | models/Discount.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Carbon\Carbon;
use Model;
use October\Rain\Database\Traits\Nullable;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Traits\HashIds;
use OFFLINE\Mall\Classes\Traits\PriceAccessors;
class Discount extends Model
{
use Validati... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/PaymentGatewaySettings.php | models/PaymentGatewaySettings.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Illuminate\Support\Collection;
use Model;
use October\Rain\Database\Traits\Encryptable;
use OFFLINE\Mall\Classes\Payments\PaymentGateway;
class PaymentGatewaySettings extends Model
{
use Encryptable;
public $implement = ['System.Behaviors.Se... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/PriceCategory.php | models/PriceCategory.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use DB;
use Model;
use October\Rain\Database\Traits\Sluggable;
use October\Rain\Database\Traits\Sortable;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Database\IsStates;
class PriceCategory extends Model
{
use IsStates;
u... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Review.php | models/Review.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Event;
use Model;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\User\Auth;
/**
* @property Customer $customer
*/
class Review extends Model
{
use Validation;
public $table = 'offline_mall_reviews';
public $rule... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Category.php | models/Category.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Cache;
use DB;
use Illuminate\Support\Facades\Queue;
use Model;
use October\Rain\Database\Traits\NestedTree;
use October\Rain\Database\Traits\SoftDelete;
use October\Rain\Database\Traits\SortableRelation;
use October\Rain\Database\Traits\Validation;
u... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/OrderState.php | models/OrderState.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Exception;
use Illuminate\Database\Eloquent\Builder;
use Lang;
use Model;
use October\Rain\Database\Traits\SoftDelete;
use October\Rain\Database\Traits\Sortable;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Database\IsStates;
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/FeedSettings.php | models/FeedSettings.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Model;
class FeedSettings extends Model
{
public $implement = ['System.Behaviors.SettingsModel'];
public $settingsCode = 'offline_mall_settings';
public $settingsFields = '$/offline/mall/models/settings/fields_feeds.yaml';
public f... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/ProductFile.php | models/ProductFile.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Model;
use October\Rain\Database\Traits\Validation;
use October\Rain\Element\ElementHolder;
use System\Models\File;
class ProductFile extends Model
{
use Validation;
public $table = 'offline_mall_product_files';
public $implement = ['@R... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/ShippingMethod.php | models/ShippingMethod.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Closure;
use DB;
use Event;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Facades\Session;
use Model;
use October\Rain\Database\Collection;
use October\Rain\Database\Traits\Sortable;
use October\Rain\Database\Traits\Validation;
use ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Service.php | models/Service.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use DB;
use Model;
use October\Rain\Database\Traits\Sluggable;
use October\Rain\Database\Traits\SoftDelete;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Traits\SortableRelation;
class Service extends Model
{
use Validation;
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/ProductFileGrant.php | models/ProductFileGrant.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Event;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\URL;
use Model;
use October\Rain\Database\QueryBuilder;
use System\Models\File;
class ProductFileGrant extends Model
{
public $table = 'offlin... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/ServiceOption.php | models/ServiceOption.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Model;
use October\Rain\Database\Traits\SoftDelete;
use October\Rain\Database\Traits\Sortable;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Traits\PriceAccessors;
class ServiceOption extends Model
{
use Validation;
us... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Price.php | models/Price.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Illuminate\Database\Eloquent\Builder;
use Model;
use October\Rain\Database\Traits\Nullable;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Database\IsStates;
use OFFLINE\Mall\Classes\Utils\Money;
class Price extends Model
{
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Cart.php | models/Cart.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Carbon\Carbon;
use DB;
use Event;
use Exception;
use Illuminate\Support\Collection;
use Model;
use October\Rain\Database\Traits\SoftDelete;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Cart\DiscountApplier;
use OFFLINE\Mall\Cl... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Wishlist.php | models/Wishlist.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Carbon\Carbon;
use Cookie;
use Illuminate\Support\Collection;
use Model;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Exceptions\OutOfStockException;
use OFFLINE\Mall\Classes\Totals\TotalsCalculator;
use OFFLINE\Mall\Classes\T... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/ReviewCategory.php | models/ReviewCategory.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Model;
use October\Rain\Database\Traits\Sluggable;
use October\Rain\Database\Traits\Validation;
class ReviewCategory extends Model
{
use Validation;
use Sluggable;
public $implement = ['@RainLab.Translate.Behaviors.TranslatableModel'];
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/UniquePropertyValue.php | models/UniquePropertyValue.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Cache;
use DB;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Query\Builder;
use Model;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Jobs\UpdateUniquePropertyForCategory;
use Queue;
class UniquePropertyV... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/CustomField.php | models/CustomField.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use DB;
use Model;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Traits\HashIds;
use OFFLINE\Mall\Classes\Traits\PriceAccessors;
use System\Models\File;
class CustomField extends Model
{
use Validation;
use HashIds;
us... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/ImageSet.php | models/ImageSet.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use DB;
use Model;
use System\Models\File;
class ImageSet extends Model
{
use \October\Rain\Database\Traits\Validation;
public const MORPH_KEY = 'mall.imageset';
public $with = ['images'];
public $implement = ['@RainLab.Translate.Behav... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/CustomFieldValue.php | models/CustomFieldValue.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Model;
use October\Rain\Database\Traits\Validation;
use October\Rain\Support\Collection;
use OFFLINE\Mall\Classes\Traits\PriceAccessors;
class CustomFieldValue extends Model
{
use Validation;
use PriceAccessors;
public $rules = [
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/CustomerGroupPrice.php | models/CustomerGroupPrice.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use October\Rain\Database\Traits\Validation;
class CustomerGroupPrice extends Price
{
use Validation;
/**
* The table associated with this model.
* @var string
*/
public $table = 'offline_mall_customer_group_prices';
/**
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Variant.php | models/Variant.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Cms\Classes\Page;
use DB;
use Html;
use Illuminate\Support\Collection;
use Model;
use October\Rain\Database\Traits\Nullable;
use October\Rain\Database\Traits\SoftDelete;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Traits\Cust... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/ShippingMethodRate.php | models/ShippingMethodRate.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Model;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Traits\PriceAccessors;
class ShippingMethodRate extends Model
{
use Validation;
use PriceAccessors;
/**
* Morph key as used on the respective relationships... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/models/Tax.php | models/Tax.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Models;
use Illuminate\Support\Facades\Cache;
use Model;
use October\Rain\Database\Collection;
use October\Rain\Database\Traits\Validation;
use OFFLINE\Mall\Classes\Database\IsStates;
use Rainlab\Location\Models\Country as RainLabCountry;
class Tax extends Model... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/config/pdf.php | config/pdf.php | <?php
// barryvdh/laravel-dompdf config
// For details and documentation @see https://github.com/barryvdh/laravel-dompdf
return [
'show_warnings' => false,
'orientation' => 'portrait',
'options' => [
'font_dir' => storage_path('fonts/'),
'font_cache' => sto... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/config/features.php | config/features.php | <?php
return [
// Display order note textarea in the backend.
'order_notes' => true,
// Enable or disable event logging for failed payments (enabled by default)
'log_failed_payments' => true,
];
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/validation/NonExistingUserRule.php | classes/validation/NonExistingUserRule.php | <?php
namespace OFFLINE\Mall\Classes\Validation;
use RainLab\User\Models\User;
class NonExistingUserRule
{
public function validate($attribute, $value, $parameters, $validator)
{
return User::with('customer')
->where('email', $value)
->whereHas('customer', function ($q) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/PaymentRedirector.php | classes/payments/PaymentRedirector.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use Cms\Classes\Controller;
use Illuminate\Support\Facades\Event;
use LogicException;
use Symfony\Component\HttpFoundation\RedirectResponse;
/**
* The PaymentRedirector handles all external and
* internal redirects from or to different payment
* services.
*/
class P... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/StripeHostedCheckout.php | classes/payments/StripeHostedCheckout.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use OFFLINE\Mall\Models\PaymentGatewaySettings;
use Session;
use Throwable;
use Stripe\StripeClient;
use Stripe\Exception\ApiErrorException;
/**
* Process the payment via Stripe Hosted Checkout (redirect mode).
*
* Uses dynamic price mapping (price_data) to avoid ne... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/PaymentGateway.php | classes/payments/PaymentGateway.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Models\Order;
use OFFLINE\Mall\Models\PaymentMethod;
/**
* The PaymentGateway is responsible for the orchestration
* of all available payment providers.
*
* When a payment is being processed, the gatew... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/Offline.php | classes/payments/Offline.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
/**
* This provider can be used for all offline payments.
*
* The order's payment state will be marked as pending if
* this provider is used.
*/
class Offline extends PaymentProvider
{
/**
* {@inheritdoc}
*/
public function name(): string
{
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/Stripe.php | classes/payments/Stripe.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use Illuminate\Support\Facades\Session;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Models\CustomerPaymentMethod;
use OFFLINE\Mall\Models\PaymentGatewaySettings;
use Omnipay\Common\GatewayInterface;
use Omnipay\Common\Message\ResponseInterface;
use O... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/DefaultPaymentGateway.php | classes/payments/DefaultPaymentGateway.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use InvalidArgumentException;
use LogicException;
use OFFLINE\Mall\Models\Order;
use OFFLINE\Mall\Models\PaymentMethod;
use Session;
/**
* The DefaultPaymentGateway is responsible for the orchestration
* of all available payment providers.
*
* When a payment is bein... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/PaymentService.php | classes/payments/PaymentService.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use OFFLINE\Mall\Models\Order;
use Throwable;
/**
* The PaymentService orchestrates the payment process.
*/
class PaymentService
{
/**
* The used PaymentGateway for this payment.
* @var PaymentGateway
*/
public $gateway;
/**
* The orde... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/PaymentProvider.php | classes/payments/PaymentProvider.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use Cms\Classes\Controller;
use Cms\Classes\Theme;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\Order;
use OFFLINE\Mall\Models\PaymentGatewaySettings;
use Request;
use Session;
use Url;
/**
* A PaymentProvider ha... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/PostFinance.php | classes/payments/PostFinance.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use OFFLINE\Mall\Models\PaymentGatewaySettings;
use Omnipay\Omnipay;
use RainLab\Translate\Classes\Translator;
use Request;
use Session;
use Throwable;
/**
* Process the payment via PostFinance.
*/
class PostFinance extends PaymentProvider
{
/**
* {@inheritdo... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/PaymentResult.php | classes/payments/PaymentResult.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use Config;
use OFFLINE\Mall\Classes\PaymentState\FailedState;
use OFFLINE\Mall\Classes\PaymentState\PaidState;
use OFFLINE\Mall\Classes\PaymentState\PendingState;
use OFFLINE\Mall\Models\Order;
use OFFLINE\Mall\Models\PaymentLog;
use Symfony\Component\HttpFoundation\Res... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/PayPalRest.php | classes/payments/PayPalRest.php | <?php
namespace OFFLINE\Mall\Classes\Payments;
use OFFLINE\Mall\Models\PaymentGatewaySettings;
use Omnipay\Omnipay;
use Request;
use Session;
use Throwable;
/**
* Process the payment via PayPal's REST API.
*/
class PayPalRest extends PaymentProvider
{
/**
* {@inheritdoc}
*/
public function name()... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/payments/webhooks/StripeHostedCheckoutWebhook.php | classes/payments/webhooks/StripeHostedCheckoutWebhook.php | <?php
namespace OFFLINE\Mall\Classes\Payments\Webhooks;
use Illuminate\Http\Response;
use OFFLINE\Mall\Classes\Payments\PaymentResult;
use OFFLINE\Mall\Classes\Payments\StripeHostedCheckout;
use OFFLINE\Mall\Classes\PaymentState\PaidState;
use OFFLINE\Mall\Models\Order;
use OFFLINE\Mall\Models\PaymentGatewaySettings;... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/observers/PropertyValueObserver.php | classes/observers/PropertyValueObserver.php | <?php
namespace OFFLINE\Mall\Classes\Observers;
use OFFLINE\Mall\Classes\Index\Index;
use OFFLINE\Mall\Models\PropertyValue;
class PropertyValueObserver
{
protected $index;
public function __construct(Index $index)
{
$this->index = $index;
}
public function created(PropertyValue $value)... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/observers/BrandObserver.php | classes/observers/BrandObserver.php | <?php
namespace OFFLINE\Mall\Classes\Observers;
use OFFLINE\Mall\Classes\Index\Index;
use OFFLINE\Mall\Models\Brand;
use OFFLINE\Mall\Models\Product;
class BrandObserver
{
protected $index;
public function __construct(Index $index)
{
$this->index = $index;
}
public function created(Bran... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/observers/ProductObserver.php | classes/observers/ProductObserver.php | <?php
namespace OFFLINE\Mall\Classes\Observers;
use OFFLINE\Mall\Classes\Index\Index;
use OFFLINE\Mall\Classes\Index\ProductEntry;
use OFFLINE\Mall\Classes\Index\VariantEntry;
use OFFLINE\Mall\Models\Product;
class ProductObserver
{
protected $index;
public function __construct(Index $index)
{
$... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/observers/ProductPriceObserver.php | classes/observers/ProductPriceObserver.php | <?php
namespace OFFLINE\Mall\Classes\Observers;
use OFFLINE\Mall\Classes\Index\Index;
use OFFLINE\Mall\Models\ProductPrice;
class ProductPriceObserver
{
protected $index;
public function __construct(Index $index)
{
$this->index = $index;
}
public function created(ProductPrice $price)
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/observers/VariantObserver.php | classes/observers/VariantObserver.php | <?php
namespace OFFLINE\Mall\Classes\Observers;
use OFFLINE\Mall\Classes\Index\Index;
use OFFLINE\Mall\Classes\Index\VariantEntry;
use OFFLINE\Mall\Models\Variant;
class VariantObserver
{
protected $index;
public function __construct(Index $index)
{
$this->index = $index;
}
public funct... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/jobs/SendVirtualProductFiles.php | classes/jobs/SendVirtualProductFiles.php | <?php
namespace OFFLINE\Mall\Classes\Jobs;
use App;
use Cms\Classes\Controller;
use DB;
use Illuminate\Contracts\Queue\Job;
use Illuminate\Support\Facades\Mail;
use OFFLINE\Mall\Models\GeneralSettings;
use OFFLINE\Mall\Models\Notification;
use OFFLINE\Mall\Models\Order;
use OFFLINE\Mall\Models\OrderProduct;
use OFFLI... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/jobs/PropertyRemovalUpdate.php | classes/jobs/PropertyRemovalUpdate.php | <?php
namespace OFFLINE\Mall\Classes\Jobs;
use DB;
use Illuminate\Contracts\Queue\Job;
use OFFLINE\Mall\Models\PropertyValue;
class PropertyRemovalUpdate
{
public function fire(Job $job, $data)
{
if ($job->attempts() > 5) {
logger()->error('Failed to handle property removal. Please run ph... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/jobs/UpdateUniquePropertyForCategory.php | classes/jobs/UpdateUniquePropertyForCategory.php | <?php
namespace OFFLINE\Mall\Classes\Jobs;
use Cache;
use Illuminate\Contracts\Queue\Job;
use OFFLINE\Mall\Models\Category;
use OFFLINE\Mall\Models\UniquePropertyValue;
class UpdateUniquePropertyForCategory
{
public function fire(Job $job, $data)
{
$category = Category::find($data['id']);
Ca... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/jobs/BrandChangeUpdate.php | classes/jobs/BrandChangeUpdate.php | <?php
namespace OFFLINE\Mall\Classes\Jobs;
use Illuminate\Contracts\Queue\Job;
use OFFLINE\Mall\Classes\Index\Index;
use OFFLINE\Mall\Classes\Observers\ProductObserver;
use OFFLINE\Mall\Models\Product;
class BrandChangeUpdate
{
public function fire(Job $job, $data)
{
if ($job->attempts() > 5) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/jobs/SendOrderConfirmationToCustomer.php | classes/jobs/SendOrderConfirmationToCustomer.php | <?php
namespace OFFLINE\Mall\Classes\Jobs;
use App;
use Illuminate\Contracts\Queue\Job;
use Illuminate\Mail\Message;
use Illuminate\Support\Facades\Mail;
use OFFLINE\Mall\Models\Order;
/**
* This Job sends the order confirmation to the customer. It also generates
* a PDF invoice if the payment method requires one.... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/customer/SignUpHandler.php | classes/customer/SignUpHandler.php | <?php
namespace OFFLINE\Mall\Classes\Customer;
use RainLab\User\Models\User;
interface SignUpHandler
{
public function handle(array $postData, bool $asGuest = false): ?User;
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/customer/DefaultSignUpHandler.php | classes/customer/DefaultSignUpHandler.php | <?php
namespace OFFLINE\Mall\Classes\Customer;
use DB;
use Event;
use Illuminate\Support\Facades\Validator;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Classes\User\Auth;
use OFFLINE\Mall\Classes\User\Settings;
use OFFLINE\Mall\Models\Address;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/customer/SignInHandler.php | classes/customer/SignInHandler.php | <?php
namespace OFFLINE\Mall\Classes\Customer;
use RainLab\User\Models\User;
interface SignInHandler
{
public function handle(array $postData): ?User;
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/customer/DefaultSignInHandler.php | classes/customer/DefaultSignInHandler.php | <?php
namespace OFFLINE\Mall\Classes\Customer;
use Auth;
use Event;
use Exception;
use Flash;
use October\Rain\Auth\AuthException;
use October\Rain\Exception\ValidationException;
use OFFLINE\Mall\Classes\User\Settings;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\Customer;
use OFFLINE\Mall\Models\Wishlist;
u... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/QueryString.php | classes/categoryfilter/QueryString.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Models\Category;
use OFFLINE\Mall\Models\Property;
/**
* This class is used to (de)serialize a `Filter` class into a query string.
*/
class QueryString
{
/**
* Delimiter for range filter values.
*... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/SetFilter.php | classes/categoryfilter/SetFilter.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter;
class SetFilter extends Filter
{
public $values;
public bool $exclude = false;
public function __construct($property, array $values, $exclude = false)
{
parent::__construct($property);
$this->values = $values;
$this->exclude... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/RangeFilter.php | classes/categoryfilter/RangeFilter.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter;
class RangeFilter extends Filter
{
public $minValue;
public $maxValue;
public function __construct($property, array $values)
{
parent::__construct($property);
$this->minValue = $values[0];
$this->maxValue = $values[1];
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/Filter.php | classes/categoryfilter/Filter.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter;
abstract class Filter
{
public static $specialProperties = [
'price' => RangeFilter::class,
'category_id' => SetFilter::class,
'brand' => SetFilter::class,
'on_sale' => SetFilter::class,
'in_stock' => S... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Oldest.php | classes/categoryfilter/sortorder/Oldest.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class Oldest extends SortOrder
{
public function key(): string
{
return 'oldest';
}
public function property(): string
{
return 'created_at';
}
public function direction(): string
{
return 'asc';
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Bestseller.php | classes/categoryfilter/sortorder/Bestseller.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class Bestseller extends SortOrder
{
public function key(): string
{
return 'bestseller';
}
public function property(): string
{
return 'sales_count';
}
public function direction(): string
{
return... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Name.php | classes/categoryfilter/sortorder/Name.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class Name extends SortOrder
{
public function key(): string
{
return 'name';
}
public function property(): string
{
return 'name';
}
public function direction(): string
{
return 'asc';
}
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/SortOrder.php | classes/categoryfilter/sortorder/SortOrder.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
use Event;
use Illuminate\Support\Collection;
use October\Contracts\Twig\CallsAnyMethod;
use OFFLINE\Mall\Models\Currency;
abstract class SortOrder implements CallsAnyMethod
{
/**
* The currently active currency.
* This is needed to sort it... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Random.php | classes/categoryfilter/sortorder/Random.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class Random extends SortOrder
{
public function key(): string
{
return 'random';
}
public function property(): string
{
return '_';
}
public function direction(): string
{
return '_';
}
/... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Rating.php | classes/categoryfilter/sortorder/Rating.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class Rating extends SortOrder
{
public function key(): string
{
return 'ratings';
}
public function property(): string
{
return 'reviews_rating';
}
public function direction(): string
{
return 'de... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/PriceLow.php | classes/categoryfilter/sortorder/PriceLow.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class PriceLow extends Price
{
public function key(): string
{
return 'price_low';
}
public function property(): string
{
return 'prices.' . $this->currency->code;
}
public function direction(): string
{
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Price.php | classes/categoryfilter/sortorder/Price.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
abstract class Price extends SortOrder
{
/**
* Calculate missing currency values on-the-fly.
*
* @param string $property
* @param string $direction
*
* @return callable|null
*/
public function customSortFunction(... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Latest.php | classes/categoryfilter/sortorder/Latest.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class Latest extends SortOrder
{
public function key(): string
{
return 'latest';
}
public function property(): string
{
return 'created_at';
}
public function direction(): string
{
return 'desc';
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/PriceHigh.php | classes/categoryfilter/sortorder/PriceHigh.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class PriceHigh extends PriceLow
{
public function key(): string
{
return 'price_high';
}
public function property(): string
{
return 'prices.' . $this->currency->code;
}
public function direction(): string
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/categoryfilter/sortorder/Manual.php | classes/categoryfilter/sortorder/Manual.php | <?php
namespace OFFLINE\Mall\Classes\CategoryFilter\SortOrder;
class Manual extends SortOrder
{
public function key(): string
{
return 'manual';
}
/**
* The property for manual sort order is depending on
* the category that is sorted.
*
* @return string
*/
public ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/IndexNotSupportedException.php | classes/index/IndexNotSupportedException.php | <?php
namespace OFFLINE\Mall\Classes\Index;
use RuntimeException;
class IndexNotSupportedException extends RuntimeException
{
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/IndexResult.php | classes/index/IndexResult.php | <?php
namespace OFFLINE\Mall\Classes\Index;
class IndexResult
{
/**
* An array of all matching ids.
*
* @var array<integer>
*/
public $ids = [];
/**
* @var int
*/
public $totalCount = 0;
public function __construct($ids, $totalCount)
{
$this->ids ... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/ElasticSearch.php | classes/index/ElasticSearch.php | <?php
namespace OFFLINE\Mall\Classes\Index;
use Elasticsearch\ClientBuilder;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Classes\CategoryFilter\Filter;
use OFFLINE\Mall\Classes\CategoryFilter\RangeFilter;
use OFFLINE\Mall\Classes\CategoryFilter\SetFilter;
use OFFLINE\Mall\Classes\CategoryFilter\SortOrder\Sort... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/Filebase.php | classes/index/Filebase.php | <?php
namespace OFFLINE\Mall\Classes\Index;
use Illuminate\Support\Collection;
use Nahid\JsonQ\Jsonq;
use OFFLINE\Mall\Classes\CategoryFilter\Filter;
use OFFLINE\Mall\Classes\CategoryFilter\RangeFilter;
use OFFLINE\Mall\Classes\CategoryFilter\SetFilter;
use OFFLINE\Mall\Classes\CategoryFilter\SortOrder\SortOrder;
use... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/Noop.php | classes/index/Noop.php | <?php
namespace OFFLINE\Mall\Classes\Index;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Classes\CategoryFilter\SortOrder\SortOrder;
class Noop implements Index
{
public function __construct()
{
}
public function insert(string $index, Entry $entry)
{
}
public function update(stri... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/Entry.php | classes/index/Entry.php | <?php
namespace OFFLINE\Mall\Classes\Index;
interface Entry
{
public function data(): array;
public function withData(array $data): Entry;
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/ProductEntry.php | classes/index/ProductEntry.php | <?php
namespace OFFLINE\Mall\Classes\Index;
use Event;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\Models\CustomerGroup;
use OFFLINE\Mall\Models\Product;
class ProductEntry implements Entry
{
public const INDEX = 'products';
protected $product;
protected $data;... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/Index.php | classes/index/Index.php | <?php
namespace OFFLINE\Mall\Classes\Index;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Classes\CategoryFilter\SortOrder\SortOrder;
interface Index
{
public function insert(string $index, Entry $data);
public function update(string $index, $id, Entry $data);
public function delete(string $index... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/VariantEntry.php | classes/index/VariantEntry.php | <?php
namespace OFFLINE\Mall\Classes\Index;
use Event;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Models\Currency;
use OFFLINE\Mall\Models\CustomerGroup;
use OFFLINE\Mall\Models\Variant;
class VariantEntry implements Entry
{
public const INDEX = 'variants';
protected $variant;
protected $data;... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/mysql/MySQL.php | classes/index/mysql/MySQL.php | <?php
namespace OFFLINE\Mall\Classes\Index\MySQL;
use Cache;
use DB;
use Event;
use Illuminate\Foundation\Application;
use Illuminate\Support\Collection;
use October\Rain\Database\Schema\Blueprint;
use OFFLINE\Mall\Classes\CategoryFilter\Filter;
use OFFLINE\Mall\Classes\CategoryFilter\RangeFilter;
use OFFLINE\Mall\Cl... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/index/mysql/IndexEntry.php | classes/index/mysql/IndexEntry.php | <?php
namespace OFFLINE\Mall\Classes\Index\MySQL;
use Model;
class IndexEntry extends Model
{
public $table = 'offline_mall_index';
public $guarded = ['id'];
public $timestamps = false;
public $casts = [
'category_id' => 'array',
'property_values' => 'array',
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/user/Settings.php | classes/user/Settings.php | <?php
namespace OFFLINE\Mall\Classes\User;
use October\Rain\Support\Facades\Config;
/**
* Settings forwards calls to the RainLab\User\Models\Settings if available (< 3.0)
* or the new RainLab\User\Models\Setting (>= 3.0)
*/
class Settings
{
public const ACTIVATE_USER = 'user';
public static function __ca... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/user/Auth.php | classes/user/Auth.php | <?php
namespace OFFLINE\Mall\Classes\User;
/**
* Auth forwards calls to the RainLab\User\Facades\Auth if available (< 3.0)
* or the default Laravel Auth facade (>= 3.0)
*/
class Auth
{
public static function __callStatic($method, $args)
{
if (class_exists(\RainLab\User\Facades\Auth::class)) {
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/user/UserProvider.php | classes/user/UserProvider.php | <?php
namespace OFFLINE\Mall\Classes\User;
use Illuminate\Auth\EloquentUserProvider;
class UserProvider extends \RainLab\User\Classes\UserProvider
{
/**
* RainLab.User restricts logins to registered users only (starting from 3.0).
* We handle this logic separately, so we can allow any user to login.
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/exceptions/InvalidDiscountException.php | classes/exceptions/InvalidDiscountException.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Exceptions;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\Discount;
use RuntimeException;
class InvalidDiscountException extends RuntimeException
{
/**
* @var Cart
*/
public $cart;
/**
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/exceptions/OutOfStockException.php | classes/exceptions/OutOfStockException.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Exceptions;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Models\Variant;
use RuntimeException;
class OutOfStockException extends RuntimeException
{
/**
* The product which is out of stock.
* @var Product|Variant
*/
public $pro... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/exceptions/PriceBagException.php | classes/exceptions/PriceBagException.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Exceptions;
use RuntimeException;
class PriceBagException extends RuntimeException
{
/**
* Create a new exception.
* @param Product|Variant $product
*/
public function __construct(string $message)
{
parent::__construct(... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/totals/PaymentTotal.php | classes/totals/PaymentTotal.php | <?php
namespace OFFLINE\Mall\Classes\Totals;
use JsonSerializable;
use October\Contracts\Twig\CallsAnyMethod;
use OFFLINE\Mall\Classes\Traits\Rounding;
use OFFLINE\Mall\Models\PaymentMethod;
class PaymentTotal implements JsonSerializable, CallsAnyMethod
{
use Rounding;
/**
* @var int
*/
protec... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/totals/TaxTotal.php | classes/totals/TaxTotal.php | <?php
namespace OFFLINE\Mall\Classes\Totals;
use JsonSerializable;
use October\Contracts\Twig\CallsAnyMethod;
use OFFLINE\Mall\Classes\Traits\Rounding;
use OFFLINE\Mall\Classes\Utils\Money;
use OFFLINE\Mall\Models\Tax;
class TaxTotal implements JsonSerializable, CallsAnyMethod
{
use Rounding;
/**
* @va... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/totals/TotalsCalculator.php | classes/totals/TotalsCalculator.php | <?php
namespace OFFLINE\Mall\Classes\Totals;
use Carbon\Carbon;
use Illuminate\Support\Collection;
use October\Contracts\Twig\CallsAnyMethod;
use OFFLINE\Mall\Classes\Cart\DiscountApplier;
use OFFLINE\Mall\Classes\Traits\FilteredTaxes;
use OFFLINE\Mall\Classes\Traits\Rounding;
use OFFLINE\Mall\Models\Discount;
use OF... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/totals/TotalsCalculatorInput.php | classes/totals/TotalsCalculatorInput.php | <?php
namespace OFFLINE\Mall\Classes\Totals;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Models\Cart;
use OFFLINE\Mall\Models\Discount;
use OFFLINE\Mall\Models\PaymentMethod;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Models\ShippingMethod;
use OFFLINE\Mall\Models\Wishlist;
class TotalsCalculatorInput... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/totals/ShippingTotal.php | classes/totals/ShippingTotal.php | <?php
namespace OFFLINE\Mall\Classes\Totals;
use Carbon\Carbon;
use JsonSerializable;
use October\Contracts\Twig\CallsAnyMethod;
use OFFLINE\Mall\Classes\Cart\DiscountApplier;
use OFFLINE\Mall\Classes\Traits\Rounding;
use OFFLINE\Mall\Models\Discount;
use OFFLINE\Mall\Models\ShippingMethod;
use OFFLINE\Mall\Models\Sh... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/stats/OrdersStats.php | classes/stats/OrdersStats.php | <?php
namespace OFFLINE\Mall\Classes\Stats;
use DB;
use Illuminate\Support\Carbon;
use OFFLINE\Mall\Classes\PaymentState\PaidState;
use OFFLINE\Mall\Classes\PaymentState\PaymentState;
use OFFLINE\Mall\Models\Order;
use OFFLINE\Mall\Models\OrderState;
class OrdersStats
{
protected $ordersTable;
protected $st... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/utils/Money.php | classes/utils/Money.php | <?php
namespace OFFLINE\Mall\Classes\Utils;
use OFFLINE\Mall\Models\Currency;
interface Money
{
public function format(?float $value, $product = null, ?Currency $currency = null): string;
public function round($value, $decimals = 2): float;
}
| php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/utils/DefaultMoney.php | classes/utils/DefaultMoney.php | <?php
namespace OFFLINE\Mall\Classes\Utils;
use Illuminate\Support\Facades\App;
use OFFLINE\Mall\Models\Currency;
use Twig\Environment;
use Twig\Loader\ArrayLoader;
use Twig_Environment;
class DefaultMoney implements Money
{
/**
* @var Twig_Environment
*/
protected $twig;
public function __con... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/queries/UniquePropertyValuesInCategoriesQuery.php | classes/queries/UniquePropertyValuesInCategoriesQuery.php | <?php
namespace OFFLINE\Mall\Classes\Queries;
use DB;
use Illuminate\Support\Collection;
use October\Rain\Database\QueryBuilder;
/**
* This query is used to get a list of all unique property values in one or
* more categories. It is used to display a set of possible filters
* for all available property values.
*... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/queries/PriceRangeQuery.php | classes/queries/PriceRangeQuery.php | <?php
namespace OFFLINE\Mall\Classes\Queries;
use DB;
use Illuminate\Support\Collection;
use October\Rain\Database\QueryBuilder;
use OFFLINE\Mall\Models\Currency;
/**
* This query fetches the max and min prices of a category.
*/
class PriceRangeQuery
{
/**
* The currently active Currency.
*
* @v... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/queries/VariantByPropertyValuesQuery.php | classes/queries/VariantByPropertyValuesQuery.php | <?php
namespace OFFLINE\Mall\Classes\Queries;
use Closure;
use DB;
use Illuminate\Support\Collection;
use October\Rain\Database\QueryBuilder;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Models\PropertyValue;
/**
* This query is used to get a specific Variant model by
* an array of PropertyValue ids.
*/
clas... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/downloads/VirtualProductFileDownload.php | classes/downloads/VirtualProductFileDownload.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Downloads;
use Auth;
use Cms\Classes\Controller;
use Cms\Classes\Page;
use Flash;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Redirect;
use OFFLINE\Mall\Models\GeneralSettings;
use OFFLINE\Mall\Models\Product;
use OFFLINE\Mall\Model... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/events/MailingEventHandler.php | classes/events/MailingEventHandler.php | <?php
namespace OFFLINE\Mall\Classes\Events;
use Backend\Facades\Backend;
use Cms\Classes\Controller;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Queue;
use October\Rain\Database\Collection;
use October\Rain\Mail\Mailable;
use OFFLINE\Mall\Classes\Jobs\SendOrderConfirmationToCustomer;
use OFFL... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
OFFLINE-GmbH/oc-mall-plugin | https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3/classes/cart/DiscountApplier.php | classes/cart/DiscountApplier.php | <?php
declare(strict_types=1);
namespace OFFLINE\Mall\Classes\Cart;
use Auth;
use Illuminate\Support\Collection;
use OFFLINE\Mall\Classes\Totals\TotalsCalculatorInput;
use OFFLINE\Mall\Classes\Utils\Money;
use OFFLINE\Mall\Models\Discount;
class DiscountApplier
{
/**
* @var TotalsCalculatorInput
*/
... | php | MIT | 3f0580e3b46fb8d091bb049c1d6d6f0d1ef87dc3 | 2026-01-05T03:38:47.193464Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.