<?php
defined('SYSPATH') or exit('No direct script access.');
/**
* @class Model_Shipment
*
* Shipment.
* Tabela: shipments
*
* @property Model_Couriertemplate[] $shipment_couriertemplates
*
* @author Janusz Karnat (shagwest@gmail.com)
*/
class Model_Shipment extends ORM
{
use Traits_Model_VatRates;
public const FRONTEND_KEYS_CACHE = 'shipment_cache_frontend_keys';
public $multilang = ['title', 'text', 'text_email', 'title_internal'];
protected $_has_many = [
'templates' => [
'model' => 'shipmenttemplate',
'through' => 'shipmenttemplate',
'far_key' => 'template_id',
'foreign_key' => 'shipment_id',
],
'couriertemplates' => [
'model' => 'shipmentcouriertemplate',
'through' => 'shipmentcouriertemplates',
'far_key' => 'template_id',
'foreign_key' => 'shipment_id',
],
'shipment_couriertemplates' => [
'model' => 'couriertemplate',
'foreign_key' => 'shipment_id',
],
'payments' => [
'model' => 'payment',
'through' => 'shipmentpayment',
Key | Value |
lang_sellasist_check_2 | 1 |
lang_sellasist_check_3 | 1 |
lang_sellasist_check_4 | 1 |
lang_sellasist_check_5 | 1 |
lang_sellasist_check_6 | 1 |
lang_sellasist_check_7 | 1 |
lang_sellasist_check_8 | 1 |
lang_sellasist_check_12 | 1 |
Key | Value |
USER | sllgo12194 |
HOME | /home/sllgo12194 |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | wnm-test.devsel.pl |
SCRIPT_FILENAME | /home/sllgo12194/domains/wnm-test.devsel.pl/private_html/index.php |
REDIRECT_STATUS | 200 |
SERVER_NAME | wnm-test.devsel.pl |
SERVER_PORT | 443 |
SERVER_ADDR | 5.187.54.110 |
REMOTE_PORT | 38284 |
REMOTE_ADDR | 44.211.58.249 |
SERVER_SOFTWARE | nginx/1.25.3 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /home/sllgo12194/domains/wnm-test.devsel.pl/private_html |
DOCUMENT_URI | /index.php |
REQUEST_URI | /produkty/promocje |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711689757.2599 |
REQUEST_TIME | 1711689757 |