Singlepack Vivid Magenta T44J34N UltraChrome PRO 12 700ml
Piemērota printeriem:SC-P9500 STD SC-P9500 Spectro SC-P7500 SC-P7500 Spectro
298,57 €
if (!empty($action) && method_exists($this, 'displayAjax' . $action)) {$this->{'displayAjax' . $action}();} elseif (method_exists($this, 'displayAjax')) {$this->displayAjax();}} else {$this->display();}} else {$this->initCursedPage();$this->smartyOutputContent($this->layout);}}
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
/** * Initialize an address corresponding to the specified id address or if empty to the * default shop configuration. * * @param int|null $id_address * @param bool $with_geoloc * * @return Address */ Defined in <ROOT>/src/Adapter/AddressFactory.php:45
/** * Check if an address exists depending on given $id_address. * * @param int $id_address * @param bool $useCache [default=false] If true, use Cache for optimizing queries * * @return bool */ Defined in <ROOT>/src/Adapter/AddressFactory.php:60
/** * CartCore constructor. * * @param int|null $id Cart ID * null = new Cart * @param int|null $idLang Language ID * null = Language ID of current Context */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:199
/** * Set Tax calculation method. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:247
/** * Adds current Cart as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Whether the Cart has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:263
/** * Updates the current object in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Whether the Cart has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:291
/** * Update the Address ID of the Cart. * * @param int $id_address Current Address ID to change * @param int $id_address_new New Address ID */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:314
/** * Update the Delivery Address ID of the Cart. * * @param int $currentAddressId Current Address ID to change * @param int $newAddressId New Address ID */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:348
/** * Deletes current Cart from the database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:375
/** * Returns the average Tax rate for all products in the cart, as a multiplier. * * The arguments are optional and only serve as return values in case caller needs the details. * * @param float|null $cartAmountTaxExcluded If the reference is given, it will be updated with the * total amount in the Cart excluding Taxes * @param float|null $cartAmountTaxIncluded If the reference is given, it will be updated with the * total amount in the Cart including Taxes * * @return float Average Tax Rate on Products (eg. 0.2 for 20% average rate) */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:427
/** * Get Cart Rules. * * @param int $filter Filter enum: * - FILTER_ACTION_ALL * - FILTER_ACTION_SHIPPING * - FILTER_ACTION_REDUCTION * - FILTER_ACTION_GIFT * - FILTER_ACTION_ALL_NOCAP * @param bool $autoAdd automaticaly adds cart ruls without code to cart * @param bool $useOrderPrices * * @return array|false|mysqli_result|PDOStatement|resource|null Database result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:455
/** * Get cart discounts. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:520
/** * Return the CartRule IDs in the Cart. * * @param int $filter Filter enum: * - FILTER_ACTION_ALL * - FILTER_ACTION_SHIPPING * - FILTER_ACTION_REDUCTION * - FILTER_ACTION_GIFT * - FILTER_ACTION_ALL_NOCAP * * @return array * * @throws PrestaShopDatabaseException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:539
/** * Get amount of Customer Discounts. * * @param int $id_cart_rule CartRule ID * * @return int Amount of Customer Discounts * @todo: What are customer discounts? Isn't this just a PriceRule and shouldn't this method be renamed instead? */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:573
/** * Get last Product in Cart. * * @return bool|mixed Database result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:597
/** * Return cart products. * * @param bool $refresh * @param bool|int $id_product * @param int|null $id_country * @param bool $fullInfos * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return array Products */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:632
/** * Check if Addresses in the Cart are still valid and update with the next valid Address ID found. * * @return bool Whether the Addresses have been succesfully checked and upated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1234
/** * Return cart products quantity. * * @result integer Products quantity */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1258
/** * Add a CartRule to the Cart. * * @param int $id_cart_rule CartRule ID * @param bool $useOrderPrices * * @return bool Whether the CartRule has been successfully added */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1299
/** * Check if the Cart contains the given Product (Attribute). * * @param int $idProduct Product ID * @param int $idProductAttribute ProductAttribute ID * @param int $idCustomization Customization ID * @param int $idAddressDelivery Delivery Address ID * * @return array quantity index : number of product in cart without counting those of pack in cart * deep_quantity index: number of product in cart counting those of pack in cart */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1360
/** * Check if the Cart contains the given Product (Attribute). * * @deprecated 1.7.3.1 * @see Cart::getProductQuantity() * * @param int $id_product Product ID * @param int $id_product_attribute ProductAttribute ID * @param int $id_customization Customization ID * @param int $id_address_delivery Delivery Address ID * * @return array|bool Whether the Cart contains the Product * Result comes directly from the database */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1427
/** * Update Product quantity. * * @param int $quantity Quantity to add (or substract) * @param int $id_product Product ID * @param int|null $id_product_attribute Attribute ID if needed * @param int|false $id_customization Customization ID * @param string $operator Indicate if quantity must be increased or decreased * @param int $id_address_delivery Delivery Address ID * @param Shop|null $shop * @param bool $auto_add_cart_rule * @param bool $skipAvailabilityCheckOutOfStock * @param bool $preserveGiftRemoval * @param bool $useOrderPrices * * @return bool|int Whether the quantity has been successfully updated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1460
/** * Add customization item to database. * * @param int $id_product Product ID * @param int $id_product_attribute ProductAttribute ID * @param int $index Customization field identifier as id_customization_field in table customization_field * @param int $type Customization type can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param string $value Customization value * @param int $quantity Quantity value * @param bool $returnId if true - returns the customization record id * * @return bool|int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1745
/** * Check if order has already been placed. * * @return bool Indicates if the Order exists */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1801
/** * Remove the CartRule from the Cart. * * @param int $id_cart_rule CartRule ID * @param bool $useOrderPrices * * @return bool Whether the Cart rule has been successfully removed */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1817
/** * Delete a product from the cart. * * @param int $id_product Product ID * @param int|null $id_product_attribute Attribute ID if needed * @param int $id_customization Customization id * @param int $id_address_delivery Delivery Address id * @param bool $preserveGiftsRemoval If true gift are not removed so product is still in cart * @param bool $useOrderPrices If true, will use order prices to re-calculate cartRules after the product is deleted * * @return bool Whether the product has been successfully deleted */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1851
/** * This function returns the total cart amount. * * @param bool $withTaxes With or without taxes * @param int $type Total type enum * - Cart::ONLY_PRODUCTS * - Cart::ONLY_DISCOUNTS * - Cart::BOTH * - Cart::BOTH_WITHOUT_SHIPPING * - Cart::ONLY_SHIPPING * - Cart::ONLY_WRAPPING * - Cart::ONLY_PRODUCTS_WITHOUT_SHIPPING * - Cart::ONLY_PHYSICAL_PRODUCTS_WITHOUT_SHIPPING * @param array $products * @param int $id_carrier * @param bool $use_cache @deprecated * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return float Order total * * @throws \Exception */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2078
/** * get the populated cart calculator. * * @param array $products list of products to calculate on * @param array $cartRules list of cart rules to apply * @param int $id_carrier carrier id (fees calculation) * @param int|null $computePrecision * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return \PrestaShop\PrestaShop\Core\Cart\Calculator */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2217
/** * @return float */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2277
/** * @param array $product * * @return int|null */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2376
/** * Returns the tax address id according to the shop's configuration * * @return int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2398
/** * Get the gift wrapping price. * * @param bool $with_taxes With or without taxes * * @return float wrapping price */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2446
/** * Get the number of packages. * * @return int number of packages */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2500
/** * Get products grouped by package and by addresses to be sent individualy (one package = one shipping cost). * * @return array array( * 0 => array( // First address * 0 => array( // First package * 'product_list' => array(...), * 'carrier_list' => array(...), * 'id_warehouse' => array(...), * ), * ), * ); * * @todo Add avaibility check */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2527
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2776
/** * Get all deliveries options available for the current cart. * * @param Country $default_country * @param bool $flush Force flushing cache * * @return array array( * 0 => array( // First address * '12,' => array( // First delivery option available for this address * carrier_list => array( * 12 => array( // First carrier for this option * 'instance' => Carrier Object, * 'logo' => <url to the carriers logo>, * 'price_with_tax' => 12.4, * 'price_without_tax' => 12.4, * 'package_list' => array( * 1, * 3, * ), * ), * ), * is_best_grade => true, // Does this option have the biggest grade (quick shipping) for this shipping address * is_best_price => true, // Does this option have the lower price for this shipping address * unique_carrier => true, // Does this option use a unique carrier * total_price_with_tax => 12.5, * total_price_without_tax => 12.5, * position => 5, // Average of the carrier position * ), * ), * ); * If there are no carriers available for an address, return an empty array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2831
/** * Is the Carrier selected. * * @param int $id_carrier Carrier ID * @param int $id_address Address ID * * @return bool Indicated if the carrier is selected */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3151
/** * Get all deliveries options available for the current cart formatted like Carriers::getCarriersForOrder * This method was wrote for retrocompatibility with 1.4 theme * New theme need to use Cart::getDeliveryOptionList() to generate carriers option in the checkout process. * * @since 1.5.0 * @deprecated 1.7.0 * * @param Country $default_country Default Country * @param bool $flush Force flushing cache * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3184
/** * Simulate output of selected Carrier. * * @param bool $use_cache Use cache * * @return int Intified Cart output */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3240
/** * Does the Cart use multiple Addresses? * * @return bool Indicates if the Cart uses multiple Addresses */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3286
/** * Get all delivery Addresses object for the current Cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3302
/** * Set the delivery option and Carrier ID, if there is only one Carrier. * * @param array $delivery_option Delivery option array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3333
/** * Get the delivery option selected, or if no delivery option was selected, * the cheapest option for each address. * * @param Country|null $default_country Default country * @param bool $dontAutoSelectOptions Do not auto select delivery option * @param bool $use_cache Use cache * * @return array|false Delivery option */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3398
/** * Return shipping total for the cart. * * @param array|null $delivery_option Array of the delivery option for each address * @param bool $use_tax Use taxes * @param Country|null $default_country Default Country * * @return float Shipping total */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3472
/** * Return shipping total of a specific carriers for the cart. * * @param int $id_carrier Carrier ID * @param array $delivery_option Array of the delivery option for each address * @param bool $useTax Use Taxes * @param Country|null $default_country Default Country * @param array|null $delivery_option Delivery options array * * @return float Shipping total */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3509
/** * Return package shipping cost. * * @param int $id_carrier Carrier ID (default : current carrier) * @param bool $use_tax * @param Country|null $default_country * @param array|null $product_list list of product concerned by the shipping. * If null, all the product of the cart are used to calculate the shipping cost * @param int|null $id_zone Zone ID * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return float|bool Shipping total, false if not possible to ship with the given carrier */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3547
/** * Return total Cart weight. * * @return float Total Cart weight */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3885
/** * Return useful information about the cart for display purpose. * Products are splitted between paid ones and gift * Gift price and shipping (if shipping is free) are removed from Discounts * Any cart data modification for display purpose is made here. * * @return array Cart details */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3951
/** * Returns useful raw information about the cart. * Products, Discounts, Prices ... are returned in an array without any modification. * * @param int $id_lang * @param bool $refresh * * @return array Cart details * * @throws PrestaShopException * @throws LocalizationException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3973
/** * Check if product quantities in Cart are available. * * @param bool $returnProductOnFailure Return the first found product with not enough quantity * * @return bool|array If all products are in stock: true; if not: either false or an array * containing the first found product which is not in stock in the * requested amount */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4059
/** * Check if the product can be accessed by the Customer. * * @return bool Indicates if the Customer in the current Cart has access */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4113
/** * Check if cart contains only virtual products. * * @return bool true if is a virtual cart or false */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4160
/** * Check if there's a product in the cart. * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4184
/** * Return true if the current cart contains a real product. * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4201
/** * Add customer's text. * * @param int $id_product Product ID * @param int $index Customization field identifier as id_customization_field in table customization_field * @param int $type Customization type can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param string $text_value * @param bool $returnCustomizationId if true - returns the customizationId * * @return bool Always true */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4268
/** * Add customer's pictures. * * @param int $id_product Product ID * @param int $index Customization field identifier as id_customization_field in table customization_field * @param int $type Customization type can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param string $file Filename * @param bool $returnCustomizationId if true - returns the customizationId * * @return bool Always true */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4292
/** * Remove a customer's customization. * * @param int $id_product Product ID * @param int $index Customization field identifier as id_customization_field in table customization_field * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4313
/** * Return custom pictures in this cart for a specified product. * * @param int $id_product Product ID * @param int|null $type Only return customization of this type, can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param bool $not_in_cart Only return customizations that are not in the cart already * * @return array Result from DB */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4367
/** * Duplicate this Cart in the database. * * @return array|bool Duplicated cart, with success bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4415
/** * Get Cart rows from DB for the webservice. * * @return array|false|mysqli_result|PDOStatement|resource|null DB result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4558
/** * Insert cart rows from webservice. * * @param array $values Values from webservice * * @return bool Whether the values have been successfully inserted * @todo: This function always returns true, make it depend on actual result of DB query */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4575
/** * Set delivery Address of a Product in the Cart. * * @param int $id_product Product ID * @param int $id_product_attribute Product Attribute ID * @param int $old_id_address_delivery Old delivery Address ID * @param int $new_id_address_delivery New delivery Address ID * * @return bool Whether the delivery Address of the product in the Cart has been successfully updated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4604
/** * Set customized data of a product. * * @param Product $product Referenced Product object * @param array $customized_datas Customized data */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4677
/** * Duplicate Product. * * @param int $id_product Product ID * @param int $id_product_attribute Product Attribute ID * @param int $id_address_delivery Delivery Address ID * @param int $new_id_address_delivery New Delivery Address ID * @param int $quantity Quantity value * @param bool $keep_quantity Keep the quantity, do not reset if true * * @return bool Whether the product has been successfully duplicated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4699
/** * Update products cart address delivery with the address delivery of the cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4819
/** * Set an address to all products on the cart without address delivery. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4892
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4922
/** * isCarrierInRange. * * Check if the specified carrier is in range * * @id_carrier int * @id_zone int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4937
/** * Checks if all products of the cart are still available in the current state. They might have been converted to another * type of product since then, ordering disabled or deactivated. * * @return bool false if one of the product not publicly orderable anymore */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5000
/** * Are all products of the Cart in stock? * * @param bool $ignoreVirtual Ignore virtual products * @param bool $exclusive (DEPRECATED) If true, the validation is exclusive : it must be present product in stock and out of stock * * @since 1.5.0 * * @return bool False if not all products in the cart are in stock */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5030
/** * Checks that all products in cart have minimal required quantities * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5080
/** * Get all the IDs of the delivery Addresses without Carriers. * * @param bool $return_collection Returns sa collection * @param array $error Contains an error message if an error occurs * * @return array Array of address id or of address object */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5100
/** * Get products with gifts and manually added occurrences separated. * * @return array|null */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5164
/** * @return Country * * @throws \PrestaShopDatabaseException * @throws \PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5179
/** * @return float */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5293
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * @param array $row * @param Context $shopContext * @param int|null $productQuantity * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return mixed */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:858
/** * Customization management. * * @param int $quantity Quantity value to add or subtract * @param int $id_customization Customization ID * @param int $id_product Product ID * @param int $id_product_attribute ProductAttribute ID * @param int $id_address_delivery Delivery Address ID * @param string $operator Indicate if quantity must be increased (up) or decreased (down) * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1677
/** * @param int $id_product * @param int $id_product_attribute * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1943
/** * Delete a Customization from the Cart. If the Customization is a Picture, * then the Image is also deleted. * * @param int $id_customization Customization Id * @param int|null $id_product Unused * @param int|null $id_product_attribute Unused * @param int|null $id_address_delivery Unused * * @return bool Indicates if the Customization was successfully deleted * @todo: Remove unused parameters */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1977
/** * @param array $products * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2291
/** * @param array $products * * @return int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2312
/** * @param int $type * @param bool $withShipping * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2323
/** * @param bool $withTaxes * @param array $product * @param Context|null $virtualContext * * @return int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2354
/** * @param bool $withTaxes * @param int $type * * @return float|int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2416
/** * Get Carrier ID from Delivery Option. * * @param array $delivery_option Delivery options array * * @return int|mixed Carrier ID */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3374
/** * Ask the module the package shipping cost. * * If a carrier has been linked to a carrier module, we call it order to review the shipping costs. * * @param Carrier $carrier The concerned carrier (Your module may have several carriers) * @param float $shipping_cost The calculated shipping cost from the core, regarding package dimension and cart total * @param array $products The list of products * * @return bool|float The package price for the module (0 if free, false is disabled) */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3850
/** * @param int $productId */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3906
/** * Set flag to split lines of products given away and also manually added to cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5124
/** * Set flag to merge lines of products given away and also manually added to cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5135
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5143
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5151
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:228
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1167
/** * Get number of products in cart * This is the total amount of products, not just the types. * * @param int $id Cart ID * * @return mixed */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1275
/** * Get formatted total amount in Cart. * * @param int $id_cart Cart ID * @param bool $use_tax_display Whether the tax should be displayed * @param int $type Type enum: * - ONLY_PRODUCTS * - ONLY_DISCOUNTS * - BOTH * - BOTH_WITHOUT_SHIPPING * - ONLY_SHIPPING * - ONLY_WRAPPING * * @return string Formatted amount in Cart */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2028
/** * Get total in Cart using a tax calculation method. * * @param int $id_cart Cart ID * * @return string Formatted total amount in Cart * @todo: What is this? */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2051
/** * Sort list of option delivery by parameters define in the BO. * * @param array $option1 * @param array $option2 * * @return int -1 if $option 1 must be placed before and 1 if the $option1 must be placed after the $option2 */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3125
/** * Translate a string option_delivery identifier ('24,3,') in a int (3240002000). * * The option_delivery identifier is a list of integers separated by a ','. * This method replace the delimiter by a sequence of '0'. * The size of this sequence is fixed by the first digit of the return * * @return string Intified value */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3260
/** * Translate an int option_delivery identifier (3240002000) in a string ('24,3,'). */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3271
/** * Last abandoned Cart. * * @param int $id_customer Customer ID * * @return bool|int Last abandoned Cart ID * false if not found */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4136
/** * Build cart object from provided id_order. * * @param int $id_order * * @return Cart|bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4231
/** * Get Cart ID by Order ID. * * @param int $id_order Order ID * * @return int|bool Cart ID, false if not found */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4247
/** * Get Carts by Customer ID. * * @param int $id_customer Customer ID * @param bool $with_order Only return Carts that have been converted into an Order * * @return array|false|mysqli_result|PDOStatement|resource|null DB result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4400
/** * Is the Cart from a guest? * * @param int $id_cart Cart ID * * @return bool True if the Cart has been made by a guest Customer */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4981
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * CustomerCore constructor. * * @param int|null $id */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:225
/** * Adds current Customer as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:243
/** * Adds current Customer as a new Object to the database. * * @param bool $autodate Automatically set `date_upd` and `date_add` columns * @param bool $null_values Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:288
/** * Updates the current Customer in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:317
/** * Updates the current Customer in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:357
/** * Deletes current Customer from the database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:385
/** * Return customer instance from its e-mail (optionally check password). * * @param string $email e-mail * @param string $plaintextPassword Password is also checked if specified * @param bool $ignoreGuest to ignore guest customers * * @return bool|Customer|CustomerCore Customer instance * * @throws \InvalidArgumentException if given input is not valid */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:449
/** * Return customer addresses. * * @param int $idLang Language ID * * @return array Addresses */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:651
/** * Get simplified Addresses arrays. * * @param int|null $idLang Language ID * * @return array */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:684
/** * Get Address as array. * * @param int $idAddress Address ID * @param int|null $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:712
/** * Get SQL query to retrieve Address in an array. * * @param int|null $idAddress Address ID * @param int|null $idLang Language ID * * @return string */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:756
/** * Return several useful statistics about customer. * * @return array Stats */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:942
/** * Get last 10 emails sent to the Customer. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:972
/** * Get last 10 Connections of the Customer. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:992
/** * Update customer groups associated to the object. * * @param array $list groups */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1039
/** * Remove this Customer ID from Customer Groups. * * @return bool Indicates whether the Customer ID has been successfully removed * from the Customer Group Db table */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1058
/** * Add the Customer to the given Customer Groups. * * @param array $groups Customer Group IDs */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1068
/** * Get Groups of this Customer * * @return array|mixed */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1113
/** * Get Products bought by this Customer. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1123
/** * Is the current Customer a Guest? * * @return bool Indicates whether the Customer is a Guest */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1193
/** * Transform the Guest to a Customer. * * @param int $idLang Language ID * @param string|null $password Password * * @return bool Indicates if a process has been successful */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1206
/** * Set password * (for webservice). * * @param string $passwd Password * * @return bool Indictes whether the password has been successfully set */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1313
/** * Check customer information and return customer validity. * * @since 1.5.0 * * @param bool $withGuest * * @return bool customer validity */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1333
/** * Logout. * * @since 1.5.0 */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1354
/** * Soft logout, delete everything that links to the customer * but leave there affiliate's information. * * @since 1.5.0 */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1374
/** * Get last empty Cart for this Customer, when last cart is not empty return false. * * @param bool|true $withOrder Only return a Cart that have been converted into an Order * * @return bool|int */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1395
/** * Validate controller and check password * * @param bool $htmlentities * * @return array * * @deprecated 8.1.0 The password check has been moved in controllers and this method is not called anywhere since 1.7.0 */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1416
/** * Get outstanding amount. * * @return float Outstanding amount */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1433
/** * Get Customer Groups * (for webservice). * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1461
/** * Set Customer Groups * (for webservice). * * @param array $result * * @return bool */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1480
/** * @see ObjectModel::getWebserviceObjectList() */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1495
/** * Fill Reset password unique token with random sha1 and its validity date. For forgot password feature. */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1505
/** * Test if a reset password token is present and is recent enough to avoid creating a new one (in case of customer triggering the forgot password link too often). */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1516
/** * Returns the valid reset password token if it validity date is > now(). */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1533
/** * Delete reset password token data. */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1549
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Return customers list. * * @param bool|null $onlyActive Returns only active customers when `true` * * @return array Customers */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:426
/** * Retrieve customers by email address. * * @param string $email * * @return array Customers */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:531
/** * Check id the customer is active or not. * * @param int $idCustomer * * @return bool Customer validity */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:548
/** * Check if e-mail is already registered in database. * * @param string $email e-mail * @param bool $returnId If true the method returns the Customer ID, or boolean * @param bool $ignoreGuest to ignore guest customers * * @return bool|int Customer ID if found * `false` otherwise */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:579
/** * Check if an address is owned by a customer. * * @param int $idCustomer Customer ID * @param int $idAddress Address ID * * @return bool result */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:603
Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:618
/** * Reset Address cache. * * @param int $idCustomer Customer ID * @param int $idAddress Address ID */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:631
/** * Count the number of addresses for a customer. * * @param int $idCustomer Customer ID * * @return int Number of addresses */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:811
/** * Check if customer password is the right one. * * @param int $idCustomer Customer ID * @param string $passwordHash Hashed password * * @return bool result */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:829
/** * Light back office search for customers. * * @param string $query Searched string * @param int|null $limit Limit query results * @param ShopConstraint|null $shopConstraint provide specific shop constraint or else it will use context shops for search * * @return array|false|mysqli_result|PDOStatement|resource|null Corresponding customers * * @throws PrestaShopDatabaseException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:870
/** * Search for customers by ip address. * * @param string $ip Searched string * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:927
/** * Check if Customer ID exists. * * @param int $idCustomer Customer ID * * @return int|null Customer ID if found */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1018
/** * Get Groups that have the given Customer ID. * * @param int $idCustomer Customer ID * * @return array|mixed */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1084
/** * Get Default Customer Group ID. * * @param int $idCustomer Customer ID * * @return mixed|string|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1138
/** * Get current country or default country * * @param int $idCustomer * @param Cart|null $cart * * @return int Country ID */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1169
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
2024-05-20 07:43:36 UTC
/** * PhpEncryptionCore constructor. * * @param string $hexString A string that only contains hexadecimal characters * Bother upper and lower case are allowed */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:43
/** * Encrypt the plaintext. * * @param string $plaintext Plaintext * * @return string Cipher text */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:56
/** * Decrypt the cipher text. * * @param string $cipherText Cipher text * * @return bool|string Plaintext * `false` if unable to decrypt * * @throws Exception */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:71
/** * @param string $header * @param string $bytes * * @return string * * @throws \Defuse\Crypto\Exception\EnvironmentIsBrokenException */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:84
/** * @return string * * @throws Exception */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:96
/** * Choose which engine use regarding the OpenSSL cipher methods available. */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:113
/** * Get data if the cookie exists and else initialize an new one. * * @param string $name Cookie name before encrypting * @param string $path */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:98
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:127
/** * Set expiration date. * * @param int $expire Expiration time from now */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:183
/** * Magic method wich return cookie data from _content array. * * @param string $key key wanted * * @return string value corresponding to the key */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:195
/** * Magic method which check if key exists in the cookie. * * @param string $key key wanted * * @return bool key existence */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:207
/** * Magic method which adds data into _content array. * * @param string $key Access key for the value * @param mixed $value Value corresponding to the key * * @throws Exception */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:220
/** * Magic method which delete data into _content array. * * @param string $key key wanted */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:239
/** * Delete cookie * As of version 1.5 don't call this function, use Customer::logout() or Employee::logout() instead;. */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:251
/** * Soft logout, delete everything links to the customer * but leave there affiliate's informations. * As of version 1.5 don't call this function, use Customer::mylogout() instead;. */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:265
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:285
/** * Get cookie content. */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:298
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:405
/** * Save cookie with setcookie(). */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:413
/** * Get a family of variables (e.g. "filter_"). */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:445
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:460
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:468
/** * @return string name of cookie */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:476
/** * Check if the cookie exists. * * @since 1.5.0 * * @return bool */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:488
/** * Register a new session * * @param SessionInterface $session */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:498
/** * Delete session * * @return bool */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:520
/** * Check if this session is still alive * * @return bool */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:541
/** * Retrieve session based on a session id and the employee or * customer id * * @return SessionInterface|null */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:565
/** * @param array|null $shared_urls * * @return bool|string */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:137
/** * Encrypt and set the Cookie. * * @param string|null $cookie Cookie content * * @return bool Indicates whether the Cookie was successfully set * * @since 1.7.0 */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:350
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:23
/** * @return \SessionHandlerInterface */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:33
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:44
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:53
/** * @return string|false */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:62
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:71
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:80
/** * @return int|false */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:89
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:98
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:107
/** * Gets the session.save_handler name. * * @return string|null */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:36
/** * Is this proxy handler and instance of \SessionHandlerInterface. * * @return bool */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:46
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. * * @return bool */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:56
/** * Has a session started? * * @return bool */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:66
/** * Gets the session ID. * * @return string */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:76
/** * Sets the session ID. * * @param string $id * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:88
/** * Gets the session name. * * @return string */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:102
/** * Sets the session name. * * @param string $name * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:114
2024-04-30 07:43:36 UTC
/** * @param string $storageKey The key used to store bag in the session * @param int $updateThreshold The time to wait between two UPDATED updates */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:60
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:69
/** * Gets the lifetime that the session cookie was set with. * * @return int */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:90
/** * Stamps a new session's metadata. * * @param int $lifetime Sets the cookie lifetime for the session cookie. A null value * will leave the system settings unchanged, 0 sets the cookie * to expire with browser session. Time is in seconds, and is * not a Unix timestamp. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:103
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:111
/** * Gets the created timestamp metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:121
/** * Gets the last used metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:131
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:139
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:147
/** * Sets name. * * @param string $name */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:157
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:162
/** * @param AbstractProxy|\SessionHandlerInterface|null $handler */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php:26
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php:39
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php:53
/** * Gets the save handler instance. * * @return AbstractProxy|\SessionHandlerInterface */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:133
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:211
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:219
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:227
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:235
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:243
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:279
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:338
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:350
Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:365
/** * Gets the MetadataBag. * * @return MetadataBag */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:379
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:387
/** * Sets session.* ini variables. * * For convenience we omit 'session.' from the beginning of the keys. * Explicitly ignores other ini keys. * * @param array $options Session ini directives [key => value] * * @see https://php.net/session.configuration */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:402
/** * Registers session save handler as a PHP session handler. * * To use internal PHP session save handlers, override this method using ini_set with * session.save_handler and session.save_path e.g. * * ini_set('session.save_handler', 'files'); * ini_set('session.save_path', '/tmp'); * * or pass in a \SessionHandler instance which configures session.save_handler in the * constructor, for a template see NativeFileSessionHandler. * * @see https://php.net/session-set-save-handler * @see https://php.net/sessionhandlerinterface * @see https://php.net/sessionhandler * * @param AbstractProxy|\SessionHandlerInterface|null $saveHandler * * @throws \InvalidArgumentException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:456
/** * Load the session with attributes. * * After starting the session, PHP retrieves the session from whatever handlers * are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). * PHP takes the return value from the read() handler, unserializes it * and populates $_SESSION with the result automatically. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:489
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:39
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:55
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:63
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:71
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:79
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:87
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:95
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:103
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:111
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:119
/** * Returns an iterator for attributes. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:130
/** * Returns the number of attributes. * * @return int */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:141
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:146
/** * @internal */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:154
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:171
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:181
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:189
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:197
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:205
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:215
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:223
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:231
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:241
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:249
/** * Gets the flashbag interface. * * @return FlashBagInterface */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:261
/** * Gets the attributebag interface. * * Note that this method was added to help with IDE autocompletion. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:271
/** * Constructor (initialization only). * * @param string|null $protocolLink * @param string|null $protocolContent */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:57
/** * Create a link to delete a product. * * @param Product|array|int $product ID of the product OR a Product object * @param int $idPicture ID of the picture to delete * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:89
/** * Return a product object from various product format. * * @param Product|array|int $product * @param int $idLang * @param int $idShop * * @return Product * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:107
/** * Create a link to a product. * * @param ProductCore|array|int $product Product object (can be an ID product, but deprecated) * @param string|null $alias * @param string|null $category * @param string|null $ean13 * @param int|null $idLang * @param int|null $idShop (since 1.5.0) ID shop need to be used when we generate a product link for a product in a cart * @param int|null $idProductAttribute ID product attribute * @param bool $force_routes * @param bool $relativeProtocol * @param bool $withIdInAnchor * @param array $extraParams * @param bool $addAnchor * * @return string * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:142
/** * Get the URL to remove the Product from the Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:263
/** * Get URL to add one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:296
/** * Get URL to remove one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:313
/** * Get URL to update quantity of Product in Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * @param string|null $op * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:331
/** * Get add to Cart URL. * * @param int $idProduct * @param int $idProductAttribute * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:369
/** * Return a category object from various category format. * * @param Category|array|int $category * @param int $idLang * * @return Category * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:396
/** * Create a link to a category. * * @param CategoryCore|array|int|string $category Category object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param string|null $selectedFilters Url parameter to autocheck filters of the module blocklayered * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:423
/** * Create a link to a CMS category. * * @param CMSCategory|int $cmsCategory CMSCategory object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:484
/** * Create a link to a CMS page. * * @param CMS|int $cms CMS object * @param string|null $alias * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:536
/** * Create a link to a supplier. * * @param Supplier|int $supplier Supplier object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:587
/** * Create a link to a manufacturer. * * @param Manufacturer|int $manufacturer Manufacturer object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:639
/** * Create a link to a module. * * @since 1.5.0 * * @param string $module Module name * @param string $controller * @param array $params * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:685
/** * Use controller name to create a link. * * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param string $controller * @param bool $withToken include or not the token in the url * @param array $sfRouteParams (Since 1.7.0.0) Optional parameters to use into New architecture specific cases. If these specific cases should redirect to legacy URLs, then this parameter is used to complete GET query string * @param array $params (Since 1.7.0.3) Optional * * @return string url */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:727
/** * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param array $tab * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:868
/** * Used when you explicitly want to create a LEGACY admin link, this should be deprecated * in 1.8.0. * * @param string $controller * @param bool $withToken * @param array $params * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:893
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:911
/** * Search for a shop whose domain matches the current url. * * @return int|null */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:946
/** * Returns a link to a product image for display * Note: the new image filesystem stores product images in subdirectories of img/p/. * * @param string $name rewrite link of the image * @param string $ids id part of the image filename - can be "id_product-id_image" (legacy support, recommended) or "id_image" (new) * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:990
/** * Returns a link to a supplier image for display. * * @param int $idSupplier * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1029
/** * Returns a link to a manufacturer image for display. * * @param int $idManufacturer * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1055
/** * Returns a link to a store image for display. * * @param string $name * @param int $idStore * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1082
/** * @param string $filepath * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1104
/** * Create a simple link. * * @param string $controller * @param bool|null $ssl * @param int|null $idLang * @param string|array|null $request * @param bool $requestUrlEncode Use URL encode * @param int|null $idShop * @param bool $relativeProtocol * * @return string Page link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1122
/** * @param string $name * @param int $idCategory * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1171
/** * Retrieves a link for the current page in different language. * * @param int $idLang Language ID * @param Context|null $context the context if needed * * @return string link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1190
/** * @param string $url * @param int $p * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1246
/** * Get pagination link. * * @param string $type Controller name * @param int $idObject * @param bool $nb Show nb element per page attribute * @param bool $sort Show sort attribute * @param bool $pagination Show page number attribute * @param bool $array If false return an url, if true return an array * * @return string|array */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1265
/** * @param string $url * @param string $orderBy * @param string $orderWay * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1341
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1382
/** * Check if url match with current url. * * @param string $url * * @return bool */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1442
/** * @param int|null $idLang * @param Context|null $context * @param int|null $idShop * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1353
/** * Clean url http://website.com/admin_dir/foo => foo * Remove index.php? * Remove last char if it's ? or & * Remove token if exists. * * @param string $url * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1413
/** * @param array $params * * @return string * * @throws \InvalidArgumentException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1456
/** * Deletes current Country from the database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:121
/** * Does the Country need a DNI. * * @return bool Indicates whether the Country needs a DNI */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:388
/** * Apply Zone to selected Countries. * * @param array $idsCountries Country array * @param int $idZone Zone ID * * @return bool Indicates whether the Zone was successfully applied */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:431
/** * Replace letters of zip code format And check this format on the zip code. * * @param string $zipCode zip code * * @return bool Indicates whether the zip code is correct */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:448
/** * Adds current Country as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Country has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:519
/** * Builds the object. * * @param int|null $id if specified, loads and existing object from DB (optional) * @param int|null $id_lang required if object is multilingual (optional) * @param int|null $id_shop ID shop for objects with multishop tables * @param TranslatorComponent|null $translator * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:246
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Updates the current object in the database. * * @param bool $null_values * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:769
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * @brief Return available countries * * @param int $idLang Language ID * @param bool $active return only active coutries * @param bool $containStates return only country with states * @param bool $listStates Include the states list with the returned list * * @return array Countries and corresponding zones */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:140
Inherited from CountryCore Defined in <ROOT>/classes/Country.php:166
/** * Get a country ID with its iso code. * * @param string $isoCode Country iso code * @param bool $active return only active countries * * @return int|bool Country ID */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:184
/** * Get Zone ID by Country. * * @param int $idCountry Country ID * * @return bool|int */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:211
/** * Get a country name with its ID. * * @param int $idLang Language ID * @param int $idCountry Country ID * * @return string Country name */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:243
/** * Get a country iso with its ID. * * @param int $idCountry Country ID * * @return string|bool Country iso */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:269
/** * Get a country id with its name. * * @param int|null $idLang Language ID * @param string $country Country Name * * @return int|bool Country ID */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:292
/** * Does the Country need a zip code? * * @param int $idCountry Country ID * * @return bool Indicates whether the Country needs a zip code */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:318
/** * Get zip code format for Country. * * @param int $idCountry Country ID * * @return bool|false|string|null */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:337
/** * Get Countries by Zone ID. * * @param int $idZone Zone ID * @param int $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:363
/** * Does the given Country need a DNI? * * @param int $idCountry Country ID * * @return bool Indicates whether the Country needs a DNI */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:400
/** * Does the given Country contain States? * * @param int $idCountry Country ID * * @return bool Indicates whether the Country contains States */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:415
/** * Add module restrictions. * * @param array $shops Shops array * @param array $countries Countries array * @param array $modules Modules array * * @return bool Indictes whether the restrictions were successfully applied */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:471
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * reset static cache (eg unit testing purpose). */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:209
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:188
/** * Move translations files after editing language iso code. */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:201
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:251
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:277
/** * Checks if every files exists for this language * * @see checkFilesWithIsoCode() * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:301
/** * loadUpdateSQL will create default lang values when you create a new lang, based on current lang id. * * @return bool True if success */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:502
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:610
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:700
/** * @return string return the language locale, or its code by default */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1744
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1754
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1762
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1770
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1778
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1786
/** * Builds the object. * * @param int|null $id if specified, loads and existing object from DB (optional) * @param int|null $id_lang required if object is multilingual (optional) * @param int|null $id_shop ID shop for objects with multishop tables * @param TranslatorComponent|null $translator * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:246
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:143
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:150
/** * This functions checks if every files exists for the language $iso_code. * Concerned files are those located in translations/$iso_code/ * and translations/mails/$iso_code . * * @param string $iso_code 2-letter ISO code * * @return bool True if all files exists */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:315
/** * @param string $iso_from * @param string $theme_from * @param string|bool $iso_to * @param string|bool $theme_to * @param bool|string $select * @param bool $check * @param bool $modules * * @return string[] * * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:344
/** * Returns installed languages. * * @see loadLanguages() * * @param bool $active Select only active languages * @param int|bool $id_shop Shop ID * @param bool $ids_only If true, returns an array of language IDs * * @return array<int|array> Language information */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:726
/** * Returns an array of installed language IDs. * * @param bool $active Select only active languages * @param int|false $id_shop Shop ID * * @return array */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:752
/** * Returns installed language information for the provided id_lang * * @param int $id_lang Language Id * * @return array|false */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:764
/** * Return iso code from id (installed languages only). * * @param int $id_lang Language ID * * @return string|bool 2-letter ISO code */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:783
/** * Provides locale by language id (e.g. en-US, fr-FR, ru-RU) * * @param int $langId * * @return string|null */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:802
/** * Returns language information form the all_languages file using IETF language tag * * @param string $locale IETF language tag * * @return array|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:824
/** * Returns language id from iso code. * * @param string $iso_code Iso code * @param bool $no_cache * * @return int|null Language id, or null if not found */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:846
/** * Returns language id from locale * * @param string $locale Locale IETF language tag * @param bool $noCache * * @return int|false|null */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:875
/** * Returns language information from the all-languages file * * @param string $iso 2-letter ISO code * * @return string[]|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:903
/** * Returns locale with iso parameter. * * @param string $isoCode 2-letter ISO code * * @return string|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:921
/** * Returns iso with locale parameter. * * @param string $locale * * @return string|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:943
/** * Retrieves a language code from an installed language using a 2-letter iso code * * @param string $iso_code 2-letter iso code * * @return string|false Returns the language code, or false if it doesn't exist * * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:965
/** * Retrieves an installed language by IETF language tag * * @param string $code IETF language tag * * @return Language|false * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:984
/** * Return array (id_lang, iso_code). * * @param bool $active Select only active languages * * @return array Language (id_lang, iso_code) */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1023
/** * Copies translated information in *_lang tables from one language to another * * @param int $from Source language id * @param int $to Destination language id * * @return true * * @throws PrestaShopDatabaseException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1041
/** * Load all installed languages in memory for caching. */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1072
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1096
/** * Adds a language * * @param string $iso_code 2-letter language ISO code * @param array|false $lang_pack [default=false] Pack information. By default, this is automatically retrieved from all_languages.json. * @param bool $only_add [default=false] If true, do not create copies of translated fields in *_lang tables * @param ?array $params_lang [default=null] See allow_accented_chars_url * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1125
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1181
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1194
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1207
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1224
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1243
/** * Downloads a language pack into local cache * * @param string $locale IETF language tag * @param array $errors * @param string $type self:PACK_TYPE_SYMFONY|self::PACK_TYPE_EMAILS * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1266
/** * Extracts a local translation pack * * @param string $locale IETF language tag * @param array $errors * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1317
/** * Installs a language pack and updates language sensitive information * * @param string $iso Language ISO code * @param array $params Optional parameters for self::checkAndAddLanguage * @param array $errors * * @return array|true Array of errors, or true if all goes well * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1389
/** * Installs the first language pack (during shop install) * * @param string $iso Language ISO code * @param array $params Optional parameters for self::checkAndAddLanguage * @param array $errors * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1433
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1482
/** * Check if more on than one language is activated. * * @since 1.5.0 * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1511
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1516
/** * Updates multilanguage tables in all languages using DataLang * * @param array $modules_list [deprecated since 1.7.7] Not used anymore */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1537
/** * Update all table_lang from xlf & DataLang. * * @param string $iso_code 2-letter language code * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1552
/** * Translates translatable content in the requested database tables * * @param Language $language Language to translate to * @param string[] $tablesToUpdate Tables to update (including datbase prefix, ending in _lang) * * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1581
/** * @param Language $lang * * @throws PrestaShopDatabaseException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1604
/** * Updates multilang tables using DataLang classes * * @param string $table * @param string $className * @param LanguageCore $lang * * @throws PrestaShopDatabaseException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1641
/** * Returns an RTL stylesheet processor instance. * * @return RtlStylesheetProcessor */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1697
/** * Indicates if a given translation pack exists in cache * * @param string $type IETF language tag * @param string $locale self::PACK_TYPE_SYMFONY|self::PACK_TYPE_EMAILS * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1723
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
https://i18n.prestashop-project.org/translations/%version%/%locale%/%locale%.zip
/** * CurrencyCore constructor. * * @param int|null $id * @param int|false|null $idLang if null or false, default language will be used * @param int|null $idShop */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:244
/** * @param string|null $ws_params_attribute_name * * @return array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:301
/** * If the field 'names' (localized names) is sent, * it should be use instead of the field 'name' (non-localized). * LocalizedNames is also updated to reflect the new information. */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:317
/** * In 1.7.6, new fields have been introduced. To keep it backward compatible, * we need to populate those fields with default values and they are all available * using the ISO code through CLDR data. */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:340
/** * Overriding check if currency rate is not empty and if currency with the same iso code already exists. * If it's true, currency is not added. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Currency has been successfully added */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:394
/** * Updates the current object in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the CartRule has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:413
/** * Delete given Currencies. * * @param array $selection Currencies * * @return bool Indicates whether the selected Currencies have been succesfully deleted */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:444
/** * Deletes current object from database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:472
/** * Return formatted sign. * * @param string $side left or right * * @return string formated sign */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:496
/** * Is this currency installed for a given shop ? * (current shop by default). * * @param int|null $currencyId * The currency to look for ( * @param int|null $shopId * The given shop's id * * @return bool * True if this currency is installed for the given shop */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:513
/** * Returns the name of the currency (using the translated name base on the id_lang * provided on creation). This method is useful when $this->name contains an array * but you still need to get its name as a string. * * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:536
/** * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:553
/** * Names indexed by language id * * @return string[] */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:576
/** * This setter updates the name field because it is used when you want to update * the database (legacy core feature). But to be consistent the names field also * needs to be updated. * * @param string[] $localizedNames list of currency names, the array needs to be indexed by language id * * @return $this */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:590
/** * Symbols indexed by language id * * @return string[] */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:602
/** * This setter updates the symbol field because it is used when you want to update * the database (legacy core feature). But to be consistent the symbols field also * needs to be updated. * * @param string[] $localizedSymbols list of currency symbols, the array needs to be indexed by language id * * @return CurrencyCore */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:616
/** * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:626
/** * Patterns indexed by language id * * @return string[] */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:636
/** * This setter updates the pattern field because it is used when you want to update * the database (legacy core feature). But to be consistent the patterns field also * needs to be updated. * * @param string[] $localizedPatterns list of currency patterns, the array needs to be indexed by language id * * @return CurrencyCore */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:650
/** * @param int|null $shopId * * @return array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:720
/** * Refresh the currency exchange rate * The XML file define exchange rate for each from a default currency ($isoCodeSource). * * @param SimpleXMLElement $data XML content which contains all the exchange rates * @param string $isoCodeSource The default currency used in the XML file * @param Currency $defaultCurrency The default currency object */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:984
/** * Get conversion rate. * * @return int|string * * @deprecated 1.7.2.0, use Currency::getConversionRate() instead */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1102
/** * Get conversion rate. * * @return int|string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1114
/** * This method aims to update localized data in currency from CLDR reference. * * @param array $languages * @param LocaleRepository $localeRepoCLDR * * @throws PrestaShopDatabaseException * @throws PrestaShopException * @throws \PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1166
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * reset static cache (eg unit testing purpose). */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:377
/** * Check if a Currency already exists. * * @param int|string $isoCode int for iso code number string for iso code * @param int $idShop Shop ID * * @return bool Indicates whether the Currency already exists */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:430
/** * Return available currencies. * * @param bool $object * @param bool $active * @param bool $groupBy * * @return array Currencies */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:666
/** * Retrieve all currencies data from the database. * * @param bool $active If true only active are returned * @param bool $groupBy Group by id_currency * @param bool $currentShopOnly If true returns only currencies associated to current shop * * @return array Currency data from database * * @throws PrestaShopDatabaseException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:685
/** * Retrieve all currencies data from the database. * * @return array Currency data from database * * @throws PrestaShopDatabaseException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:706
/** * Get Currencies by Shop ID. * * @param int $idShop Shop ID * * @return array|Currency */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:742
/** * @param int $idModule * @param int|null $idShop * * @return array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:789
/** * Get payment Currencies. * * @param int $idModule Module ID * @param int|null $idShop Shop ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:811
/** * Check payment Currencies. * * @param int $idModule Module ID * @param int|null $idShop Shop ID * * @return array|PDOStatement|resource|null */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:837
/** * Get Currency. * * @param int $idCurrency Currency ID * * @return array|bool|object|null */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:865
/** * Get Currency ID by ISO code. * * @param string $isoCode ISO code * @param int $idShop Shop ID * @param bool $forceRefreshCache [default=false] Set to TRUE to forcefully refresh any currently cached results * @param bool $includeDeleted [default=false] Set to TRUE to get result even for soft deleted currency * * @return int Currency ID */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:886
/** * Get Currency ISO Code by ID * * @param int $id * @param bool $forceRefreshCache * * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:914
/** * Get Currency ID by numeric ISO code. * * @param int $numericIsoCode ISO code * @param int $idShop Shop ID * * @return int Currency ID */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:935
/** * Get Currency ID query. * * @param int $idShop Shop ID * @param bool $includeDeleted [default=false] Set to TRUE to get result even for soft deleted currency * * @return DbQuery */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:959
/** * Get default Currency. * * @return bool|Currency */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1029
/** * Get default currency Id. * * @return int */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1044
/** * Refresh Currencies. * * @return string Error message */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1054
/** * Get Currency instance. * * @param int $id Currency ID * * @return Currency */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1086
/** * Count active Currencies. * * @param int|null $idShop Shop ID * * @return mixed Amount of active Currencies * `false` if none found */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1127
/** * Is multi Currency activated? * * @param int|null $idShop Shop ID * * @return bool Indicates whether multi Currency is actived */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1151
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * Add Cldr datas to result query or signe object/array. * * @param array|object $currencies * @param bool $isObject * * @return mixed object|array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:762
/** * Price specification constructor. * * @param string $positivePattern CLDR formatting pattern for positive amounts * @param string $negativePattern CLDR formatting pattern for negative amounts * @param NumberSymbolList[] $symbols List of available number symbols lists (NumberSymbolList objects) * Each list is indexed by numbering system * @param int $maxFractionDigits Maximum number of digits after decimal separator * @param int $minFractionDigits Minimum number of digits after decimal separator * @param bool $groupingUsed Is digits grouping used ? * @param int $primaryGroupSize Size of primary digits group in the number * @param int $secondaryGroupSize Size of secondary digits group in the number * @param string $currencyDisplay Type of display for currency symbol * @param string $currencySymbol Currency symbol of this price (eg. : €) * @param string $currencyCode Currency code of this price (e.g.: EUR) * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:92
/** * Get type of display for currency symbol. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:126
/** * Get the currency symbol * e.g.: €. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:137
/** * Get the currency ISO code * e.g.: EUR. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:148
/** * To array function * * @return array */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:172
/** * Get all specified symbols lists, indexed by available numbering system. * * Each item of the result is a NumberSymbolList * * @return NumberSymbolList[] */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:158
/** * Get the specified symbols list for a given numbering system. * * @param string $numberingSystem * Numbering system to use when formatting numbers. @see http://cldr.unicode.org/translation/numbering-systems * * @return NumberSymbolList * * @throws LocalizationException */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:173
/** * Get the formatting rules for this number (when positive). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:189
/** * Get the formatting rules for this number (when negative). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:201
/** * Get the maximum number of digits after decimal separator (rounding if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:211
/** * Get the minimum number of digits after decimal separator (fill with "0" if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:221
/** * Get the "grouping" flag. This flag defines if digits grouping should be used when formatting this number. * * @return bool */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:231
/** * Get the size of primary digits group in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:241
/** * Get the size of secondary digits groups in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:251
/** * Data (attributes) validation. * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:158
/** * Create a number formatter instance. * * @param string $roundingMode The wanted rounding mode when formatting numbers * Cf. PrestaShop\Decimal\Operation\Rounding::ROUND_* values * @param string $numberingSystem Numbering system to use when formatting numbers * * @see http://cldr.unicode.org/translation/numbering-systems */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:81
/** * Formats the passed number according to specifications. * * @param int|float|string $number * The number to format * @param NumberSpecification $specification * Number specification to be used (can be a number spec, a price spec, a percentage spec) * * @return string * The formatted number * You should use this this value for display, without modifying it * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:101
/** * Perform some more specific replacements. * * Specific replacements are needed when number specification is extended. * For instance, prices have an extended number specification in order to * add currency symbol to the formatted number. * * @param string $formattedNumber * * @return mixed */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:364
/** * Prepares a basic number (either a string, an integer or a float) to be formatted. * * @param string|float|int $number The number to be prepared * * @return DecimalNumber The prepared number */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:145
/** * Get $number's major and minor digits. * * Major digits are the "integer" part (before decimal separator), minor digits are the fractional part * Result will be an array of exactly 2 items: [$majorDigits, $minorDigits] * * Usage example: * list($majorDigits, $minorDigits) = $this->getMajorMinorDigits($decimalNumber); * * @param DecimalNumber $number * * @return string[] */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:170
/** * Splits major digits into groups. * * e.g.: Given the major digits "1234567", and major group size * configured to 3 digits, the result would be "1 234 567" * * @param string $majorDigits The major digits to be grouped * * @return string The grouped major digits */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:190
/** * Adds or remove trailing zeroes, depending on specified min and max fraction digits numbers. * * @param string $minorDigits Digits to be adjusted with (trimmed or padded) zeroes * * @return string The adjusted minor digits */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:220
/** * Get the CLDR formatting pattern. * * @see http://cldr.unicode.org/translation/number-patterns * * @param bool $isNegative * If true, the negative pattern will be returned instead of the positive one * * @return string * The CLDR formatting pattern */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:250
/** * Localize the passed number. * * If needed, occidental ("latn") digits are replaced with the relevant * ones (for instance with arab digits). * Symbol placeholders will also be replaced by the real symbols (configured * in number specification) * * @param string $number * The number to be processed * * @return string * The number after digits and symbols replacement */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:273
/** * Replace latin digits with relevant numbering system's digits. * * @param string $number * The number to process * * @return string * The number with replaced digits */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:293
/** * Replace placeholder number symbols with relevant numbering system's symbols. * * @param string $number * The number to process * * @return string * The number with replaced symbols */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:308
/** * Add missing placeholders to the number using the passed CLDR pattern. * * Missing placeholders can be the percent sign, currency symbol, etc. * * e.g. with a currency CLDR pattern: * - Passed number (partially formatted): 1,234.567 * - Returned number: 1,234.567 ¤ * ("¤" symbol is the currency symbol placeholder) * * @see http://cldr.unicode.org/translation/number-patterns * * @param string $formattedNumber Number to process * @param string $pattern CLDR formatting pattern to use * * @return string */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:339
/** * Try to replace currency placeholder by actual currency. * * Placeholder will be replaced either by the symbol or the ISO code, depending on price specification * * @param string $formattedNumber The number to format * * @return string The number after currency replacement */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:380
/** * Number specification constructor. * * @param string $positivePattern CLDR formatting pattern for positive amounts * @param string $negativePattern CLDR formatting pattern for negative amounts * @param NumberSymbolList[] $symbols List of available number symbols lists (NumberSymbolList objects). Each list is indexed by numbering system * @param int $maxFractionDigits Maximum number of digits after decimal separator * @param int $minFractionDigits Minimum number of digits after decimal separator * @param bool $groupingUsed Is digits grouping used ? * @param int $primaryGroupSize Size of primary digits group in the number * @param int $secondaryGroupSize Size of secondary digits group in the number * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Number.php:124
/** * Get all specified symbols lists, indexed by available numbering system. * * Each item of the result is a NumberSymbolList * * @return NumberSymbolList[] */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:158
/** * Get the specified symbols list for a given numbering system. * * @param string $numberingSystem * Numbering system to use when formatting numbers. @see http://cldr.unicode.org/translation/numbering-systems * * @return NumberSymbolList * * @throws LocalizationException */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:173
/** * Get the formatting rules for this number (when positive). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:189
/** * Get the formatting rules for this number (when negative). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:201
/** * Get the maximum number of digits after decimal separator (rounding if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:211
/** * Get the minimum number of digits after decimal separator (fill with "0" if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:221
/** * Get the "grouping" flag. This flag defines if digits grouping should be used when formatting this number. * * @return bool */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:231
/** * Get the size of primary digits group in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:241
/** * Get the size of secondary digits groups in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:251
/** * To array function * * @return array */ Defined in <ROOT>/src/Core/Localization/Specification/Number.php:323
/** * Data (attributes) validation. * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Number.php:261
/** * Gets the current NumberCollection as an Iterator that includes all Number specification items. * * It implements \IteratorAggregate. * * @return ArrayIterator|NumberSpecificationInterface[] * An ArrayIterator object for iterating over Number specification items */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:57
/** * Gets the number of Number specification items in this collection. * * @return int * The number of Number specification items */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:68
/** * Adds a Number specification item at the end of the collection. * * @param int|string $index * The item index * @param numberSpecificationInterface $numberSpecification * The Number specification item to add * * @return NumberCollection * Fluent interface */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:84
/** * Returns all Number specification items in this collection. * * @return NumberSpecificationInterface[] * An array of Number specification items */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:97
/** * Gets a Number specification item by index. * * @param int|string $index * The Number specification item index into this collection * (@see NumberCollection::add()) * * @return NumberSpecificationInterface|null * A Number specification instance or null when not found */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:112
/** * Removes a Number specification item or an array of Number specification items by index from the collection. * * @param int|string|int[]|string[]|array $index * The Number specification item index or an array of Number specification item indexes * * @return NumberCollection * Fluent interface */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:126
/** * Clear the collection, removing all contained Number specification items. * * @return NumberCollection * Fluent interface */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:141
/** * Price specification constructor. * * @param string $positivePattern CLDR formatting pattern for positive amounts * @param string $negativePattern CLDR formatting pattern for negative amounts * @param NumberSymbolList[] $symbols List of available number symbols lists (NumberSymbolList objects) * Each list is indexed by numbering system * @param int $maxFractionDigits Maximum number of digits after decimal separator * @param int $minFractionDigits Minimum number of digits after decimal separator * @param bool $groupingUsed Is digits grouping used ? * @param int $primaryGroupSize Size of primary digits group in the number * @param int $secondaryGroupSize Size of secondary digits group in the number * @param string $currencyDisplay Type of display for currency symbol * @param string $currencySymbol Currency symbol of this price (eg. : €) * @param string $currencyCode Currency code of this price (e.g.: EUR) * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:92
/** * Get type of display for currency symbol. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:126
/** * Get the currency symbol * e.g.: €. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:137
/** * Get the currency ISO code * e.g.: EUR. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:148
/** * To array function * * @return array */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:172
/** * Get all specified symbols lists, indexed by available numbering system. * * Each item of the result is a NumberSymbolList * * @return NumberSymbolList[] */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:158
/** * Get the specified symbols list for a given numbering system. * * @param string $numberingSystem * Numbering system to use when formatting numbers. @see http://cldr.unicode.org/translation/numbering-systems * * @return NumberSymbolList * * @throws LocalizationException */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:173
/** * Get the formatting rules for this number (when positive). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:189
/** * Get the formatting rules for this number (when negative). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:201
/** * Get the maximum number of digits after decimal separator (rounding if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:211
/** * Get the minimum number of digits after decimal separator (fill with "0" if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:221
/** * Get the "grouping" flag. This flag defines if digits grouping should be used when formatting this number. * * @return bool */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:231
/** * Get the size of primary digits group in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:241
/** * Get the size of secondary digits groups in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:251
/** * Data (attributes) validation. * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:158
/** * Locale constructor. * * @param string $localeCode * The locale code (simplified IETF tag syntax) * Combination of ISO 639-1 (2-letters language code) and ISO 3166-2 (2-letters region code) * eg: fr-FR, en-US * @param NumberSpecification $numberSpecification * Number specification used when formatting a number * @param PriceSpecificationMap $priceSpecifications * Collection of Price specifications (one per installed currency) * @param NumberFormatter $formatter * This number formatter will use stored number / price specs */ Defined in <ROOT>/src/Core/Localization/Locale.php:95
/** * Get this locale's code (simplified IETF tag syntax) * Combination of ISO 639-1 (2-letters language code) and ISO 3166-2 (2-letters region code) * eg: fr-FR, en-US. * * @return string */ Defined in <ROOT>/src/Core/Localization/Locale.php:114
/** * Format a number according to locale rules. * * @param int|float|string $number * The number to be formatted * * @return string * The formatted number * * @throws Exception\LocalizationException */ Defined in <ROOT>/src/Core/Localization/Locale.php:130
/** * Format a number as a price. * * @param int|float|string $number * Number to be formatted as a price * @param string $currencyCode * Currency of the price * * @return string The formatted price * * @throws Exception\LocalizationException */ Defined in <ROOT>/src/Core/Localization/Locale.php:150
/** * Get price specification * * @param string $currencyCode Currency of the price * * @return NumberSpecificationInterface */ Defined in <ROOT>/src/Core/Localization/Locale.php:165
/** * Get number specification * * @return NumberSpecification */ Defined in <ROOT>/src/Core/Localization/Locale.php:181
/** * @see ObjectModel::getFields() * * @return array */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:62
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:90
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:95
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:169
/** * Builds the object. * * @param int|null $id if specified, loads and existing object from DB (optional) * @param int|null $id_lang required if object is multilingual (optional) * @param int|null $id_shop ID shop for objects with multishop tables * @param TranslatorComponent|null $translator * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:246
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Adds current object to the database. * * @param bool $auto_date * @param bool $null_values * * @return bool Insertion result * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:590
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Updates the current object in the database. * * @param bool $null_values * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:769
/** * Deletes current object from database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:898
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:71
/** * @return int Total of shop groups */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:85
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:104
/** * Return a group shop ID from group shop name. * * @param string $name * * @return int */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:120
/** * Detect dependency with customer or orders. * * @param int $id_shop_group * @param string $check all|customer|order * * @return bool */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:137
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * reset static cache (eg unit testing purpose). */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:209
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * Build an Address. * * @param int|null $id_address Existing Address ID in order to load object (optional) * @param int|null $id_lang Language ID (optional). Configuration::PS_LANG_DEFAULT will be used if null */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:168
/** * @see ObjectModel::add() */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:191
/** * @see ObjectModel::update() */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:210
/** * @see ObjectModel::delete() */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:238
/** * {@inheritdoc} */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:363
/** * Check if Address is used (at least one order placed). * * @return int|bool Order count for this Address */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:412
/** * @see ObjectModel::getFieldsRequiredDB(); */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:640
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * removes the address from carts using it, to avoid errors on not existing address */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:261
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * reset static cache (eg unit testing purpose). */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:181
/** * Returns fields required for an address in an array hash. * * @return array Hash values */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:279
/** * Get Zone ID for a given address. * * @param int $id_address Address ID for which we want to get the Zone ID * * @return int|bool Zone ID */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:296
/** * Check if the Country is active for a given address. * * @param int $id_address Address ID for which we want to get the Country status * * @return int|bool Country status */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:339
/** * Request to check if DNI field is required * depending on the current selected country. * * @param int $idCountry * * @return bool */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:398
/** * Get Country and State of this Address. * * @param int $id_address Address ID * * @return array|bool */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:434
/** * Specify if an address is already in base. * * @param int $id_address Address id * @param bool $useCache Use Cache for optimizing queries * * @return bool The address exists */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:459
/** * Check if the address is valid. * * @param int $id_address Address id * * @return bool The address is valid */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:486
/** * Get the first address id of the customer. * * @param int $id_customer Customer id * @param bool $active Active addresses only * * @return bool|int|null */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:505
/** * Initialize an address corresponding to the specified id address or if empty to the * default shop configuration. * * @param int $id_address * @param bool $with_geoloc * * @return Address address * * @throws PrestaShopException */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:537
/** * Returns Address ID for a given Supplier ID. * * @since 1.5.0 * * @param int $id_supplier Supplier ID * * @return int $id_address Address ID */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:600
/** * Check if the alias already exists. * * @param string $alias Alias of an address * @param int $id_address Address id * @param int $id_customer Customer id * * @return false|string|null Amount of aliases found * @todo: Find out if we shouldn't be returning an int instead? (breaking change) */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:624
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * @param array $content the array to be searched and manager by ArrayFinder */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:60
/** * {@inheritdoc} */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:69
/** * @param string|null $path selector to find the desired value. if empty, will return full array * @param mixed|null $default default value to be returned if selector matches nothing * * @return mixed|null * * Examples of use: * $arrayFinder->get('a'); * $arrayFinder->get('a.e.9'); * $arrayFinder->get('4'); */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:85
/** * @param string $path selector for the value to be set * @param mixed $value input value to be set inside array * * @return self * * Examples of use: * $arrayFinder->set('a', $aNewValue); * $arrayFinder->set('a.e.9', $aNewValue); * $arrayFinder->set('4', $aNewValue); */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:117
/** * {@inheritdoc} * * Example of use: isset($this->arrayFinder['a'] */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:133
/** * {@inheritdoc} * * Examples of use: * $arrayFinder[4]; * $arrayFinder['a']; */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:154
/** * {@inheritdoc} * * Example of use: $this->arrayFinder['a'] = $value; */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:168
/** * {@inheritdoc} * * Example of use: unset($this->arrayFinder['a']); */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:186
/** * Converts paths following format 'dot' structure a.4.9.d.10 * to Symfony format [a][4][9][d][10] * * @param string $dotPath * * @return string */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:203
/** * @param array $attributes Theme attributes * @param string|null $configurationCacheDirectory Default _PS_CACHE_DIR_ * @param string $themesDirectory Default _PS_ALL_THEMES_DIR_ */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:47
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:73
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:78
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:83
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:88
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:93
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:114
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:119
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:127
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:132
/** * Execute up files. You can update configuration, update sql schema. * No file modification. * * @return bool true for success */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:143
/** * Called when switching the current theme of the selected shop. * You can update configuration, enable/disable modules... * * @return bool true for success */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:154
/** * Not necessarily the opposite of enable. Use this method if * something must be done when switching to another theme (like uninstall * very specific modules for example). * * @return bool true for success */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:166
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:171
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:176
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:181
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:192
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:197
/** * Returns layout name for page from theme configuration * * @param string $page page identifier * * @return string layout name */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:209
/** * Returns layout relative path for provided page identifier * * @param string $page page identifier * * @return string layout relative path */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:227
/** * Returns relative path for provided layout name * * @param string $layoutName layout name * * @return string layout relative path */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:239
/** * Defines if the theme requires core.js scripts or it provides it's own implementation. * * @return bool */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:306
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:244
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:271
/** * On shop instance, get its URL data. * * @param int $id * @param int $id_lang * @param int $id_shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:143
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:210
/** * Add a shop, and clear the cache. * * @param bool $autodate * @param bool $null_values * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:244
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:253
/** * Remove a shop only if it has no dependencies, and remove its associations. * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:267
/** * @return Address the current shop address */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:483
/** * Set shop theme details from Json data. */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:504
/** * Get shop URI. * * @return string */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:519
/** * Get shop URL. * * @param bool $auto_secure_mode if set to true, secure mode will be checked * @param bool $add_base_uri if set to true, shop base uri will be added * * @return string|bool complete base url of current shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:532
/** * Get group of current shop. * * @return ShopGroup */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:558
/** * Get root category of current shop. * * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:572
/** * Get list of shop's urls. * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:582
/** * Check if current shop ID is the same as default shop in configuration. * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:597
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:792
/** * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1030
/** * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1052
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1190
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Updates the current object in the database. * * @param bool $null_values * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:769
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Detect dependency with customer or orders. * * @param int $id_shop * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:316
/** * Find the shop from current domain / uri and get an instance of this shop * if INSTALL_VERSION is defined, will return an empty shop object. * * @return Shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:346
/** * Get the associated table if available. * * @return array|false */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:607
/** * check if the table has an id_shop_default. * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:621
/** * Get list of associated tables to shop. * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:635
/** * Add table associated to shop. * * @param string $table_name * @param array $table_details * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:652
/** * Check if given table is associated to shop. * * @param string $table * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:670
/** * Load list of groups and shops, and cache it. * * @param bool $refresh */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:684
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:745
/** * Get shops list. * * @param bool $active * @param int $id_shop_group * @param bool $get_as_list_id * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:772
/** * Get a collection of shops. * * @param bool $active * @param int $id_shop_group * * @return PrestaShopCollection Collection of Shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:820
/** * Return some informations cached for one shop. * * @param int $shop_id * * @return array|bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:841
/** * Return a shop ID from shop name. * * @param string $name * * @return int|bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:860
/** * @param bool $active * @param int $id_shop_group * * @return int Total of shops */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:880
/** * Retrieve group ID of a shop. * * @param int $shop_id Shop ID * @param bool $as_id * * @return int|array|bool Group ID */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:893
/** * If the shop group has the option $type activated, get all shops ID of this group, else get current shop ID. * * @param int $shop_id * @param string $type Shop::SHARE_CUSTOMER | Shop::SHARE_ORDER * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:913
/** * Get a list of ID concerned by the shop context (E.g. if context is shop group, get list of children shop ID). * * @param bool|string $share If false, dont check share datas from group. Else can take a Shop::SHARE_* constant value * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:936
/** * Return the list of shop by id. * * @param int $id * @param string $identifier * @param string $table * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:958
/** * Change the current shop context. * * @param int $type Shop::CONTEXT_ALL | Shop::CONTEXT_GROUP | Shop::CONTEXT_SHOP * @param int $id ID shop if CONTEXT_SHOP or id shop group if CONTEXT_GROUP */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:973
/** * Get current context of shop. * * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1003
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1008
/** * Reset current context of shop. */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1020
/** * Get current ID of shop if context is CONTEXT_SHOP. * * @return int|null */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1040
/** * Get current ID of shop group if context is CONTEXT_SHOP or CONTEXT_GROUP. * * @return int|null */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1066
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1075
/** * Add an sql restriction for shops fields. * * @param bool|int|string $share If false, dont check share datas from group. Else can take a Shop::SHARE_* constant value * @param string|null $alias */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1090
/** * Add an SQL JOIN in query between a table and its associated table in multishop. * * @param string $table Table name (E.g. product, module, etc.) * @param string $alias Alias of table * @param bool $inner_join Use or not INNER JOIN * @param string $on * * @return string */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1120
/** * Add a restriction on id_shop for multishop lang table. * * @param string|null $alias * @param string|int|null $id_shop * * @return string */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1153
/** * Get all groups and associated shops as subarrays. * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1170
/** * @return bool Return true if multishop feature is active and at last 2 shops have been created */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1180
/** * @param int $id * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1297
/** * @param string $entity * @param int $id_shop * * @return array|bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1330
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * Initialize an array with all the multistore associations in the database. */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:158
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
2024-04-30 07:43:36 UTC
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * Registers a resource to fetch a template * * @api Smarty::registerResource() * @link https://www.smarty.net/docs/en/api.register.resource.tpl * * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj * @param string $name name of resource type * @param Smarty_Resource $resource_handler instance of Smarty_Resource * * @return \Smarty|\Smarty_Internal_Template */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_registerresource.php:33
/** * Registers plugin to be used in templates * * @api Smarty::registerPlugin() * @link https://www.smarty.net/docs/en/api.register.plugin.tpl * * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj * @param string $type plugin type * @param string $name name of template tag * @param callback $callback PHP callback to register * @param bool $cacheable if true (default) this * function is cache able * @param mixed $cache_attr caching attributes if any * * @return \Smarty|\Smarty_Internal_Template * @throws SmartyException when the plugin tag is invalid */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_registerplugin.php:38
/** * creates a data object * * @api Smarty::createData() * @link https://www.smarty.net/docs/en/api.create.data.tpl * * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj * @param \Smarty_Internal_Template|\Smarty_Internal_Data|\Smarty_Data|\Smarty $parent next higher level of Smarty * variables * @param string $name optional data block name * * @return \Smarty_Data data object */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_createdata.php:34
/** * Returns a single or all template variables * * @api Smarty::getTemplateVars() * @link https://www.smarty.net/docs/en/api.get.template.vars.tpl * * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data * @param string $varName variable name or null * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object * @param bool $searchParents include parent templates? * * @return mixed variable value or or array of variables */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php:34
/** * gets the object of a Smarty variable * * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data * @param string $varName the name of the Smarty variable * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object * @param bool $searchParents search also in parent data * @param bool $errorEnable * * @return \Smarty_Variable */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php:87
/** * Call external Method * * @param \Smarty_Internal_Data $data * @param string $name external method names * @param array $args argument array * * @return mixed */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:67
/** * Make first character of name parts upper case * * @param string $name * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:145
/** * get extension object * * @param string $property_name property name * * @return mixed|Smarty_Template_Cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:159
/** * set extension property * * @param string $property_name property name * @param mixed $value value * */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:180
/** * Call error handler for undefined method * * @param string $name unknown method-name * @param array $args argument array * * @return mixed */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:193
drwxr-xr-x 1193 1196 4KB Feb 14 09:27 /unum/drukalabak/public_html/themes/laber_expert_home7/templates
-rw-r--r-- 1193 1196 4.9KB Apr 16 10:31 /unum/drukalabak/public_html/themes/debug.tpl
Inherited from SmartyResourceModuleCore Defined in <ROOT>/classes/Smarty/SmartyResourceModule.php:44
/** * populate Source Object with meta data from Resource * * @param Smarty_Template_Source $source source object * @param Smarty_Internal_Template $_template template object */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:48
/** * Load template's source into current template object * * @param Smarty_Template_Source $source source object * * @return string template source * @throws SmartyException if source cannot be loaded */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:73
/** * Determine basename for compiled filename * * @param Smarty_Template_Source $source source object * * @return string resource's basename */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:89
/** * populate Source Object with timestamp and exists from Resource * * @param Smarty_Template_Source $source source object */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:206
/** * modify resource_name according to resource handlers specifications * * @param Smarty $smarty Smarty instance * @param string $resource_name resource_name to make unique * @param boolean $isConfig flag for config resource * * @return string unique resource name */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:220
/** * @return bool */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:256
/** * Fetch a template. * * @param string $name template name * @param string $source template source * @param int $mtime template modification timestamp (epoch) */ Inherited from SmartyResourceModuleCore Defined in <ROOT>/classes/Smarty/SmartyResourceModule.php:57
/** * Fetch template's modification timestamp from data source * {@internal implementing this method is optional. * Only implement it if modification times can be accessed faster than loading the complete template source.}} * * @param string $name template name * * @return integer|boolean timestamp (epoch) the template was modified, or false if not found */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:37
/** * Load Resource Handler * * @param Smarty $smarty smarty object * @param string $type name of the resource * * @throws SmartyException * @return Smarty_Resource Resource Handler */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:67
/** * extract resource_type and resource_name from template_resource and config_resource * * @note "C:/foo.tpl" was forced to file resource up till Smarty 3.1.3 (including). * * @param string $resource_name template_resource or config_resource to parse * @param string $default_resource the default resource_type defined in $smarty * * @return array with parsed resource name and type */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:123
/** * modify template_resource according to resource handlers specifications * * @param \Smarty_Internal_Template|\Smarty $obj Smarty instance * @param string $template_resource template_resource to extract resource handler and * name of * * @return string unique resource name * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:147
/** * initialize Source Object for given resource * wrapper for backward compatibility to versions < 3.1.22 * Either [$_template] or [$smarty, $template_resource] must be specified * * @param Smarty_Internal_Template $_template template object * @param Smarty $smarty smarty object * @param string $template_resource resource identifier * * @return \Smarty_Template_Source Source Object * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:175
Inherited from SmartyResourceParentCore Defined in <ROOT>/classes/Smarty/SmartyResourceParent.php:39
/** * populate Source Object with meta data from Resource * * @param Smarty_Template_Source $source source object * @param Smarty_Internal_Template $_template template object */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:48
/** * Load template's source into current template object * * @param Smarty_Template_Source $source source object * * @return string template source * @throws SmartyException if source cannot be loaded */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:73
/** * Determine basename for compiled filename * * @param Smarty_Template_Source $source source object * * @return string resource's basename */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:89
/** * populate Source Object with timestamp and exists from Resource * * @param Smarty_Template_Source $source source object */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:206
/** * modify resource_name according to resource handlers specifications * * @param Smarty $smarty Smarty instance * @param string $resource_name resource_name to make unique * @param boolean $isConfig flag for config resource * * @return string unique resource name */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:220
/** * @return bool */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:256
/** * Fetch a template. * * @param string $name template name * @param string $source template source * @param int $mtime template modification timestamp (epoch) */ Inherited from SmartyResourceParentCore Defined in <ROOT>/classes/Smarty/SmartyResourceParent.php:51
/** * Fetch template's modification timestamp from data source * {@internal implementing this method is optional. * Only implement it if modification times can be accessed faster than loading the complete template source.}} * * @param string $name template name * * @return integer|boolean timestamp (epoch) the template was modified, or false if not found */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:37
/** * Load Resource Handler * * @param Smarty $smarty smarty object * @param string $type name of the resource * * @throws SmartyException * @return Smarty_Resource Resource Handler */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:67
/** * extract resource_type and resource_name from template_resource and config_resource * * @note "C:/foo.tpl" was forced to file resource up till Smarty 3.1.3 (including). * * @param string $resource_name template_resource or config_resource to parse * @param string $default_resource the default resource_type defined in $smarty * * @return array with parsed resource name and type */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:123
/** * modify template_resource according to resource handlers specifications * * @param \Smarty_Internal_Template|\Smarty $obj Smarty instance * @param string $template_resource template_resource to extract resource handler and * name of * * @return string unique resource name * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:147
/** * initialize Source Object for given resource * wrapper for backward compatibility to versions < 3.1.22 * Either [$_template] or [$smarty, $template_resource] must be specified * * @param Smarty_Internal_Template $_template template object * @param Smarty $smarty smarty object * @param string $template_resource resource identifier * * @return \Smarty_Template_Source Source Object * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:175
drwxr-xr-x 1193 1196 4KB Feb 14 09:27 /unum/drukalabak/public_html/themes/laber_expert_home7/templates
drwxr-xr-x 1193 1196 4KB Apr 30 10:20 /unum/drukalabak/public_html/var/cache/prod/smarty/compile
drwxrwxr-x 1193 1196 4KB Sep 14 2023 /unum/drukalabak/public_html/vendor/smarty/smarty/libs/plugins
drwxr-xr-x 1193 1196 4KB Apr 30 10:20 /unum/drukalabak/public_html/var/cache/prod/smarty/cache
/** * Initialize new Smarty object */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:661
/** * Check if a template resource exists * * @param string $resource_name template name * * @return bool status * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:688
/** * Loads security class and enables security * * @param string|Smarty_Security $security_class if a string is used, it must be class-name * * @return Smarty current Smarty instance for chaining * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:703
/** * Disable security * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:714
/** * Add template directory(s) * * @param string|array $template_dir directory(s) of template sources * @param string $key of the array element to assign the template dir to * @param bool $isConfig true for config_dir * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:729
/** * Get template directories * * @param mixed $index index of directory to get, null to get all * @param bool $isConfig true for config_dir * * @return array|string list of template directories, or directory of $index */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:772
/** * Set template directory * * @param string|array $template_dir directory(s) of template sources * @param bool $isConfig true for config_dir * * @return \Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:796
/** * Add config directory(s) * * @param string|array $config_dir directory(s) of config sources * @param mixed $key key of the array element to assign the config dir to * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:817
/** * Get config directory * * @param mixed $index index of directory to get, null to get all * * @return array configuration directory */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:829
/** * Set config directory * * @param $config_dir * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:841
/** * Adds directory of plugin files * * @param null|array|string $plugins_dir * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:853
/** * Get plugin directories * * @return array list of plugin directories */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:868
/** * Set plugins directory * * @param string|array $plugins_dir directory(s) of plugins * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:894
/** * Get compiled directory * * @return string path to compiled templates */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:906
/** * * @param string $compile_dir directory to store compiled templates in * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:921
/** * Get cache directory * * @return string path of cache directory */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:933
/** * Set cache directory * * @param string $cache_dir directory to store cached templates in * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:949
/** * creates a template object * * @param string $template the resource handle of the template file * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * @param boolean $do_clone flag is Smarty object shall be cloned * * @return \Smarty_Internal_Template template object * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:968
/** * Takes unknown classes and loads plugin files for them * class name format: Smarty_PluginType_PluginName * plugin filename format: plugintype.pluginname.php * * @param string $plugin_name class plugin name to load * @param bool $check check if already loaded * * @return string |boolean filepath of loaded file or false * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1031
/** * Get unique template id * * @param string $template_name * @param null|mixed $cache_id * @param null|mixed $compile_id * @param null $caching * @param \Smarty_Internal_Template $template * * @return string * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1048
/** * Normalize path * - remove /./ and /../ * - make it absolute if required * * @param string $path file path * @param bool $realpath if true - convert to absolute * false - convert to relative * null - keep as it is but * remove /./ /../ * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1086
/** * Empty template objects cache */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1120
/** * @param boolean $use_sub_dirs */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1129
/** * @param int $error_reporting */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1137
/** * @param boolean $escape_html */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1145
/** * Return auto_literal flag * * @return boolean */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1155
/** * Set auto_literal flag * * @param boolean $auto_literal */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1165
/** * @param boolean $force_compile */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1173
/** * @param boolean $merge_compiled_includes */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1181
/** * Get left delimiter * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1191
/** * Set left delimiter * * @param string $left_delimiter */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1201
/** * Get right delimiter * * @return string $right_delimiter */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1211
/** * Set right delimiter * * @param string */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1221
/** * @param boolean $debugging */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1229
/** * @param boolean $config_overwrite */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1237
/** * @param boolean $config_booleanize */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1245
/** * @param boolean $config_read_hidden */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1253
/** * @param boolean $compile_locking */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1261
/** * @param string $default_resource_type */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1269
/** * @param string $caching_type */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1277
/** * Test install * * @param null $errors */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1287
/** * Get Smarty object * * @return Smarty */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1297
/** * <<magic>> Generic getter. * Calls the appropriate getter function. * Issues an E_USER_NOTICE if no valid getter is found. * * @param string $name property name * * @return mixed */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1311
/** * <<magic>> Generic setter. * Calls the appropriate setter function. * Issues an E_USER_NOTICE if no valid setter is found. * * @param string $name property name * @param mixed $value parameter passed to setter * */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1335
/** * Mutes errors for "undefined index", "undefined array key" and "trying to read property of null". * * @void */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1393
/** * Indicates if Smarty will mute errors for "undefined index", "undefined array key" and "trying to read property of null". * @bool */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1401
/** * fetches a rendered Smarty template * * @param string $template the resource handle of the template file or template object * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * * @throws Exception * @throws SmartyException * @return string rendered template output */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:114
/** * displays a Smarty template * * @param string $template the resource handle of the template file or template object * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * * @throws \Exception * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:131
/** * test if cache is valid * * @api Smarty::isCached() * @link https://www.smarty.net/docs/en/api.is.cached.tpl * * @param null|string|\Smarty_Internal_Template $template the resource handle of the template file or template * object * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * * @return bool cache status * @throws \Exception * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:153
/** * Registers plugin to be used in templates * * @api Smarty::registerPlugin() * @link https://www.smarty.net/docs/en/api.register.plugin.tpl * * @param string $type plugin type * @param string $name name of template tag * @param callable $callback PHP callback to register * @param bool $cacheable if true (default) this function is cache able * @param mixed $cache_attr caching attributes if any * * @return \Smarty|\Smarty_Internal_Template * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:290
/** * load a filter of specified type and name * * @api Smarty::loadFilter() * @link https://www.smarty.net/docs/en/api.load.filter.tpl * * @param string $type filter type * @param string $name filter name * * @return bool * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:307
/** * Registers a filter function * * @api Smarty::registerFilter() * @link https://www.smarty.net/docs/en/api.register.filter.tpl * * @param string $type filter type * @param callable $callback * @param string|null $name optional filter name * * @return \Smarty|\Smarty_Internal_Template * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:325
/** * Registers object to be used in templates * * @api Smarty::registerObject() * @link https://www.smarty.net/docs/en/api.register.object.tpl * * @param string $object_name * @param object $object the referenced PHP object to register * @param array $allowed_methods_properties list of allowed methods (empty = all) * @param bool $format smarty argument format, else traditional * @param array $block_methods list of block-methods * * @return \Smarty|\Smarty_Internal_Template * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:345
/** * @param int $compile_check */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:365
/** * @param int $caching */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:373
/** * @param int $cache_lifetime */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:381
/** * @param string $compile_id */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:389
/** * @param string $cache_id */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:397
/** * assigns a Smarty variable * * @param array|string $tpl_var the template variable name(s) * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached * * @return Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for * chaining */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:97
/** * appends values to template variables * * @api Smarty::append() * @link https://www.smarty.net/docs/en/api.append.tpl * * @param array|string $tpl_var the template variable name(s) * @param mixed $value the value to append * @param bool $merge flag if array elements shall be merged * @param bool $nocache if true any output of this variable will * be not cached * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:134
/** * assigns a global Smarty variable * * @param string $varName the global variable name * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:148
/** * appends values to template variables by reference * * @param string $tpl_var the template variable name * @param mixed &$value the referenced value to append * @param boolean $merge flag if array elements shall be merged * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:162
/** * assigns values to template variables by reference * * @param string $tpl_var the template variable name * @param $value * @param boolean $nocache if true any output of this variable will be not cached * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:176
/** * Returns a single or all template variables * * @api Smarty::getTemplateVars() * @link https://www.smarty.net/docs/en/api.get.template.vars.tpl * * @param string $varName variable name or null * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object * @param bool $searchParents include parent templates? * * @return mixed variable value or or array of variables */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:193
/** * Follow the parent chain an merge template and config variables * * @param \Smarty_Internal_Data|null $data */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:203
/** * Return true if this instance is a Data obj * * @return bool */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:225
/** * Return true if this instance is a template obj * * @return bool */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:235
/** * Return true if this instance is a Smarty obj * * @return bool */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:245
/** * Handle unknown class methods * * @param string $name unknown method-name * @param array $args argument array * * @return mixed */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:268
/** * Normalize and set directory string * * @param string $dirName cache_dir or compile_dir * @param string $dir filepath of folder */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1355
/** * Normalize template_dir or config_dir * * @param bool $isConfig true for config_dir */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1365
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
/** * Construct an instance of this class. * * @param array $headers Specify the headers as injection. Should be PHP _SERVER flavored. * If left empty, will use the global _SERVER['HTTP_*'] vars instead. * @param string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT * from the $headers array instead. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:888
/** * Set the HTTP Headers. Must be PHP-flavored. This method will reset existing headers. * * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract * the headers. The default null is left for backwards compatibility. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:915
/** * Retrieves the HTTP headers. * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:942
/** * Retrieves a particular header. If it doesn't exist, no exception/error is caused. * Simply null is returned. * * @param string $header The name of the header to retrieve. Can be HTTP compliant such as * "User-Agent" or "X-Device-User-Agent" or can be php-esque with the * all-caps, HTTP_ prefixed, underscore seperated awesomeness. * * @return string|null The value of the header. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:957
Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:978
/** * Get all possible HTTP headers that * can contain the User-Agent string. * * @return array List of HTTP headers. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:989
/** * Set CloudFront headers * http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-device * * @param array $cfHeaders List of HTTP headers * * @return boolean If there were CloudFront headers to be set */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1003
/** * Retrieves the cloudfront headers. * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1030
/** * Set the User-Agent to be used. * * @param string $userAgent The user agent string to set. * * @return string|null */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1052
/** * Retrieve the User-Agent. * * @return string|null The user agent if it's set. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1083
/** * Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or * self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set. * * @deprecated since version 2.6.9 * * @param string $type The type. Must be a self::DETECTION_TYPE_* constant. The default * parameter is null which will default to self::DETECTION_TYPE_MOBILE. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1097
Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1110
Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1115
/** * Method gets the mobile detection rules + utilities. * The reason this is separate is because utilities rules * don't necessary imply mobile. This method is used inside * the new $detect->is('stuff') method. * * @deprecated since version 2.6.9 * * @return array All the rules + extended. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1204
/** * Retrieve the current set of rules. * * @deprecated since version 2.6.9 * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1229
/** * Check the HTTP headers for signs of mobile. * This is the fastest mobile check possible; it's used * inside isMobile() method. * * @return bool */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1255
/** * Magic overloading method. * * @method boolean is[...]() * @param string $name * @param array $arguments * @return mixed * @throws BadMethodCallException when the method doesn't exist and doesn't start with 'is' */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1287
/** * Check if the device is mobile. * Returns true if any type of mobile device detected, including special ones * @param null $userAgent deprecated * @param null $httpHeaders deprecated * @return bool */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1360
/** * Check if the device is a tablet. * Return true if any type of tablet device is detected. * * @param string $userAgent deprecated * @param array $httpHeaders deprecated * @return bool */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1397
/** * This method checks for a certain property in the * userAgent. * @todo: The httpHeaders part is not yet used. * * @param string $key * @param string $userAgent deprecated * @param string $httpHeaders deprecated * @return bool|int|null */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1428
/** * Some detection rules are relative (not standard), * because of the diversity of devices, vendors and * their conventions in representing the User-Agent or * the HTTP headers. * * This method will be used to check custom regexes against * the User-Agent string. * * @param $regex * @param string $userAgent * @return bool * * @todo: search in the HTTP headers too. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1459
/** * Prepare the version number. * * @todo Remove the error supression from str_replace() call. * * @param string $ver The string version, like "2.6.21.2152"; * * @return float */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1494
/** * Check the version of the given property in the User-Agent. * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31) * * @param string $propertyName The name of the property. See self::getProperties() array * keys for all possible properties. * @param string $type Either self::VERSION_TYPE_STRING to get a string value or * self::VERSION_TYPE_FLOAT indicating a float value. This parameter * is optional and defaults to self::VERSION_TYPE_STRING. Passing an * invalid parameter will default to the this type as well. * * @return string|float The version of the property we are trying to extract. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1519
/** * Retrieve the mobile grading, using self::MOBILE_GRADE_* constants. * @deprecated This is no longer being maintained, it was an experiment at the time. * @return string One of the self::MOBILE_GRADE_* constants. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1568
/** * Find a detection rule that matches the current User-agent. * * @param null $userAgent deprecated * @return boolean */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1307
/** * Search for a certain key in the rules array. * If the key is found then try to match the corresponding * regex against the User-Agent. * * @param string $key * * @return boolean */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1332
/** * @param string $userAgent * @return string */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1039
/** * Get the current script version. * This is useful for the demo.php file, * so people can check on what version they are testing * for mobile devices. * * @return string The version number in semantic version format. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:904
/** * Retrieve the list of known phone devices. * * @return array List of phone devices. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1125
/** * Retrieve the list of known tablet devices. * * @return array List of tablet devices. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1135
/** * Alias for getBrowsers() method. * * @return array List of user agents. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1145
/** * Retrieve the list of known browsers. Specifically, the user agents. * * @return array List of browsers / user agents. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1155
/** * Retrieve the list of known utilities. * * @return array List of utilities. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1165
/** * Method gets the mobile detection rules. This method is used for the magic methods $detect->is*(). * * @deprecated since version 2.6.9 * * @return array All the rules (but not extended). */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1177
/** * Retrieve the list of mobile operating systems. * * @return array The list of mobile operating systems. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1243
/** * Get the properties array. * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1480
BlackBerry|\bBB10\b|rim[0-9]+|\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\b-[0-9]+
HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel
Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6
Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b
Motorola|DROIDX|DROID BIONIC|\bDroid\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\bMoto E\b|XT1068|XT1092|XT1052
\bSamsung\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F|SM-G988N
\bLG\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710
SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332
^(?!.*\bx11\b).*xiaomi.*$|POCOPHONE F1|\bMI\b 8|\bMi\b 10|Redmi Note 9S|Redmi 5A|Redmi Note 5A Prime|Redmi Note 7 Pro|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G|M2012K11C
Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b
Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature
PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790
IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250
KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM
\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b
Tapatalk|PDA;|SAGEM|\bmmp\b|pocket|\bpsp\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\bwap\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser
SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860|SM-T536
Kindle|Silk.*Accelerated|Android.*\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)
HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10
^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\bK00F\b|\bK00C\b|\bK00E\b|\bK00L\b|TX201LA|ME176C|ME102A|\bM80TA\b|ME372CL|ME560CG|ME372CG|ME302KL| K01A | K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\bME70C\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\bP027\b|\bP024\b|\bP00C\b
HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410
xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617
Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2
Android.*; \b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\b|W3-810|\bA3-A10\b|\bA3-A11\b|\bA3-A20\b|\bA3-A30|A3-A40
Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO
PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002
Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L|TB-J606F|TB-X606F|TB-X306X
Android.*\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\b
97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2
\b(101G9|80G9|A101IT)\b|Qilive 97R|Archos5|\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\b
Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712
\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b
MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010
M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10
MSI \b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\b
Android.*(bq)?.*\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\b|Maxwell.*Lite|Maxwell.*Plus
MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19|KOB2-L09
NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE
ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab
\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b
Android.* \b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\b
Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1
Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide
\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\b
BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026
TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503
TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10
OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027
HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync
CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989
GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042
FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003
\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\bQ8\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\b
Android.* \b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\b
Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)
KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151
ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a
LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10
NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S
T98 4G|\bP80\b|\bX90HD\b|X98 Air|X98 Air 3G|\bX89\b|P80 3G|\bX80h\b|P98 Air|\bX89HD\b|P98 3G|\bP90HD\b|P89 3G|X98 3G|\bP70h\b|P79HD 3G|G18d 3G|\bP79HD\b|\bP89s\b|\bA88\b|\bP10HD\b|\bP19HD\b|G18 3G|\bP78HD\b|\bA78\b|\bP75\b|G17s 3G|G17h 3G|\bP85t\b|\bP90\b|\bP11\b|\bP98t\b|\bP98HD\b|\bG18d\b|\bP85s\b|\bP11HD\b|\bP88s\b|\bA80HD\b|\bA80se\b|\bA10h\b|\bP89\b|\bP78s\b|\bG18\b|\bP85\b|\bA70h\b|\bA70\b|\bG17\b|\bP18\b|\bA80s\b|\bA11s\b|\bP88HD\b|\bA80h\b|\bP76s\b|\bP76h\b|\bP98\b|\bA10HD\b|\bP78\b|\bP88\b|\bA11\b|\bA10t\b|\bP76a\b|\bP76t\b|\bP76e\b|\bP85HD\b|\bP85a\b|\bP86\b|\bP75HD\b|\bP76v\b|\bA12\b|\bP75a\b|\bA15\b|\bP76Ti\b|\bP81HD\b|\bA10\b|\bT760VE\b|\bT720HD\b|\bP76\b|\bP73\b|\bP71\b|\bP72\b|\bT720SE\b|\bC520Ti\b|\bT760\b|\bT720VE\b|T720-3GE|T720-WiFi
\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\b[\s]+|V10 \b4G\b
\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b
ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b
MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\bMPG7\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010
CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b
miTab \b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\b
M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA
NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI
TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100
Android.*\b97D\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\bA7EB\b|CatNova8|A1_07|CT704|CT1002|\bM721\b|rk30sdk|\bEVOTAB\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\bM6pro\b|CT1020W|arc 10HD|\bTP750\b|\bQTAQZ3\b|WVT101|TM1088|KT107
Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;
Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;
NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger
Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:36
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:44
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:52
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use the trans() method instead with a %count% parameter */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:28
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:44
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:73
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/IntlFormatter.php:29
/** * @param TranslatorInterface|null $translator An identity translator to use as selector for pluralization */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:33
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:48
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:60
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use format() with a %count% parameter instead */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:70
drwxr-xr-x 1193 1196 4KB Apr 30 10:19 /unum/drukalabak/public_html/var/cache/prod/translations
/** * @param bool $debug The debug flag to pass to ConfigCache */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:30
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:38
/** * @param string $locale Locale code for the catalogue to check if loaded * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:40
/** * @param string $locale Locale code for the catalogue to be cleared */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:48
/** * Translates the given message. * * @param string $id The message id (may also be an object that can be cast to string) * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:50
/** * Performs a reverse search in the catalogue and returns the translation key if found. * AVOID USING THIS, IT PROVIDES APPROXIMATE RESULTS. * * @param string $translated Translated string * @param string $domain Translation domain * @param string|null $locale Unused * * @return string The translation * * @deprecated This method should not be used and will be removed */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:91
/** * Translates the given choice message by choosing a translation according to a number. * * @param string $id The message id (may also be an object that can be cast to string) * @param int $number The number to use to find the index of the message * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:120
/** * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:91
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:110
/** * Adds a Loader. * * @param string $format The name of the loader (@see addResource()) */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:120
/** * Adds a Resource. * * @param string $format The name of the loader (@see addLoader()) * @param mixed $resource The resource name * @param string $locale The locale * @param string $domain The domain * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:135
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:160
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:173
/** * Sets the fallback locales. * * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:183
/** * Gets the fallback locales. * * @internal since Symfony 4.2 * * @return array The fallback locales */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:205
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:283
/** * Gets the loaders. * * @return array LoaderInterface[] */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:303
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:311
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:323
/** * @internal */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:423
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:459
/** * Asserts that the locale is valid, throws an Exception if not. * * @param string $locale Locale to tests * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:509
/** * @param string $string * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:138
/** * Tries to translate the provided message using the legacy system * * @param string $message * @param array $parameters * @param string $domain * @param string|null $locale * * @return mixed|string * * @throws \Exception */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:156
/** * Indicates if we should try and translate the provided wording using the legacy system. * * @param string $message Message to translate * @param ?string $domain Translation domain * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:178
/** * Returns the domain without separating dots * * @param string|null $domain Domain name * * @return string|null */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:196
/** * Sets Mobile_Detect tool object. * * @return Mobile_Detect */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:169
/** * Checks if visitor's device is a mobile device. * * @return bool */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:183
/** * Checks if visitor's device is a tablet device. * * @return bool */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:198
/** * Sets mobile_device context variable. * * @return bool */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:213
/** * Returns mobile device type. * * @return int */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:253
/** * @return Locale|null */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:273
/** * Clone current context object. * * @return static */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:346
/** * Updates customer in the context, updates the cookie and writes the updated cookie. * * @param Customer $customer Created customer */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:356
/** * Returns a translator depending on service container availability and if the method * is called by the installer or not. * * @param bool $isInstaller Set to true if the method is called by the installer * * @return Translator */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:443
/** * Returns a new instance of Translator for the provided locale code. * * @param string $locale IETF language tag (eg. "en-US") * * @return Translator */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:471
/** * Returns the computing precision according to the current currency. * If previously requested, it will be stored in priceComputingPrecision property. * * @return int */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:553
/** * Checks if mobile context is possible. * * @return bool * * @throws PrestaShopException */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:285
/** * Returns directories that contain translation resources * * @return array */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:531
/** * Get a singleton instance of Context object. * * @return Context|null */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:316
/** * @param Context $testInstance Unit testing purpose only */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:328
/** * Unit testing purpose only. */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:336
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:36
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:44
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:52
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use the trans() method instead with a %count% parameter */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:28
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:44
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:73
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/IntlFormatter.php:29
/** * @param TranslatorInterface|null $translator An identity translator to use as selector for pluralization */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:33
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:48
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:60
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use format() with a %count% parameter instead */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:70
drwxr-xr-x 1193 1196 4KB Apr 30 10:19 /unum/drukalabak/public_html/var/cache/prod/translations
/** * @param bool $debug The debug flag to pass to ConfigCache */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:30
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:38
/** * @param string $locale Locale code for the catalogue to check if loaded * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:40
/** * @param string $locale Locale code for the catalogue to be cleared */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:48
/** * Translates the given message. * * @param string $id The message id (may also be an object that can be cast to string) * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:50
/** * Performs a reverse search in the catalogue and returns the translation key if found. * AVOID USING THIS, IT PROVIDES APPROXIMATE RESULTS. * * @param string $translated Translated string * @param string $domain Translation domain * @param string|null $locale Unused * * @return string The translation * * @deprecated This method should not be used and will be removed */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:91
/** * Translates the given choice message by choosing a translation according to a number. * * @param string $id The message id (may also be an object that can be cast to string) * @param int $number The number to use to find the index of the message * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:120
/** * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:91
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:110
/** * Adds a Loader. * * @param string $format The name of the loader (@see addResource()) */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:120
/** * Adds a Resource. * * @param string $format The name of the loader (@see addLoader()) * @param mixed $resource The resource name * @param string $locale The locale * @param string $domain The domain * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:135
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:160
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:173
/** * Sets the fallback locales. * * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:183
/** * Gets the fallback locales. * * @internal since Symfony 4.2 * * @return array The fallback locales */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:205
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:283
/** * Gets the loaders. * * @return array LoaderInterface[] */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:303
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:311
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:323
/** * @internal */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:423
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:459
/** * Asserts that the locale is valid, throws an Exception if not. * * @param string $locale Locale to tests * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:509
/** * @param string $string * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:138
/** * Tries to translate the provided message using the legacy system * * @param string $message * @param array $parameters * @param string $domain * @param string|null $locale * * @return mixed|string * * @throws \Exception */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:156
/** * Indicates if we should try and translate the provided wording using the legacy system. * * @param string $message Message to translate * @param ?string $domain Translation domain * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:178
/** * Returns the domain without separating dots * * @param string|null $domain Domain name * * @return string|null */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:196
/** * @param ObjectModel $object * * @return array<string, mixed> * * @throws Exception */ Defined in <ROOT>/src/Adapter/Presenter/Object/ObjectPresenter.php:43
/** * Execute filterHtml hook for html Content for objectPresenter. * * @param string $type * @param ObjectModel $presentedObject * @param array $htmlFields */ Defined in <ROOT>/src/Adapter/Presenter/Object/ObjectPresenter.php:70
/** * @param float $price * @param int|null $currency * * @return float */ Defined in <ROOT>/src/Adapter/Product/PriceFormatter.php:43
/** * @param float $price * @param int|Currency|array|null $currency * * @return string */ Defined in <ROOT>/src/Adapter/Product/PriceFormatter.php:54
/** * @param float $price * * @return string */ Defined in <ROOT>/src/Adapter/Product/PriceFormatter.php:64
/** * Constructor (initialization only). * * @param string|null $protocolLink * @param string|null $protocolContent */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:57
/** * Create a link to delete a product. * * @param Product|array|int $product ID of the product OR a Product object * @param int $idPicture ID of the picture to delete * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:89
/** * Return a product object from various product format. * * @param Product|array|int $product * @param int $idLang * @param int $idShop * * @return Product * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:107
/** * Create a link to a product. * * @param ProductCore|array|int $product Product object (can be an ID product, but deprecated) * @param string|null $alias * @param string|null $category * @param string|null $ean13 * @param int|null $idLang * @param int|null $idShop (since 1.5.0) ID shop need to be used when we generate a product link for a product in a cart * @param int|null $idProductAttribute ID product attribute * @param bool $force_routes * @param bool $relativeProtocol * @param bool $withIdInAnchor * @param array $extraParams * @param bool $addAnchor * * @return string * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:142
/** * Get the URL to remove the Product from the Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:263
/** * Get URL to add one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:296
/** * Get URL to remove one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:313
/** * Get URL to update quantity of Product in Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * @param string|null $op * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:331
/** * Get add to Cart URL. * * @param int $idProduct * @param int $idProductAttribute * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:369
/** * Return a category object from various category format. * * @param Category|array|int $category * @param int $idLang * * @return Category * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:396
/** * Create a link to a category. * * @param CategoryCore|array|int|string $category Category object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param string|null $selectedFilters Url parameter to autocheck filters of the module blocklayered * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:423
/** * Create a link to a CMS category. * * @param CMSCategory|int $cmsCategory CMSCategory object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:484
/** * Create a link to a CMS page. * * @param CMS|int $cms CMS object * @param string|null $alias * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:536
/** * Create a link to a supplier. * * @param Supplier|int $supplier Supplier object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:587
/** * Create a link to a manufacturer. * * @param Manufacturer|int $manufacturer Manufacturer object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:639
/** * Create a link to a module. * * @since 1.5.0 * * @param string $module Module name * @param string $controller * @param array $params * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:685
/** * Use controller name to create a link. * * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param string $controller * @param bool $withToken include or not the token in the url * @param array $sfRouteParams (Since 1.7.0.0) Optional parameters to use into New architecture specific cases. If these specific cases should redirect to legacy URLs, then this parameter is used to complete GET query string * @param array $params (Since 1.7.0.3) Optional * * @return string url */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:727
/** * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param array $tab * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:868
/** * Used when you explicitly want to create a LEGACY admin link, this should be deprecated * in 1.8.0. * * @param string $controller * @param bool $withToken * @param array $params * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:893
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:911
/** * Search for a shop whose domain matches the current url. * * @return int|null */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:946
/** * Returns a link to a product image for display * Note: the new image filesystem stores product images in subdirectories of img/p/. * * @param string $name rewrite link of the image * @param string $ids id part of the image filename - can be "id_product-id_image" (legacy support, recommended) or "id_image" (new) * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:990
/** * Returns a link to a supplier image for display. * * @param int $idSupplier * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1029
/** * Returns a link to a manufacturer image for display. * * @param int $idManufacturer * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1055
/** * Returns a link to a store image for display. * * @param string $name * @param int $idStore * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1082
/** * @param string $filepath * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1104
/** * Create a simple link. * * @param string $controller * @param bool|null $ssl * @param int|null $idLang * @param string|array|null $request * @param bool $requestUrlEncode Use URL encode * @param int|null $idShop * @param bool $relativeProtocol * * @return string Page link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1122
/** * @param string $name * @param int $idCategory * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1171
/** * Retrieves a link for the current page in different language. * * @param int $idLang Language ID * @param Context|null $context the context if needed * * @return string link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1190
/** * @param string $url * @param int $p * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1246
/** * Get pagination link. * * @param string $type Controller name * @param int $idObject * @param bool $nb Show nb element per page attribute * @param bool $sort Show sort attribute * @param bool $pagination Show page number attribute * @param bool $array If false return an url, if true return an array * * @return string|array */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1265
/** * @param string $url * @param string $orderBy * @param string $orderWay * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1341
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1382
/** * Check if url match with current url. * * @param string $url * * @return bool */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1442
/** * @param int|null $idLang * @param Context|null $context * @param int|null $idShop * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1353
/** * Clean url http://website.com/admin_dir/foo => foo * Remove index.php? * Remove last char if it's ? or & * Remove token if exists. * * @param string $url * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1413
/** * @param array $params * * @return string * * @throws \InvalidArgumentException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1456
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:36
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:44
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:52
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use the trans() method instead with a %count% parameter */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:28
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:44
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:73
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/IntlFormatter.php:29
/** * @param TranslatorInterface|null $translator An identity translator to use as selector for pluralization */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:33
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:48
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:60
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use format() with a %count% parameter instead */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:70
drwxr-xr-x 1193 1196 4KB Apr 30 10:19 /unum/drukalabak/public_html/var/cache/prod/translations
/** * @param bool $debug The debug flag to pass to ConfigCache */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:30
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:38
/** * @param string $locale Locale code for the catalogue to check if loaded * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:40
/** * @param string $locale Locale code for the catalogue to be cleared */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:48
/** * Translates the given message. * * @param string $id The message id (may also be an object that can be cast to string) * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:50
/** * Performs a reverse search in the catalogue and returns the translation key if found. * AVOID USING THIS, IT PROVIDES APPROXIMATE RESULTS. * * @param string $translated Translated string * @param string $domain Translation domain * @param string|null $locale Unused * * @return string The translation * * @deprecated This method should not be used and will be removed */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:91
/** * Translates the given choice message by choosing a translation according to a number. * * @param string $id The message id (may also be an object that can be cast to string) * @param int $number The number to use to find the index of the message * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:120
/** * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:91
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:110
/** * Adds a Loader. * * @param string $format The name of the loader (@see addResource()) */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:120
/** * Adds a Resource. * * @param string $format The name of the loader (@see addLoader()) * @param mixed $resource The resource name * @param string $locale The locale * @param string $domain The domain * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:135
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:160
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:173
/** * Sets the fallback locales. * * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:183
/** * Gets the fallback locales. * * @internal since Symfony 4.2 * * @return array The fallback locales */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:205
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:283
/** * Gets the loaders. * * @return array LoaderInterface[] */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:303
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:311
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:323
/** * @internal */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:423
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:459
/** * Asserts that the locale is valid, throws an Exception if not. * * @param string $locale Locale to tests * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:509
/** * @param string $string * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:138
/** * Tries to translate the provided message using the legacy system * * @param string $message * @param array $parameters * @param string $domain * @param string|null $locale * * @return mixed|string * * @throws \Exception */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:156
/** * Indicates if we should try and translate the provided wording using the legacy system. * * @param string $message Message to translate * @param ?string $domain Translation domain * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:178
/** * Returns the domain without separating dots * * @param string|null $domain Domain name * * @return string|null */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:196
/** * Constructor (initialization only). * * @param string|null $protocolLink * @param string|null $protocolContent */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:57
/** * Create a link to delete a product. * * @param Product|array|int $product ID of the product OR a Product object * @param int $idPicture ID of the picture to delete * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:89
/** * Return a product object from various product format. * * @param Product|array|int $product * @param int $idLang * @param int $idShop * * @return Product * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:107
/** * Create a link to a product. * * @param ProductCore|array|int $product Product object (can be an ID product, but deprecated) * @param string|null $alias * @param string|null $category * @param string|null $ean13 * @param int|null $idLang * @param int|null $idShop (since 1.5.0) ID shop need to be used when we generate a product link for a product in a cart * @param int|null $idProductAttribute ID product attribute * @param bool $force_routes * @param bool $relativeProtocol * @param bool $withIdInAnchor * @param array $extraParams * @param bool $addAnchor * * @return string * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:142
/** * Get the URL to remove the Product from the Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:263
/** * Get URL to add one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:296
/** * Get URL to remove one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:313
/** * Get URL to update quantity of Product in Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * @param string|null $op * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:331
/** * Get add to Cart URL. * * @param int $idProduct * @param int $idProductAttribute * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:369
/** * Return a category object from various category format. * * @param Category|array|int $category * @param int $idLang * * @return Category * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:396
/** * Create a link to a category. * * @param CategoryCore|array|int|string $category Category object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param string|null $selectedFilters Url parameter to autocheck filters of the module blocklayered * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:423
/** * Create a link to a CMS category. * * @param CMSCategory|int $cmsCategory CMSCategory object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:484
/** * Create a link to a CMS page. * * @param CMS|int $cms CMS object * @param string|null $alias * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:536
/** * Create a link to a supplier. * * @param Supplier|int $supplier Supplier object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:587
/** * Create a link to a manufacturer. * * @param Manufacturer|int $manufacturer Manufacturer object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:639
/** * Create a link to a module. * * @since 1.5.0 * * @param string $module Module name * @param string $controller * @param array $params * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:685
/** * Use controller name to create a link. * * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param string $controller * @param bool $withToken include or not the token in the url * @param array $sfRouteParams (Since 1.7.0.0) Optional parameters to use into New architecture specific cases. If these specific cases should redirect to legacy URLs, then this parameter is used to complete GET query string * @param array $params (Since 1.7.0.3) Optional * * @return string url */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:727
/** * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param array $tab * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:868
/** * Used when you explicitly want to create a LEGACY admin link, this should be deprecated * in 1.8.0. * * @param string $controller * @param bool $withToken * @param array $params * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:893
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:911
/** * Search for a shop whose domain matches the current url. * * @return int|null */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:946
/** * Returns a link to a product image for display * Note: the new image filesystem stores product images in subdirectories of img/p/. * * @param string $name rewrite link of the image * @param string $ids id part of the image filename - can be "id_product-id_image" (legacy support, recommended) or "id_image" (new) * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:990
/** * Returns a link to a supplier image for display. * * @param int $idSupplier * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1029
/** * Returns a link to a manufacturer image for display. * * @param int $idManufacturer * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1055
/** * Returns a link to a store image for display. * * @param string $name * @param int $idStore * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1082
/** * @param string $filepath * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1104
/** * Create a simple link. * * @param string $controller * @param bool|null $ssl * @param int|null $idLang * @param string|array|null $request * @param bool $requestUrlEncode Use URL encode * @param int|null $idShop * @param bool $relativeProtocol * * @return string Page link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1122
/** * @param string $name * @param int $idCategory * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1171
/** * Retrieves a link for the current page in different language. * * @param int $idLang Language ID * @param Context|null $context the context if needed * * @return string link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1190
/** * @param string $url * @param int $p * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1246
/** * Get pagination link. * * @param string $type Controller name * @param int $idObject * @param bool $nb Show nb element per page attribute * @param bool $sort Show sort attribute * @param bool $pagination Show page number attribute * @param bool $array If false return an url, if true return an array * * @return string|array */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1265
/** * @param string $url * @param string $orderBy * @param string $orderWay * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1341
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1382
/** * Check if url match with current url. * * @param string $url * * @return bool */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1442
/** * @param int|null $idLang * @param Context|null $context * @param int|null $idShop * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1353
/** * Clean url http://website.com/admin_dir/foo => foo * Remove index.php? * Remove last char if it's ? or & * Remove token if exists. * * @param string $url * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1413
/** * @param array $params * * @return string * * @throws \InvalidArgumentException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1456
Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:64
/** * @param array $product * @param Language $language * * @return array */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:75
/** * @param array $product * @param Language $language * * @return array */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:140
/** * @param Product|Store|Category|Manufacturer|Supplier $object * @param int $id_image * * @return array|null * * @throws PrestaShopDatabaseException */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:164
/** * @param string $imageHash * * @return array */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:341
/** * @param Language $language * * @return array * * @throws PrestaShopDatabaseException * @throws PrestaShopException if the image type is not found */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:377
/** * @param string $originalImagePath * @param string $imageFolderPath * @param int $idImage * @param array $imageTypeData * @param string $imageFormat * @param bool $hdpi * * @return void */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:304
/** * @return bool */ Inherited from TaxConfigurationCore Defined in <ROOT>/classes/tax/TaxConfiguration.php:34
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:86
/** * @param array $products * @param Cart $cart * * @return array */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:194
/** * @param Cart $cart * @param bool $shouldSeparateGifts * * @return array * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:317
/** * Receives a string containing a list of attributes affected to the product and returns them as an array. * * @param string $attributes * * @return array Converted attributes in an array */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:666
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:684
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:702
/** * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:99
/** * @param array $rawProduct * * @return ProductLazyArray|ProductListingLazyArray */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:109
/** * Accepts a cart object with the shipping cost amount and formats the shipping cost display value accordingly. * If the shipping cost is 0, then we must check if this is because of a free carrier and thus display 'Free' or * simply because the system was unable to determine shipping cost at this point and thus send an empty string to hide the shipping line. * * @param Cart $cart * @param float $shippingCost * * @return string */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:507
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:544
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:620
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:632
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:642
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:652
drwxr-xr-x 1193 1196 4KB Feb 14 09:27 /unum/drukalabak/public_html/themes/laber_expert_home7/templates
Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:42
Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:48
/** * Get productListEntities. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:124
/** * Set productListEntities. * * @param array $productListEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:136
/** * Get productListSearch. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:148
/** * Set productListSearch. * * @param array $productListSearchEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:160
/** * Get productEntities. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:172
/** * Set productEntities. * * @param array $productEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:184
/** * Get brandListEntities. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:196
/** * Set brandListEntities. * * @param array $brandListEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:208
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
id | type | path | uri | media | priority | server | |
---|---|---|---|---|---|---|---|
theme-main | theme-main | external | /themes/laber_expert_home7/assets/css/theme.css | https://drukalabak.lv/themes/laber_expert_home7/assets/css/theme.css | all | 50 | local |
ps_socialfollow_icons | ps_socialfollow_icons | external | /modules/ps_socialfollow/views/css/ps_socialfollow.css | https://drukalabak.lv/modules/ps_socialfollow/views/css/ps_socialfollow.css | all | 50 | local |
modules-searchbar | modules-searchbar | external | /modules/ps_searchbar/ps_searchbar.css | https://drukalabak.lv/modules/ps_searchbar/ps_searchbar.css | all | 50 | local |
modules-labsearch | modules-labsearch | external | /themes/laber_expert_home7/modules/labblocksearch/views/css/labsearch.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labblocksearch/views/... | all | 50 | local |
modules-labproductnextprev | modules-labproductnextprev | external | /themes/laber_expert_home7/modules/labproductnextprev/views/css/labproductnex... | https://drukalabak.lv/themes/laber_expert_home7/modules/labproductnextprev/vi... | all | 50 | local |
3a16c5aa4fffea543079c8658fe0ef2dde1511e6 | 3a16c5aa4fffea543079c8658fe0ef2dde1511e6 | external | /modules/productcomments/views/css/productcomments.css | https://drukalabak.lv/modules/productcomments/views/css/productcomments.css | all | 80 | local |
55f0a3d830c361878f1b6a09fd06eea1a683722e | 55f0a3d830c361878f1b6a09fd06eea1a683722e | external | /modules/labthemeoptions//views/templates/front/colortool/css/lab.cltool.css | https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortoo... | all | 80 | local |
514c51f8495ec7d95240e05a4d0a198c86d3d46c | 514c51f8495ec7d95240e05a4d0a198c86d3d46c | external | /modules/labthemeoptions//views/templates/front/colortool/css/colorpicker.css | https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortoo... | all | 80 | local |
0639c0fb5e470a730f5ba3f64a30027fa8058f83 | 0639c0fb5e470a730f5ba3f64a30027fa8058f83 | external | /modules/labthemeoptions/css/font-awesome.min.css | https://drukalabak.lv/modules/labthemeoptions/css/font-awesome.min.css | all | 80 | local |
8bc9ada9f7331cfa7a54ebf418ec29c9e0994982 | 8bc9ada9f7331cfa7a54ebf418ec29c9e0994982 | external | /modules/labthemeoptions/css/materialdesignicons.min.css | https://drukalabak.lv/modules/labthemeoptions/css/materialdesignicons.min.css | all | 80 | local |
a9e711fb5d3584e71213a454030d32e2c4d46045 | a9e711fb5d3584e71213a454030d32e2c4d46045 | external | /modules/labthemeoptions/css/animate.css | https://drukalabak.lv/modules/labthemeoptions/css/animate.css | all | 80 | local |
6cbf02cb228e080b8786edfafee87d68a8d0bce4 | 6cbf02cb228e080b8786edfafee87d68a8d0bce4 | external | /modules/labthemeoptions/css/owl.carousel.css | https://drukalabak.lv/modules/labthemeoptions/css/owl.carousel.css | all | 80 | local |
9105148937b31c09e1f47f93114296358b3e775a | 9105148937b31c09e1f47f93114296358b3e775a | external | /modules/labthemeoptions/css/linearicons-Free.css | https://drukalabak.lv/modules/labthemeoptions/css/linearicons-Free.css | all | 80 | local |
33b4a5d0e39a396a0b44444be3c3e61750b169fd | 33b4a5d0e39a396a0b44444be3c3e61750b169fd | external | /modules/labthemeoptions/css/flaticon.css | https://drukalabak.lv/modules/labthemeoptions/css/flaticon.css | all | 80 | local |
517ee63bf4630615eeeffcacc296f480e5ec4e7f | 517ee63bf4630615eeeffcacc296f480e5ec4e7f | external | /themes/laber_expert_home7/modules/labthemeoptions/css/laberthemes.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labthemeoptions/css/l... | all | 80 | local |
af2f63736b607b3eda3a1484d286995993768eb0 | af2f63736b607b3eda3a1484d286995993768eb0 | external | /themes/laber_expert_home7/modules/labslideshow/css/labslideshow.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labslideshow/css/labs... | all | 80 | local |
92b10ef8cc3223543341adabefd87c6a186dc2b3 | 92b10ef8cc3223543341adabefd87c6a186dc2b3 | external | /themes/laber_expert_home7/modules/labercompare/views/css/front.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labercompare/views/cs... | all | 80 | local |
892e83b75bf9473d0e2deeb7867ed23336c5c056 | 892e83b75bf9473d0e2deeb7867ed23336c5c056 | external | /themes/laber_expert_home7/modules/labvegamenu/views/css/labvegamenu.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labvegamenu/views/css... | all | 80 | local |
05be3aed09ec706352bc7428f43bbe2b9f05259f | 05be3aed09ec706352bc7428f43bbe2b9f05259f | external | /themes/laber_expert_home7/modules/labmegamenu/views/css/front.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labmegamenu/views/css... | all | 80 | local |
jquery-ui | jquery-ui | external | /js/jquery/ui/themes/base/minified/jquery-ui.min.css | https://drukalabak.lv/js/jquery/ui/themes/base/minified/jquery-ui.min.css | all | 90 | local |
jquery-ui-theme | jquery-ui-theme | external | /js/jquery/ui/themes/base/minified/jquery.ui.theme.min.css | https://drukalabak.lv/js/jquery/ui/themes/base/minified/jquery.ui.theme.min.css | all | 95 | local |
blockwishlistController | blockwishlistController | external | /modules/blockwishlist/public/wishlist.css | https://drukalabak.lv/modules/blockwishlist/public/wishlist.css | all | 100 | local |
autocomplete/jquery.autocomplete.css | autocomplete/jquery.autocomplete.css | external | /js/jquery/plugins/autocomplete/jquery.autocomplete.css | https://drukalabak.lv/js/jquery/plugins/autocomplete/jquery.autocomplete.css | all | 100 | local |
modules-homeslider | modules-homeslider | external | /modules/ps_imageslider/css/homeslider.css | https://drukalabak.lv/modules/ps_imageslider/css/homeslider.css | all | 150 | local |
xipblog_css | xipblog_css | external | /themes/laber_expert_home7/modules/xipblog/css/xipblog.css | https://drukalabak.lv/themes/laber_expert_home7/modules/xipblog/css/xipblog.css | all | 250 | local |
theme-custom | theme-custom | external | /themes/laber_expert_home7/assets/css/custom.css | https://drukalabak.lv/themes/laber_expert_home7/assets/css/custom.css | all | 1000 | local |
https://drukalabak.lv/themes/laber_expert_home7/modules/labblocksearch/views/css/labsearch.css
/themes/laber_expert_home7/modules/labproductnextprev/views/css/labproductnextprev.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labproductnextprev/views/css/labproductnextprev.css
https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortool/css/lab.cltool.css
https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortool/css/colorpicker.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labthemeoptions/css/laberthemes.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labslideshow/css/labslideshow.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labercompare/views/css/front.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labvegamenu/views/css/labvegamenu.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labmegamenu/views/css/front.css
https://drukalabak.lv/js/jquery/ui/themes/base/minified/jquery.ui.theme.min.css
https://drukalabak.lv/themes/laber_expert_home7/modules/xipblog/css/xipblog.css
/** * @param string $id * @param string $relativePath * @param string $media * @param int $priority * @param bool $inline * @param string $server * @param bool $needRtl * @param string|null $version */ Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:59
Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:82
/** * @return array */ Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:96
Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:40
/** * @param string $relativePath * * @return bool|string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:57
Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:41
/** * @param string $id * @param string $fullPath * @param string $media * @param int $priority * @param bool $inline * @param string $server * @param string|null $version */ Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:113
/** * @param string $fullPath * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:44
/** * @param string $fullUri * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:54
/** * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:66
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
external | inline | |
---|---|---|
head | array (0) | array (0) |
bottom | array (32) | array (0) |
/** * @param string $id * @param string $relativePath * @param string $position * @param int $priority * @param bool $inline * @param string|null $attribute * @param string $server * @param string|null $version */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:60
Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:77
/** * @return array */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:129
Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:40
/** * @param string $relativePath * * @return bool|string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:57
/** * @return array */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:37
/** * @param string $id * @param string $fullPath * @param string $position * @param int $priority * @param bool $inline * @param string $attribute * @param string $server * @param string|null $version */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:100
/** * @param string $fullPath * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:44
/** * @param string $fullUri * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:54
/** * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:66
drwxr-xr-x 1193 1196 4KB Apr 30 09:55 /unum/drukalabak/public_html/themes/laber_expert_home7/assets/cache
/** * Copies a file. * * If the target file is older than the origin file, it's always overwritten. * If the target file is newer, it is overwritten only when the * $overwriteNewerFiles option is set to true. * * @param string $originFile The original filename * @param string $targetFile The target filename * @param bool $overwriteNewerFiles If true, target files newer than origin files are overwritten * * @throws FileNotFoundException When originFile doesn't exist * @throws IOException When copy fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:41
/** * Creates a directory recursively. * * @param string|iterable $dirs The directory path * @param int $mode The directory mode * * @throws IOException On any directory creation failure */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:94
/** * Checks the existence of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to check * * @return bool true if the file exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:120
/** * Sets access and modification time of file. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to create * @param int|null $time The touch time as a Unix timestamp, if not supplied the current system time is used * @param int|null $atime The access time as a Unix timestamp, if not supplied the current system time is used * * @throws IOException When touch fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:146
/** * Removes files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to remove * * @throws IOException When removal fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:163
/** * Change mode for an array of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to change mode * @param int $mode The new mode (octal) * @param int $umask The mode mask (octal) * @param bool $recursive Whether change the mod recursively or not * * @throws IOException When the change fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:199
/** * Change the owner of an array of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to change owner * @param string|int $user A user name or number * @param bool $recursive Whether change the owner recursively or not * * @throws IOException When the change fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:220
/** * Change the group of an array of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to change group * @param string|int $group A group name or number * @param bool $recursive Whether change the group recursively or not * * @throws IOException When the change fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:247
/** * Renames a file or a directory. * * @param string $origin The origin filename or directory * @param string $target The new filename or directory * @param bool $overwrite Whether to overwrite the target if it already exists * * @throws IOException When target file or directory already exists * @throws IOException When origin cannot be renamed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:275
/** * Creates a symbolic link or copy a directory. * * @param string $originDir The origin directory path * @param string $targetDir The symbolic link name * @param bool $copyOnWindows Whether to copy files if on Windows * * @throws IOException When symlink fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:319
/** * Creates a hard link, or several hard links to a file. * * @param string $originFile The original file * @param string|string[] $targetFiles The target file(s) * * @throws FileNotFoundException When original file is missing or not a file * @throws IOException When link fails, including if link already exists */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:357
/** * Resolves links in paths. * * With $canonicalize = false (default) * - if $path does not exist or is not a link, returns null * - if $path is a link, returns the next direct target of the link without considering the existence of the target * * With $canonicalize = true * - if $path does not exist, returns null * - if $path exists, returns its absolute fully resolved final version * * @param string $path A filesystem path * @param bool $canonicalize Whether or not to return a canonicalized path * * @return string|null */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:412
/** * Given an existing path, convert it to a path relative to a given starting path. * * @param string $endPath Absolute path of target * @param string $startPath Absolute path where traversal begins * * @return string Path of target relative to starting path */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:445
/** * Mirrors a directory to another. * * Copies files and directories from the origin directory into the target directory. By default: * * - existing files in the target directory will be overwritten, except if they are newer (see the `override` option) * - files in the target directory that do not exist in the source directory will not be deleted (see the `delete` option) * * @param string $originDir The origin directory * @param string $targetDir The target directory * @param \Traversable|null $iterator Iterator that filters which files and directories to copy, if null a recursive iterator is created * @param array $options An array of boolean options * Valid options are: * - $options['override'] If true, target files newer than origin files are overwritten (see copy(), defaults to false) * - $options['copy_on_windows'] Whether to copy files instead of links on Windows (see symlink(), defaults to false) * - $options['delete'] Whether to delete files that are not in the source directory (defaults to false) * * @throws IOException When file type is unknown */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:535
/** * Returns whether the file path is an absolute path. * * @param string $file A file path * * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:598
/** * Creates a temporary file with support for custom stream wrappers. * * @param string $dir The directory where the temporary filename will be created * @param string $prefix The prefix of the generated temporary filename * Note: Windows uses only the first three characters of prefix * * @return string The new temporary filename (with path), or throw an exception on failure */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:622
/** * Atomically dumps content into a file. * * @param string $filename The file to be written to * @param string|resource $content The data to write into the file * * @throws IOException if the file cannot be written to */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:673
/** * Appends content to an existing file. * * @param string $filename The file to which to append content * @param string|resource $content The content to append * * @throws IOException If the file is not writable */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:712
/** * Tells whether a file exists and is readable. * * @throws IOException When windows path is longer than 258 characters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:299
/** * @param string $linkType Name of the link type, typically 'symbolic' or 'hard' */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:386
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:729
/** * Gets a 2-tuple of scheme (may be null) and hierarchical part of a filename (e.g. file:///tmp -> [file, tmp]). */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:737
/** * @internal */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:777
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:744
/** * @param mixed ...$args * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:756
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
/** * @param string $cacheDir * @param ConfigurationInterface $configuration * @param Filesystem $filesystem */ Inherited from CccReducerCore Defined in <ROOT>/classes/assets/CccReducer.php:45
/** * @param array $cssFileList * * @return array Same list, reduced */ Inherited from CccReducerCore Defined in <ROOT>/classes/assets/CccReducer.php:61
/** * @param array $jsFileList * * @return array Same list, reduced */ Inherited from CccReducerCore Defined in <ROOT>/classes/assets/CccReducer.php:102
/** * @param string $fullPath * * @return string */ Inherited from CccReducerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:44
/** * @param string $fullUri * * @return string */ Inherited from CccReducerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:54
/** * @return string */ Inherited from CccReducerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:66
url | width | height | |
---|---|---|---|
small_default | https://drukalabak.lv/img/p/lv-default-small_default.jpg | 98 | 98 |
cart_default | https://drukalabak.lv/img/p/lv-default-cart_default.jpg | 125 | 125 |
home_default | https://drukalabak.lv/img/p/lv-default-home_default.jpg | 250 | 250 |
medium_default | https://drukalabak.lv/img/p/lv-default-medium_default.jpg | 452 | 452 |
large_default | https://drukalabak.lv/img/p/lv-default-large_default.jpg | 600 | 600 |
/** * @param int|null $id_product Product identifier * @param bool $full Load with price, tax rate, manufacturer name, supplier name, tags, stocks... * @param int|null $id_lang Language identifier * @param int|null $id_shop Shop identifier * @param Context|null $context Context to use for retrieve cart */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:723
/** * @see ObjectModel::getFieldsShop() * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:767
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:780
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:820
/** * Move a product inside its category. * * @param bool $way Up (1) or Down (0) * @param int $position * * @return bool Update result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:965
/** * @param string $available_date Date in mysql format Y-m-d * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1162
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1259
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1290
/** * @param array $products Product identifiers * * @return bool|int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1372
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1393
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1403
/** * addToCategories add this product to the category/ies if not exists. * * @param int|int[] $categories id_category or array of id_category * * @return bool true if succeed */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1415
/** * Update categories to index product into. * * @param int[] $categories Categories list to index product into * @param bool $keeping_current_pos (deprecated, no more used) * * @return bool Update/insertion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1473
/** * deleteCategory delete this product from the category $id_category. * * @param int $id_category Category identifier * @param bool $clean_positions * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1517
/** * Delete all association to category where product is indexed. * * @param bool $clean_positions clean category positions after deletion * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1547
/** * Delete products tags entries. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1574
/** * Delete product from cart. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1584
/** * Delete product images from database. * * @return bool success */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1594
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1719
/** * @param int[] $attributes_list Attribute identifier(s) * @param int|false $current_product_attribute Attribute identifier * @param Context|null $context * @param bool $all_shops * @param bool $return_id * * @return bool|int|string Attribute exist or Attribute identifier if return_id = true */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1744
/** * addProductAttribute is deprecated. * * The quantity params now set StockAvailable for the current shop with the specified quantity * The supplier_reference params now set the supplier reference of the default supplier of the product if possible * * @deprecated since 1.5.0 * @see StockManager if you want to manage real stock * @see StockAvailable if you want to manage available quantities for sale on your shop(s) * @see ProductSupplier for manage supplier reference(s) * * @param float $price Additional price * @param float $weight Additional weight * @param float $unit_impact * @param float $ecotax Additional ecotax * @param int $quantity * @param int[] $id_images Image ids * @param string $reference Reference * @param int $id_supplier Supplier identifier * @param string $ean13 * @param bool $default Is default attribute for product * @param string $location * @param string $upc * @param int $minimal_quantity * @param string $isbn * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * * @return int|false Attribute identifier if success, false if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1823
/** * @param array $combinations * @param array $attributes * @param bool $resetExistingCombination * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1883
/** * @param array<int> $combinations * @param int $langId * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1931
/** * @param float $wholesale_price * @param float $price Additional price * @param float $weight Additional weight * @param float $unit_impact * @param float $ecotax Additional ecotax * @param int $quantity deprecated * @param int[] $id_images Image ids * @param string $reference Reference * @param int $id_supplier Supplier identifier * @param string $ean13 * @param bool $default Is default attribute for product * @param string|null $location * @param string|null $upc * @param int $minimal_quantity * @param array $id_shop_list * @param string|null $available_date Date in mysql format Y-m-d * @param string $isbn * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * @param string[]|string $available_now Combination available now labels * @param string[]|string $available_later Combination available later labels * * @return int|false Attribute identifier if success, false if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1970
/** * Delete all default attributes for product. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2033
/** * @param int $id_product_attribute Attribute identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2045
/** * Update a product attribute. * * @deprecated since 1.5 * @see updateAttribute() to use instead * @see ProductSupplier for manage supplier reference(s) * * @param int $id_product_attribute Attribute identifier * @param float $wholesale_price * @param float $price Additional price * @param float $weight Additional weight * @param float $unit * @param float $ecotax Additional ecotax * @param int[] $id_images Image ids * @param string $reference * @param int $id_supplier Supplier identifier * @param string $ean13 * @param bool $default Is default attribute for product * @param string $location * @param string $upc * @param int $minimal_quantity * @param string $available_date Date in mysql format Y-m-d * @param string $isbn * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * @param string[]|string|null $available_now Combination available now labels * @param string[]|string|null $available_later Combination available later labels * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2126
/** * Sets or updates Supplier Reference. * * @param int $id_supplier Supplier identifier * @param int $id_product_attribute Attribute identifier * @param string|null $supplier_reference * @param float|null $price * @param int|null $id_currency Currency identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2189
/** * Update a product attribute. * * @param int $id_product_attribute Product attribute id * @param float $wholesale_price Wholesale price * @param float $price Additional price * @param float $weight Additional weight * @param float $unit Additional unit price * @param float $ecotax Additional ecotax * @param int[] $id_images Image identifiers * @param string $reference Reference * @param string $ean13 Ean-13 barcode * @param bool $default Is default attribute for product * @param string|null $location * @param string $upc Upc barcode * @param int|null $minimal_quantity Minimal quantity * @param string|null $available_date Date in mysql format Y-m-d * @param bool $update_all_fields * @param int[] $id_shop_list * @param string $isbn ISBN reference * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string $mpn MPN * @param string[]|string|null $available_now Combination available now labels * @param string[]|string|null $available_later Combination available later labels * * @return bool Update result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2243
/** * Add a product attribute. * * @since 1.5.0.1 * * @param float $price Additional price * @param float $weight Additional weight * @param float $unit_impact Additional unit price * @param float $ecotax Additional ecotax * @param int[] $id_images Image ids * @param string $reference Reference * @param string $ean13 Ean-13 barcode * @param bool $default Is default attribute for product * @param string $location Location * @param string|null $upc * @param int $minimal_quantity Minimal quantity to add to cart * @param int[] $id_shop_list * @param string|null $available_date Date in mysql format Y-m-d * @param int $quantity * @param string $isbn ISBN reference * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * @param string[]|string $available_now Combination available now labels * @param string[]|string $available_later Combination available later labels * * @return int|false|void Attribute identifier if success, false if failed to add Combination, void if Product identifier not set */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2387
/** * @deprecated since 1.5.0 * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2489
/** * Delete product attributes. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2509
/** * Delete product features. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2530
/** * Delete product attachments. * * @param bool $update_attachment_cache If set to true attachment cache will be updated * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2564
/** * Delete product customizations. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2584
/** * Delete product pack details. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2604
/** * Delete product sales. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2618
/** * Delete product indexed words. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2631
/** * Delete a product attributes combination. * * @param int $id_product_attribute Attribute identifier * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2652
/** * Delete features. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2679
/** * Get all available product attributes resume. * * @param int $id_lang Language identifier * @param string $attribute_value_separator * @param string $attribute_separator * * @return bool|array Product attributes combinations */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2725
/** * Get all available product attributes combinations. * * @param int|null $id_lang Language identifier * @param bool $groupByIdAttributeGroup * * @return array Product attributes combinations */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2792
/** * Get product attribute combination by id_product_attribute. * * @param int $id_product_attribute Attribute identifier * @param int $id_lang Language identifier * @param bool $groupByIdAttributeGroup * * @return array Product attribute combination by id_product_attribute */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2843
/** * @param int $id_lang Language identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2893
/** * Check if product has attributes combinations. * * @return int Attributes combinations number */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2970
/** * getCategories return an array of categories which this product belongs to. * * @return array of categories */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3474
/** * Gets carriers assigned to the product. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3484
/** * Sets carriers assigned to the product. * * @param int[] $carrier_list */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3500
/** * Get product images and legends. * * @param int $id_lang Language identifier * @param Context|null $context * * @return array Product images and legends */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3537
/** * Get product price * Same as static function getPriceStatic, no need to specify product id. * * @param bool $tax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier * @param int $decimals Number of decimals * @param int|null $divisor Util when paying many time without fees * @param bool $only_reduc * @param bool $usereduc * @param int $quantity * * @return float Product price in euros */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4155
/** * @param bool $tax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier * @param int $decimals Number of decimals * @param null $divisor Util when paying many time without fees * @param bool $only_reduc * @param bool $usereduc * @param int $quantity * * @return float */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4178
/** * @return int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4213
/** * @return int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4230
/** * @param bool $notax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier * @param int $decimals Number of decimals * * @return float */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4253
/** * Check product availability. * * @param int $qty Quantity desired * * @return bool True if product is available with this quantity, false otherwise */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4414
/** * Check if there is no default attribute and create it if not. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4430
/** * Get all available attribute groups. * * @param int $id_lang Language identifier * @param int $id_product_attribute Combination id to get the groups for * * @return array Attribute groups */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4545
/** * Delete product accessories. * Wrapper to static method deleteAccessories($product_id). * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4590
/** * Delete product carrier restriction. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4600
/** * Delete product from other products accessories. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4614
/** * Get product accessories. * * @param int $id_lang Language identifier * @param bool $active * * @return array Product accessories */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4651
/** * Link accessories with product * Wrapper to static method changeAccessories($accessories_id, $product_id). * * @param array $accessories_id Accessories ids */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4718
/** * Add new feature to product. * * @param int $id_value Feature identifier * @param int $lang Language identifier * @param string $cust Text of custom value * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4750
/** * @param int $id_feature Feature identifier * @param int $id_value FeatureValue identifier * @param int $cust 1 = use a custom value, 0 = use $id_value * * @return int|string|void FeatureValue identifier or void if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4764
/** * Select all features for the object. * * @return array Array with feature product's data */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4801
/** * Get the link of the product page of this product. * * @param Context|null $context * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5528
/** * @param int $id_lang Language identifier * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5542
/** * @param int $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6015
/** * @return int[] * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6041
/** * @param int $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6063
/** * @param int $uploadable_files * @param int $text_fields * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6370
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6395
/** * @param int|false $id_lang Language identifier * @param int|null $id_shop Shop identifier * * @return array|bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6450
/** * check if product has an activated and required customizationFields. * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6497
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6515
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6531
/** * @param int $fieldType |null * * @return int * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6556
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6579
/** * @param Context|null $context * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6613
/** * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6684
/** * @param int $id_customer Customer identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6696
/** * Add a stock movement for current product. * * Since 1.5, this method only permit to add/remove available quantities of the current product in the current shop * * @see StockManager if you want to manage real stock * @see StockAvailable if you want to manage available quantities for sale on your shop(s) * @deprecated since 1.5.0 * * @param int $quantity * @param int $id_reason StockMvtReason identifier - useless * @param int|null $id_product_attribute Attribute identifier * @param int|null $id_order Order identifier - DEPRECATED * @param int|null $id_employee Employee identifier - DEPRECATED * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6756
/** * @deprecated since 1.5.0 * * @param int $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6783
/** * @return int TaxRulesGroup identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6836
/** * Returns tax rate. * * @param Address|null $address * * @return float The total taxes rate applied to the product */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6873
/** * Webservice getter : get product features association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6890
/** * Webservice setter : set product features association. * * @param array $product_features Feature data * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6917
/** * Webservice getter : get virtual field default combination. * * @return int Default Attribute identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6936
/** * Webservice setter : set virtual field default combination. * * @param int $id_combination Default Attribute identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6948
/** * Webservice getter : get category ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6960
/** * Webservice setter : set category ids of current product for association. * * @param array $category_ids category ids * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6980
/** * Webservice getter : get product accessories ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7047
/** * Webservice setter : set product accessories ids of current product for association. * * @param array $accessories product ids * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7067
/** * Webservice getter : get combination ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7082
/** * Webservice setter : set combination ids of current product for association. * * @param array $combinations combination ids * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7101
/** * Webservice getter : get product option ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7174
/** * Webservice getter : get virtual field position in category. * * @return int|string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7192
/** * Webservice setter : set virtual field position in category. * * @param int $position * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7214
/** * Webservice getter : get virtual field id_default_image in category. * * @return int|string|null */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7279
/** * Webservice setter : set virtual field id_default_image in category. * * @param int $id_image * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7293
/** * Webservice getter : get image ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7311
/** * Webservice getter : Get StockAvailable identifier and Attribute identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7326
/** * Webservice getter: Get product attachments ids of current product for association * * @return array<int, array{id: string}> */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7338
/** * Webservice setter: set product attachments ids of current product for association * * @param array<array{id: int|string}> $attachments ids */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7354
Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7366
/** * Webservice setter : set tag ids of current product for association. * * @param array $tag_ids Tag identifiers * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7381
/** * Delete products tags entries without delete tags for webservice usage. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7413
/** * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7421
/** * Set Group reduction if needed. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7439
/** * Checks if reference exists. * * @param string $reference Product reference * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7451
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7552
/** * Get the combination url anchor of the product. * * @param int $id_product_attribute Attribute identifier * @param bool $with_id * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7646
/** * @param bool $autodate * @param bool $null_values * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7716
/** * @param bool $null_values * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7731
/** * Get list of parent categories. * * @since 1.5.0 * * @param int|null $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7821
/** * Fill the variables used for stock management. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7840
/** * Get Advanced Stock Management status for this product * * @return bool 0 for disabled, 1 for enabled */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7862
/** * Set Advanced Stock Management status for this product * * @param bool $value false for disabled, true for enabled */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7876
/** * Get the default category according to the shop. * * @return array{id_category_default: int}|int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7900
/** * Remove all downloadable files for product and its attributes. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7937
/** * Get the product type (simple, virtual, pack). * * @since in 1.5.0 * * @return int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7957
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7975
/** * @return string simple, pack, virtual */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8059
/** * Create the link rewrite if not exists or invalid on product creation * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8075
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8095
/** * @param string $type_str simple, pack, virtual * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8105
/** * @param array $items * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8135
/** * @param int $id_attribute Attribute identifier * @param int $id_shop Shop identifier * * @return string Attribute identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8162
/** * Get object of redirect_type. * * @return string|false category, product, false if unknown redirect_type */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8268
/** * Return an array of customization fields IDs. * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8288
/** * Remove unused customization for the product. * * @param array $customizationIds - Array of customization fields IDs * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8306
/** * Update the customization fields to be deleted if not used. * * @param array $customizationIds - Array of excluded customization fields IDs * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8334
/** * Update default supplier data * * @param int $idSupplier * @param float $wholesalePrice * @param string $supplierReference * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8364
/** * Get Product ecotax * * @param int $precision * @param bool $include_tax * @param bool $formated * * @return string|float */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8397
/** * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8415
/** * Returns product type based on existing associations without taking the saved value * in database into account. * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8431
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * Unit price ratio is not edited anymore, the reference is handled via the unit_price field which is now saved * in the DB we kept unit_price_ratio in the DB for backward compatibility but shouldn't be written anymore so * it is automatically updated when product is saved */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:855
/** * Unit price ratio is not edited anymore, the reference is handled via the unit_price field which is now saved * in the DB we kept unit_price_ratio in the DB for backward compatibility but but the DB value should not be used * any more since it is deprecated so the object field is computed automatically. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:889
/** * Customization fields label management * * @param string $field * @param string $value * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6238
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6254
/** * @param array $languages An array of language data * @param int $type Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6330
/** * Checks if product is still associated to its default shop, if not update with the first association found. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8447
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Init computation of price display method (i.e. price should be including tax or not) for a customer. * If customer Id passed as null then this compute price display method with according of current group. * Otherwise a price display method will compute with according of a customer address (i.e. country). * * @see Group::getPriceDisplayMethod() * * @param int|null $id_customer Customer identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:911
/** * Returns price display method for a customer (i.e. price should be including tax or not). * * @see initPricesComputation() * * @param int|null $id_customer Customer identifier * * @return int Returns 0 (PS_TAX_INC) if tax should be included, otherwise 1 (PS_TAX_EXC) - tax should be excluded */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:948
/** * Reorder product position in category $id_category. * Call it after deleting a product from a category. * * @param int $id_category Category identifier * @param int $position * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1023
/** * Get the default attribute for a product. * * @param int $id_product Product ID * @param int $minimum_quantity Minimal quantity there should be in stock of the combination * @param bool $reset Force reload new values and not use cache * * @return int Attributes list */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1083
/** * For a given id_product and id_product_attribute, return available date. * * @param int $id_product Product identifier * @param int|null $id_product_attribute Attribute identifier * * @return string|null */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1181
/** * @param int $id_product Product identifier * @param bool $is_virtual */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1222
/** * @see ObjectModel::resetStaticCache() * * reset static cache (eg unit testing purpose). */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1242
/** * Get all available products. * * @param int $id_lang Language identifier * @param int $start Start number * @param int $limit Number of products to return * @param string $order_by Field for ordering * @param string $order_way Way for ordering (ASC or DESC) * @param int|false $id_category Category identifier * @param bool $only_active * @param Context|null $context * * @return array Products details */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1628
/** * @param int $id_lang Language identifier * @param Context|null $context * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1694
/** * @param int $id_product Product identifier * * @return int|false Default Attribute identifier if success, false if it false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2071
/** * @param int $id_product Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2542
/** * @param int $id_product_attribute Attribute identifier * @param int $id_lang Language identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2943
/** * Get new products. * * @param int $id_lang Language identifier * @param int $page_number Start from * @param int $nb_products Number of products to return * @param bool $count * @param string|null $order_by * @param string|null $order_way * @param Context|null $context * * @return array|int|false New products, total of product if $count is true, false if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2997
/** * Get a random special. * * @param int $id_lang Language identifier * @param string|false $beginning Date in mysql format Y-m-d * @param string|false $ending Date in mysql format Y-m-d * @param Context|null $context * * @return array|false Special */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3170
/** * Get prices drop. * * @param int $id_lang Language identifier * @param int $page_number Start from * @param int $nb_products Number of products to return * @param bool $count Only in order to get total number * @param string|null $order_by * @param string|null $order_way * @param string|false $beginning Date in mysql format Y-m-d * @param string|false $ending Date in mysql format Y-m-d * @param Context|null $context * * @return array|int|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3269
/** * getProductCategories return an array of categories which this product belongs to. * * @param int|string $id_product Product identifier * * @return array Category identifiers */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3414
/** * @param int|string $id_product Product identifier * @param int|null $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3445
/** * Get product cover image. * * @param int $id_product Product identifier * @param Context|null $context * * @return array Product cover image */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3558
/** * Returns product price. * * @param int $id_product Product identifier * @param bool $usetax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier (optional). * If set to false, do not apply the combination price impact. * NULL does apply the default combination price impact * @param int $decimals Number of decimals (optional) * @param int|null $divisor Useful when paying many time without fees (optional) * @param bool $only_reduc Returns only the reduction amount * @param bool $usereduc Set if the returned amount will include reduction * @param int $quantity Required for quantity discount application (default value: 1) * @param bool $force_associated_tax DEPRECATED - NOT USED Force to apply the associated tax. * Only works when the parameter $usetax is true * @param int|null $id_customer Customer identifier (for customer group reduction) * @param int|null $id_cart Cart identifier Required when the cookie is not accessible * (e.g., inside a payment module, a cron task...) * @param int|null $id_address Address identifier of Customer. Required for price (tax included) * calculation regarding the guest localization * @param array|null $specific_price_output If a specific price applies regarding the previous parameters, * this variable is filled with the corresponding SpecificPrice data * @param bool $with_ecotax insert ecotax in price output * @param bool $use_group_reduction * @param Context $context * @param bool $use_customer_price * @param int|null $id_customization Customization identifier * * @return float|null Product price */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3609
/** * Price calculation / Get product price. * * @param int $id_shop Shop identifier * @param int $id_product Product identifier * @param int|null $id_product_attribute Attribute identifier * @param int $id_country Country identifier * @param int $id_state State identifier * @param string $zipcode * @param int $id_currency Currency identifier * @param int $id_group Group identifier * @param int $quantity Quantity Required for Specific prices : quantity discount application * @param bool $use_tax with (1) or without (0) tax * @param int $decimals Number of decimals returned * @param bool $only_reduc Returns only the reduction amount * @param bool $use_reduc Set if the returned amount will include reduction * @param bool $with_ecotax insert ecotax in price output * @param array|null $specific_price If a specific price applies regarding the previous parameters, * this variable is filled with the corresponding SpecificPrice data * @param bool $use_group_reduction * @param int $id_customer Customer identifier * @param bool $use_customer_price * @param int $id_cart Cart identifier * @param int $real_quantity * @param int $id_customization Customization identifier * * @return float|null Product price, void if not found in cache $_pricesLevel2 */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3769
/** * @param int $orderId * @param int $productId * @param int $combinationId * @param bool $withTaxes * @param bool $useReduction * @param bool $withEcoTax * * @return float|null * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4054
/** * @param float $price * @param Currency|false $currency * @param Context|null $context * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4101
/** * @param int $id_product Product identifier * @param int $quantity * @param Context|null $context * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4120
/** * Display price with right format and currency. * * @param array $params Params * @param object $smarty Smarty object (DEPRECATED) * * @return string Price with right format and currency */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4266
/** * Convert price with currency. * * @param array $params * @param object $smarty Smarty object (DEPRECATED) * * @return string Ambigous <string, mixed, Ambigous <number, string>> */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4279
/** * @param array $params * @param object $smarty Smarty object (DEPRECATED) * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4293
/** * Display WT price with currency. * * @param array $params * @param object $smarty Smarty object (DEPRECATED) * * @return string Ambigous <string, mixed, Ambigous <number, string>> */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4306
/** * Get available product quantities (this method already have decreased products in cart). * * @param int $idProduct Product identifier * @param int|null $idProductAttribute Product attribute id (optional) * @param bool|null $cacheIsPack * @param CartCore|null $cart * @param int|null $idCustomization Product customization id (optional) * * @return int Available quantities */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4325
/** * Create JOIN query with 'stock_available' table. * * @param string $product_alias Alias of product table * @param string|int|null $product_attribute If string : alias of PA table ; if int : value of PA ; if null : nothing about PA * @param bool $inner_join LEFT JOIN or INNER JOIN * @param Shop|null $shop * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4363
/** * @param int $out_of_stock * - O Deny orders * - 1 Allow orders * - 2 Use global setting * * @return bool|int Returns false is Stock Management is disabled, or the (int) configuration if it's enabled */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4393
/** * @param array $products * @param bool $have_stock DEPRECATED * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4483
/** * Get product accessories (only names). * * @param int $id_lang Language identifier * @param int $id_product Product identifier * * @return array Product accessories */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4627
/** * @param int $accessory_id Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4707
/** * Link accessories with product. No need to inflate a full Product (better performances). * * @param array<int> $accessories_id Accessories ids * @param int $product_id Product identifier * * @return void */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4731
/** * @param int $id_product Product identifier * @param int $id_feature Feature identifier * @param int $id_feature_value FeatureValue identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4786
/** * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4811
/** * @param int[] $product_ids */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4832
/** * @param int[] $product_ids Product identifier(s) * @param int $id_lang Language identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4864
/** * Admin panel product search. * * @param int $id_lang Language identifier * @param string $query Search query * @param Context|null $context Deprecated, obsolete parameter not used anymore * @param int|null $limit * * @return array|false Matching products */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4910
/** * Duplicate attributes when duplicating a product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4978
/** * Get product attribute image associations. * * @param int $id_product_attribute Attribute identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5075
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool|int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5095
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5120
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5145
/** * Duplicate prices when duplicating a product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5177
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5205
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5242
/** * Duplicate features when duplicating a product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5277
/** * @param int $old_product_id Old Product identifier * @param int $product_id New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5379
/** * @param int $old_product_id Old Product identifier * @param int $product_id New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5397
/** * Adds suppliers from old product onto a newly duplicated product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5450
/** * Adds carriers from old product onto a newly duplicated product. * * @param int $oldProductId Old Product identifier * @param int $newProductId New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5476
/** * Associates attachments from old product onto a newly duplicated product. * * @param int $oldProductId Old Product identifier * @param int $newProductId New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5503
/** * @param array $row * @param int $id_lang Language identifier * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5566
/** * @param int $id_lang Language identifier * @param array $row * @param Context|null $context * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5582
/** * @param array $row * @param Context|null $context * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5937
/** * @param int $id_lang Language identifier * @param array $query_result * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5965
/** * Select all features for a given language * * @param int $id_lang Language identifier * @param int $id_product Product identifier * * @return array Array with feature's data */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5988
/** * @param int $id_lang Language identifier * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6026
/** * Customization management * * @param int $id_cart Cart identifier * @param int|null $id_lang Language identifier * @param bool $only_in_cart * @param int|null $id_shop Shop identifier * @param int|null $id_customization Customization identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6079
/** * @param array $products * @param array $customized_datas */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6157
/** * Add customization price for a single product * * @param array $product Product data * @param array $customized_datas Customized data */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6219
/** * @param int $id Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6593
/** * Return the list of old temp products. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6644
/** * Checks if the product is in at least one of the submited categories. * * @param int $id_product Product identifier * @param array $categories array of category arrays * * @return bool is the product in at least one category */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6659
/** * @param int $id_product Product identifier * @param int|bool $id_customer Customer identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6707
/** * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6819
/** * @param int $id_product Product identifier * @param Context|null $context * * @return int TaxRulesGroup identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6847
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7429
/** * Get all product attributes ids. * * @since 1.5.0 * * @param int $id_product Product identifier * @param bool $shop_only * * @return array Attribute identifiers list */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7471
/** * Get label by lang and value by lang too. * * @param int $id_product Product identifier * @param int $id_product_attribute Attribute identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7488
/** * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7529
/** * Get an id_product_attribute by an id_product and one or more * id_attribute. * * e.g: id_product 8 with id_attribute 4 (size medium) and * id_attribute 5 (color blue) returns id_product_attribute 9 which * is the dress size medium and color blue. * * @param int $idProduct Product identifier * @param int|int[] $idAttributes Attribute identifier(s) * @param bool $findBest * * @return int * * @throws PrestaShopException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7578
/** * Gets the name of a given product, in the given lang. * * @since 1.5.0 * * @param int $id_product Product identifier * @param int|null $id_product_attribute Attribute identifier * @param int|null $id_lang Language identifier * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7672
/** * For a given product, returns its real quantity. * * @since 1.5.0 * * @param int $id_product Product identifier * @param int $id_product_attribute Attribute identifier * @param int $id_warehouse Warehouse identifier * @param int|null $id_shop Shop identifier * * @return int real_quantity */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7762
/** * For a given product, tells if it uses the advanced stock management. * * @since 1.5.0 * * @param int $id_product Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7790
/** * This method allows to flush price cache. * * @since 1.5.0 */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7806
/** * Get Shop identifiers * * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7923
/** * @return string TaxRulesGroup identifier most used */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7989
/** * For a given ean13 reference, returns the corresponding id. * * @param string $ean13 * * @return int|string Product identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8013
/** * For a given reference, returns the corresponding id. * * @param string $reference * * @return int|string Product identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8038
/** * @deprecated since 8.1 and will be removed in next major version. * * @param int $id_product Product identifier * @param bool $full * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8190
/** * @param int $id_product Product identifier * @param int $pack_stock_type value of Pack stock type, see constants defined in Pack class * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8210
/** * Gets a list of IDs from a list of IDs/Refs. The result will avoid duplicates, and checks if given IDs/Refs exists in DB. * Useful when a product list should be checked before a bulk operation on them (Only 1 query => performances). * * @param int|string|int[]|string[] $ids_or_refs Product identifier(s) or reference(s) * * @return array|false Product identifiers, without duplicate and only existing ones */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8224
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * @param string $beginning Date in mysql format Y-m-d * @param string $ending Date in mysql format Y-m-d * @param Context|null $context * @param bool $with_combination * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3138
/** * @param int $product_id Product identifier * @param int|null $id_shop Shop identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5329
getter | resource | |
---|---|---|
categories | getChildrenWs | category |
products | getProductsWs | product |
drwxr-xr-x 1193 1196 12KB Apr 17 13:01 /unum/drukalabak/public_html/img/c
/** * CategoryCore constructor. * * @param int|null $idCategory * @param int|null $idLang * @param int|null $idShop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:162
/** * Adds current Category as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Category has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:195
/** * Updates the current object in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the CartRule has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:238
/** * Recursive scan of subcategories. * * @param int $maxDepth Maximum depth of the tree (i.e. 2 => 3 levels depth) * @param int $currentDepth specify the current depth in the tree (don't use it, only for recursive calls!) * @param int $idLang Specify the id of the language used * @param array $excludedIdsArray Specify a list of IDs to exclude of results * @param string $format * * @return array Subcategories lite tree */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:299
/** * Delete this object * Skips the deletion procedure of Category and directly calls * the delete() method of ObjectModel instead. * * @return bool Indicates whether this Category was successfully deleted */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:376
/** * Deletes current Category from the database. * * @return bool `true` if successfully deleted * * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:388
/** * Delete selected categories from database. * * @param array $idCategories Category IDs to delete * * @return bool Deletion result */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:434
/** * Get the depth level for the category. * * @return int Depth level * * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:456
/** * Updates `level_depth` for all children of the given `id_category`. * * @param int $idParentCategory Parent Category ID * * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:570
/** * Return current category childs. * * @param int $idLang Language ID * @param bool $active return only active categories * * @return array Categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:906
/** * Returns category products. * * @param int $idLang Language ID * @param int $pageNumber Page number * @param int $productPerPage Number of products per page * @param string|null $orderBy ORDER BY column * @param string|null $orderWay Order way * @param bool $getTotal If set to true, returns the total number of results only * @param bool $active If set to true, finds only active products * @param bool $random If true, sets a random filter for returned products * @param int $randomNumberProducts Number of products to return if random is activated * @param bool $checkAccess If set to `true`, check if the current customer * can see the products from this category * @param Context|null $context Instance of Context * * @return array|int|false Products, number of products or false (no access) * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:956
/** * Return an array of all children of the current category. * * @param int $idLang Language ID * * @return PrestaShopCollection Collection of Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1201
/** * Return an ordered array of all parents of the current category. * * @param int $idLang * * @return PrestaShopCollection Collection of Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1221
/** * Get link to this category. * * @param Link|null $link Link instance * @param int|null $idLang Language ID * * @return string FO URL to this Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1392
/** * Get category name in given Language. * * @param int|null $idLang Language ID * * @return string Category name */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1416
/** * Get Each parent category of this category until the root category. * * @param int $idLang Language ID * * @return array Corresponding categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1544
/** * Clean Category Groups. * * @return bool Indicated whether the cleanup was successful */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1657
/** * Remove associated products. * * @return bool Indicates whether the cleanup was successful */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1670
/** * Add Category groups. * * @param array $groups */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1680
/** * Get Category groups. * * @return array|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1696
/** * Add group if it does not exist. * * @param int $idGroup Group ID * * @return bool|void */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1724
/** * checkAccess return true if id_customer is in a group allowed to see this category. * * @param mixed $idCustomer * * @return bool true if access allowed for customer $id_customer */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1741
/** * Update customer groups associated to the object. Don't update group access if list is null. * * @param array|null $list groups * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1777
/** * Update the position of the current Category. * * @param bool $way Indicates whether the Category should move up (`false`) or down (`true`) * @param int $position Current Position * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1816
/** * Check if current category is a child of shop root category. * * @param Shop $shop * * @return bool * * @since 1.5.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1992
/** * Get Children for the webservice. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2038
/** * Get Products for webservice. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2054
Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2066
/** * Search for another Category with the same parent and the same position. * * @return int First Category found */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2084
/** * Recursively get amount of Products for the webservice. * * @return false|int|string|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2101
/** * Is parent Category available. * * @return bool Indicates whether the parent Category is available */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2166
/** * Add association between shop and categories. * * @param int $idShop Shop ID * * @return bool Indicates whether the association was successfully made */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2186
/** * Is Root Category for a Shop. * * @return bool Indicates whether the current Category is a Root category for a Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2257
/** * Add position to current Category. * * @param int $position Position * @param int|null $idShop Shop ID * * @return bool Indicates whether the position was successfully added */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2300
/** * Delete category from shop $id_shop. * * @param int $idShop Shop ID * * @return bool Indicates whether the current Category was successfully removed from the Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2388
/** * Does the current Category exists in the given Shop. * * @param int $idShop Shop ID * * @return bool Indicates whether the current Category exists in the given Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2444
/** * Indicates whether a category is ROOT for the shop. * The root category is the one with no parent. It's a virtual category. * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2459
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * Recursively add specified category childs to $to_delete array. * * @param array $toDelete Array reference where categories ID will be saved * @param int $idCategory Parent category ID */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:348
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Get the clean description without HTML tags and slashes. * * @param string $description Category description with HTML * * @return string Category description without HTML */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:179
/** * Re-calculate the values of all branches of the nested tree. */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:480
/** * Return available categories. * * @param bool|int $idLang Language ID * @param bool $active Only return active categories * @param bool $order Order the results * @param string $sqlFilter Additional SQL clause(s) to filter results * @param string $orderBy Change the default order by * @param string $limit Set the limit * Both the offset and limit can be given * * @return array Categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:614
/** * @param int $categoryId * * @return int * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:651
/** * @param int $idRootCategory ID of root Category * @param int|bool $idLang Language ID `false` if language filter should not be applied * @param bool $active Only return active categories * @param array|string|null $groups * @param bool $useShopRestriction Restrict to current Shop * @param string $sqlFilter Additional SQL clause(s) to filter results * @param string $orderBy Change the default order by * @param string $limit Set the limit Both the offset and limit can be given * * @return array|false|mysqli_result|PDOStatement|resource|null Array with `id_category` and `name` */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:676
/** * Get nested categories. * * @param int|null $idRootCategory Root Category ID * @param int|bool $idLang Language ID * `false` if language filter should not be used * @param bool $active Whether the category must be active * @param array|string|null $groups * @param bool $useShopRestriction Restrict to current Shop * @param string $sqlFilter Additional SQL clause(s) to filter results * @param string $orderBy Change the default order by * @param string $limit Set the limit * Both the offset and limit can be given * * @return array|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:751
/** * Get a simple list of categories with id_category and name for each Category. * * @param int $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:835
/** * Get a simple list of categories with id_category, name and id_parent infos * It also takes into account the root category of the current shop. * * @param int $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:856
/** * Return main categories. * * @param int $idLang Language ID * @param bool $active return only active categories * * @return array categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1085
/** * Get root Category object * Returns the top Category if there are multiple root Categories. * * @param int|null $idLang Language ID * @param Shop|null $shop Shop object * * @return Category object */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1099
/** * Get children of the given Category. * * @param int $idParent Parent Category ID * @param int $idLang Language ID * @param bool $active Active children only * @param bool $idShop Shop ID * * @return array Children of given Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1134
/** * Check if the given Category has child categories. * * @param int $idParent Parent Category ID * @param int $idLang Language ID * @param bool $active Active children only * @param bool $idShop Shop ID * * @return bool Indicates whether the given Category has children */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1170
/** * This method allow to return children categories with the number of sub children selected for a product. * * @param int $idParent Parent Category ID * @param string $selectedCategory Selected SubCategory ID * @param int $idLang Language ID * @param Shop $shop Shop ID * @param bool $useShopContext Limit to current Shop * * @return array * * @internal param int $id_product Product ID */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1248
/** * Copy products from a category to another. * * @param int $idOld Source category ID * @param int $idNew Destination category ID * * @return bool Duplication result */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1293
/** * Check if category can be moved in another one. * The category cannot be moved in a child category. * * @param int $idCategory Current category * @param int $idParent Parent candidate * * @return bool Parent validity */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1333
/** * Get the rewrite link of the given Category. * * @param int $idCategory Category ID * @param int $idLang Language ID * * @return bool|mixed */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1366
/** * {@inheritdoc} */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1432
/** * Light back office search for categories. * * @param int $idLang Language ID * @param string $query Searched string * @param bool $unrestricted Allows search without lang and includes first category and exact match * @param bool $skipCache Skip the Cache * * @return array Corresponding categories * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1450
/** * Retrieve category by name and parent category id. * * @param int $idLang Language ID * @param string $categoryName Searched category name * @param int $idParentCategory parent category ID * * @return array Corresponding category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1490
/** * Search with paths for Categories. * * @param int $idLang Language ID * @param string $path Path of category * @param object|bool $objectToCreate a category * @param string|bool $methodToCreate a category * * @return array Corresponding categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1513
/** * Specify if a category already in base. * * @param int $idCategory Category id * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1614
/** * Check if all categories by provided ids are present in database. * If at least one is missing return false * * @param int[] $categoryIds * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1634
/** * @param int $idGroup * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1797
/** * cleanPositions keep order of category in $id_category_parent, * but remove duplicate position. Should not be used if positions * are clean at the beginning ! * * @param mixed $idCategoryParent * * @return bool|void true if succeed */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1874
/** * Returns the number of categories + 1 having $idCategoryParent as parent. * * @param int $idCategoryParent The parent category * @param int $idShop Shop ID * * @return int Number of categories + 1 having $idCategoryParent as parent * * @todo rename that function to make it understandable (getNextPosition for example) */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1912
/** * Get URL Rewrite information. * * @param int $idCategory * * @return array|false|mysqli_result|PDOStatement|resource|null * * @since 1.7.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1945
/** * Return `nleft` and `nright` fields for a given category. * * @param int $id * * @return array * * @since 1.5.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1966
/** * Check if current category is a child of shop root category. * * @param int $idCategory Category ID * @param Shop $shop Shop object * * @return bool Indicates whether the current category is a child of the Shop root category * * @since 1.5.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2015
/** * Get Category information. * * @param array $idsCategory Category IDs * @param int $idLang Language ID * * @return array|false Array with Category information * `false` if no Category found * * @since 1.7.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2135
/** * Get root Categories. * * @param int|null $idLang Language ID * @param bool $active Whether the root Category must be active * * @return array|false|mysqli_result|PDOStatement|resource|null Root Categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2216
/** * Get Categories without parent. * * @return array|false|mysqli_result|PDOStatement|resource|null Categories without parent */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2235
/** * Get Top Category. * * @param int|null $idLang Language ID * * @return Category Top Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2272
/** * Get Shops by Category ID. * * @param int $idCategory Category ID * * @return array|false|mysqli_result|PDOStatement|resource|null Array with Shop IDs */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2350
/** * Update Categories for a shop. * * @param array $categories Categories list to associate a shop * @param int|null $idShop Categories list to associate a shop * * @return bool Update/insertion result (`false` if not successfully inserted/updated) */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2366
/** * Deletes all Categories from the Shop ID. * * @return bool Indicates whether the Categories have been successfully removed */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2401
/** * Add some categories to a shop. * * @param array $categories * * @return bool Indicates whether the Categories were successfully added to the given Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2413
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * @param array $categories * @param int $idCategory * @param int $n * * @return array ntree infos */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:517
/** * @param array $categories * @param int $idCategory * @param int $n * * @return bool Indicates whether the sub tree of categories has been successfully updated * * @deprecated 1.7.6.0 use computeNTreeInfos + sql query instead */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:542
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:76
/** * {@inheritdoc} */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:106
/** * Initialize product controller. * * @see FrontController::init() */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:122
/** * Performs multiple checks and redirects user to error page if needed */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:176
/** * Loads related category to current visit. First it tries to get a category the user came from - it uses HTTP referer for this. * If no category is found (or it's invalid), we use product's default category. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:277
/** * Assign template vars related to page content. * * @see FrontController::initContent() */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:312
/** * Processes submitted customizations * * @see FrontController::postProcess() */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:473
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:489
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:508
/** * @return Product */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1023
/** * @return Category|null */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1031
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1190
/** * @param int $combinationId * * @return ProductController|null */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1303
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1329
/** * @return array */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1453
/** * Return information whether we are or not in quick view mode. * * @return bool */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1545
/** * Set quick view mode. * * @param bool $enabled */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1555
/** * Return information whether we are or not in preview mode. * * @return bool */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1565
/** * Set preview mode. * * @param bool $enabled */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1575
/** * Controller constructor. * * @global bool $useSSL SSL connection flag */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:192
/** * Check if the controller is available for the current user/visitor. * * @see Controller::checkAccess() * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:237
/** * Check if the current user/visitor has valid view permissions. * * @see Controller::viewAccess * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:249
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:619
/** * Initialize the invalid doom page of death. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:626
/** * Called before compiling common page sections (header, footer, columns). * Good place to modify smarty variables. * * @see FrontController::initContent() */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:646
/** * @return mixed */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:653
/** * @return mixed */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:667
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:688
/** * Renders page content. * Used for retrocompatibility with PS 1.4. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:713
/** * Compiles and outputs full page content. * * @return bool * * @throws Exception * @throws SmartyException */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:725
/** * Sets controller CSS and JS files. * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:962
/** * Initializes page header variables. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:996
/** * Checks if token is valid. * * @since 1.5.0.1 * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1071
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1080
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1105
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1110
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1134
/** * @deprecated 1.7 This function shouldn't be used, use $this->registerStylesheet() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1142
/** * @deprecated 1.7 This function has no effect in PrestaShop 1.7 theme, use $this->unregisterStylesheet() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1163
/** * @deprecated 1.7 This function has no effect in PrestaShop 1.7 theme, use $this->registerJavascript() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1184
/** * @deprecated 1.7 This function has no effect in PrestaShop 1.7 theme, use $this->unregisterJavascript() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1205
/** * Adds jQuery UI component(s) to queued JS file list. * * @param string|array $component * @param string $theme * @param bool $check_dependencies */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1230
/** * Add Library not included with classic theme. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1244
/** * Adds jQuery plugin(s) to queued JS file list. * * @param string|array $name * @param string|null $folder * @param bool $css */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1262
/** * Sets template file for page content output. * * @param string $template */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1353
/** * Returns the layout's full path corresponding to the current page by using the override system * Ex: * On the url: http://localhost/index.php?id_product=1&controller=product, this method will * check if the layout exists in the following files (in that order), and return the first found: * - /themes/default/override/layout-product-1.tpl * - /themes/default/override/layout-product.tpl * - /themes/default/layout.tpl. * * @since 1.5.0.13 * * @return bool|string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1393
/** * Returns template path. * * @param string $template * * @return string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1447
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1452
/** * Renders and adds color list HTML for each product in a list. * * @deprecated since 8.1 and will be removed in next major version. * * @param array $products */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1493
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1540
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1619
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1656
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1667
/** * Get the shop logo with its dimensions * * @return array<string, string|int> */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1706
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1728
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1733
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1857
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1957
/** * Get templateFinder. * * @return object */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2117
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2122
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2127
/** * Starts the controller process (this method should not be overridden!). */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:298
/** * Sets page header display. * * @param bool $display */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:367
/** * Sets page header javascript display. * * @param bool $display */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:377
/** * Sets page footer display. * * @param bool $display */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:387
/** * Set $this->redirect_after that will be used by redirect() after the process. */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:430
/** * Adds jQuery library file to queued JS file list. * * @param string|null $version jQuery library version * @param string|null $folder jQuery file folder * @param bool $minifier if set tot true, a minified version will be included * * @deprecated 1.7.7 jQuery is always included, this method should no longer be used */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:577
/** * Checks if the controller has been called from XmlHttpRequest (AJAX). * * @since 1.5 * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:637
/** * Gets a service from the service container. * * @param string $serviceId Service identifier * * @return object The associated service * * @throws Exception */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:814
/** * Gets a parameter. * * @param string $parameterId The parameter name * * @return mixed The parameter value * * @throws InvalidArgumentException if the parameter is not defined */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:828
/** * Gets the dependency container. * * @return ContainerBuilder|null */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:838
/** * Check if multistore feature is enabled. * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:848
/** * Get minimal product quantity or minimal product combination quantity. * * @deprecated This method is deprecated since 1.7.5 and will be dropped in 1.8.0, please use getProductMinimalQuantity instead. * * @param array $product * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:562
/** * Assign price and tax to the template. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:582
/** * Assign template vars related to attribute groups and colors. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:632
/** * Get and assign attributes combinations informations. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:859
/** * Assign template vars related to category. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:880
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:907
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:920
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:960
/** * Calculation of currency-converted discounts for specific prices on product. * * @param array $specific_prices array of specific prices definitions (DEFAULT currency) * @param float $price current price in CURRENT currency * @param float $tax_rate in percents * @param float $ecotax_amount in DEFAULT currency, with tax * * @return array */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:997
/** * Return id_product_attribute by id_product_attribute request parameter. * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1041
/** * If the PS_DISP_UNAVAILABLE_ATTR functionality is enabled, this method check * if $checkedIdProductAttribute is available. * If not try to return the first available attribute, if none are available * simply returns the input. * * @param int $checkedIdProductAttribute * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1089
/** * @param array $product * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1251
/** * @param array $product * * @return float */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1272
/** * @param array $product * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1319
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1360
/** * {@inheritdoc} * * Indicates if the provided combination exists and belongs to the product * * @param int $productAttributeId * @param int $productId * * @return bool */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1527
Inherited from ProductPresentingFrontControllerCore Defined in <ROOT>/classes/controller/ProductPresentingFrontController.php:33
Inherited from ProductPresentingFrontControllerCore Defined in <ROOT>/classes/controller/ProductPresentingFrontController.php:38
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:529
/** * Builds the "prestashop" javascript object that will be sent to the front end. * * @param array $object Variables inserted in the template (see FrontController::assignGeneralPurposeVariables) * * @return array Variables to be inserted in the "prestashop" javascript object * * @throws \PrestaShop\PrestaShop\Core\Filter\FilterException * @throws PrestaShopException */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:590
/** * Redirects to redirect_after link. * * @see $redirect_after */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:683
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:742
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:762
/** * Displays maintenance page if shop is closed. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:789
/** * Displays 'country restricted' page if user's country is not allowed. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:823
/** * Redirects to correct protocol if settings and request methods don't match. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:841
/** * Geolocation management. * * @param Country $defaultCountry * * @return Country|false */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:894
/** * Recovers cart information. * * @return int|false */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1293
/** * Removed in PrestaShop 1.7. * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1365
/** * Returns theme directory (regular or mobile). * * @return string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1375
/** * Returns layout name for the current controller. Used to display layout name in <body> tag. * * @return string layout name */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1435
/** * Returns cache ID for product color list. * * @deprecated since 8.1 and will be removed in next major version. * * @param int $id_product * * @return string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1535
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1651
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1877
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1887
/** * Generate a URL corresponding to the current page but * with the query string altered. * * If $extraParams is set to NULL, then all query params are stripped. * * Otherwise, params from $extraParams that have a null value are stripped, * and other params are added. Params not in $extraParams are unchanged. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1916
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1952
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1982
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2017
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2022
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2037
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2054
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2078
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2087
/** * {@inheritdoc} */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2144
/** * @return array containing the URLs of the same page but for different languages */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2152
/** * Sanitize / Clean params of an URL * * @param string $url URL to clean * * @return string cleaned URL */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2177
/** * Recursively sanitize output query * * @param array $query URL query * * @return array */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2221
/** * Validate data recursively to be sure it's URL compliant * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2240
Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:347
/** * Checks if a template is cached. * * @param string $template * @param string|null $cache_id Cache item ID * @param string|null $compile_id * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:687
/** * @deprecated deprecated since 1.7.5.0, use ajaxRender instead * Dies and echoes output value * * @param string|null $value * @param string|null $controller * @param string|null $method * * @throws PrestaShopException */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:760
/** * @param string|null $value * @param string|null $controller * @param string|null $method * * @throws PrestaShopException */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:773
/** * Sets and returns customer groups that the current customer(visitor) belongs to. * * @return array * * @throws PrestaShopDatabaseException */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1007
/** * returns a new instance of this controller. * * @param string $class_name * @param bool $auth * @param bool $ssl * * @return Controller */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:244
/** * Custom error handler. * * @param int $errno * @param string $errstr * @param string $errfile * @param int $errline * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:706
/** * Checks if user's location is whitelisted. * * @staticvar bool|null $allowed * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1036
// Loading controller$controller = Controller::getController($controller_class);// Execute hook dispatcherHook::exec('actionDispatcher', $params_hook_action_dispatcher);// Running controller$controller->run();// Execute hook dispatcher afterHook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);} catch (PrestaShopException $e) {$e->displayMessage();}}
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
/** * Initialize an address corresponding to the specified id address or if empty to the * default shop configuration. * * @param int|null $id_address * @param bool $with_geoloc * * @return Address */ Defined in <ROOT>/src/Adapter/AddressFactory.php:45
/** * Check if an address exists depending on given $id_address. * * @param int $id_address * @param bool $useCache [default=false] If true, use Cache for optimizing queries * * @return bool */ Defined in <ROOT>/src/Adapter/AddressFactory.php:60
/** * CartCore constructor. * * @param int|null $id Cart ID * null = new Cart * @param int|null $idLang Language ID * null = Language ID of current Context */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:199
/** * Set Tax calculation method. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:247
/** * Adds current Cart as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Whether the Cart has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:263
/** * Updates the current object in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Whether the Cart has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:291
/** * Update the Address ID of the Cart. * * @param int $id_address Current Address ID to change * @param int $id_address_new New Address ID */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:314
/** * Update the Delivery Address ID of the Cart. * * @param int $currentAddressId Current Address ID to change * @param int $newAddressId New Address ID */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:348
/** * Deletes current Cart from the database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:375
/** * Returns the average Tax rate for all products in the cart, as a multiplier. * * The arguments are optional and only serve as return values in case caller needs the details. * * @param float|null $cartAmountTaxExcluded If the reference is given, it will be updated with the * total amount in the Cart excluding Taxes * @param float|null $cartAmountTaxIncluded If the reference is given, it will be updated with the * total amount in the Cart including Taxes * * @return float Average Tax Rate on Products (eg. 0.2 for 20% average rate) */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:427
/** * Get Cart Rules. * * @param int $filter Filter enum: * - FILTER_ACTION_ALL * - FILTER_ACTION_SHIPPING * - FILTER_ACTION_REDUCTION * - FILTER_ACTION_GIFT * - FILTER_ACTION_ALL_NOCAP * @param bool $autoAdd automaticaly adds cart ruls without code to cart * @param bool $useOrderPrices * * @return array|false|mysqli_result|PDOStatement|resource|null Database result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:455
/** * Get cart discounts. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:520
/** * Return the CartRule IDs in the Cart. * * @param int $filter Filter enum: * - FILTER_ACTION_ALL * - FILTER_ACTION_SHIPPING * - FILTER_ACTION_REDUCTION * - FILTER_ACTION_GIFT * - FILTER_ACTION_ALL_NOCAP * * @return array * * @throws PrestaShopDatabaseException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:539
/** * Get amount of Customer Discounts. * * @param int $id_cart_rule CartRule ID * * @return int Amount of Customer Discounts * @todo: What are customer discounts? Isn't this just a PriceRule and shouldn't this method be renamed instead? */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:573
/** * Get last Product in Cart. * * @return bool|mixed Database result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:597
/** * Return cart products. * * @param bool $refresh * @param bool|int $id_product * @param int|null $id_country * @param bool $fullInfos * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return array Products */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:632
/** * Check if Addresses in the Cart are still valid and update with the next valid Address ID found. * * @return bool Whether the Addresses have been succesfully checked and upated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1234
/** * Return cart products quantity. * * @result integer Products quantity */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1258
/** * Add a CartRule to the Cart. * * @param int $id_cart_rule CartRule ID * @param bool $useOrderPrices * * @return bool Whether the CartRule has been successfully added */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1299
/** * Check if the Cart contains the given Product (Attribute). * * @param int $idProduct Product ID * @param int $idProductAttribute ProductAttribute ID * @param int $idCustomization Customization ID * @param int $idAddressDelivery Delivery Address ID * * @return array quantity index : number of product in cart without counting those of pack in cart * deep_quantity index: number of product in cart counting those of pack in cart */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1360
/** * Check if the Cart contains the given Product (Attribute). * * @deprecated 1.7.3.1 * @see Cart::getProductQuantity() * * @param int $id_product Product ID * @param int $id_product_attribute ProductAttribute ID * @param int $id_customization Customization ID * @param int $id_address_delivery Delivery Address ID * * @return array|bool Whether the Cart contains the Product * Result comes directly from the database */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1427
/** * Update Product quantity. * * @param int $quantity Quantity to add (or substract) * @param int $id_product Product ID * @param int|null $id_product_attribute Attribute ID if needed * @param int|false $id_customization Customization ID * @param string $operator Indicate if quantity must be increased or decreased * @param int $id_address_delivery Delivery Address ID * @param Shop|null $shop * @param bool $auto_add_cart_rule * @param bool $skipAvailabilityCheckOutOfStock * @param bool $preserveGiftRemoval * @param bool $useOrderPrices * * @return bool|int Whether the quantity has been successfully updated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1460
/** * Add customization item to database. * * @param int $id_product Product ID * @param int $id_product_attribute ProductAttribute ID * @param int $index Customization field identifier as id_customization_field in table customization_field * @param int $type Customization type can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param string $value Customization value * @param int $quantity Quantity value * @param bool $returnId if true - returns the customization record id * * @return bool|int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1745
/** * Check if order has already been placed. * * @return bool Indicates if the Order exists */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1801
/** * Remove the CartRule from the Cart. * * @param int $id_cart_rule CartRule ID * @param bool $useOrderPrices * * @return bool Whether the Cart rule has been successfully removed */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1817
/** * Delete a product from the cart. * * @param int $id_product Product ID * @param int|null $id_product_attribute Attribute ID if needed * @param int $id_customization Customization id * @param int $id_address_delivery Delivery Address id * @param bool $preserveGiftsRemoval If true gift are not removed so product is still in cart * @param bool $useOrderPrices If true, will use order prices to re-calculate cartRules after the product is deleted * * @return bool Whether the product has been successfully deleted */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1851
/** * This function returns the total cart amount. * * @param bool $withTaxes With or without taxes * @param int $type Total type enum * - Cart::ONLY_PRODUCTS * - Cart::ONLY_DISCOUNTS * - Cart::BOTH * - Cart::BOTH_WITHOUT_SHIPPING * - Cart::ONLY_SHIPPING * - Cart::ONLY_WRAPPING * - Cart::ONLY_PRODUCTS_WITHOUT_SHIPPING * - Cart::ONLY_PHYSICAL_PRODUCTS_WITHOUT_SHIPPING * @param array $products * @param int $id_carrier * @param bool $use_cache @deprecated * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return float Order total * * @throws \Exception */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2078
/** * get the populated cart calculator. * * @param array $products list of products to calculate on * @param array $cartRules list of cart rules to apply * @param int $id_carrier carrier id (fees calculation) * @param int|null $computePrecision * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return \PrestaShop\PrestaShop\Core\Cart\Calculator */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2217
/** * @return float */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2277
/** * @param array $product * * @return int|null */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2376
/** * Returns the tax address id according to the shop's configuration * * @return int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2398
/** * Get the gift wrapping price. * * @param bool $with_taxes With or without taxes * * @return float wrapping price */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2446
/** * Get the number of packages. * * @return int number of packages */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2500
/** * Get products grouped by package and by addresses to be sent individualy (one package = one shipping cost). * * @return array array( * 0 => array( // First address * 0 => array( // First package * 'product_list' => array(...), * 'carrier_list' => array(...), * 'id_warehouse' => array(...), * ), * ), * ); * * @todo Add avaibility check */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2527
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2776
/** * Get all deliveries options available for the current cart. * * @param Country $default_country * @param bool $flush Force flushing cache * * @return array array( * 0 => array( // First address * '12,' => array( // First delivery option available for this address * carrier_list => array( * 12 => array( // First carrier for this option * 'instance' => Carrier Object, * 'logo' => <url to the carriers logo>, * 'price_with_tax' => 12.4, * 'price_without_tax' => 12.4, * 'package_list' => array( * 1, * 3, * ), * ), * ), * is_best_grade => true, // Does this option have the biggest grade (quick shipping) for this shipping address * is_best_price => true, // Does this option have the lower price for this shipping address * unique_carrier => true, // Does this option use a unique carrier * total_price_with_tax => 12.5, * total_price_without_tax => 12.5, * position => 5, // Average of the carrier position * ), * ), * ); * If there are no carriers available for an address, return an empty array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2831
/** * Is the Carrier selected. * * @param int $id_carrier Carrier ID * @param int $id_address Address ID * * @return bool Indicated if the carrier is selected */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3151
/** * Get all deliveries options available for the current cart formatted like Carriers::getCarriersForOrder * This method was wrote for retrocompatibility with 1.4 theme * New theme need to use Cart::getDeliveryOptionList() to generate carriers option in the checkout process. * * @since 1.5.0 * @deprecated 1.7.0 * * @param Country $default_country Default Country * @param bool $flush Force flushing cache * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3184
/** * Simulate output of selected Carrier. * * @param bool $use_cache Use cache * * @return int Intified Cart output */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3240
/** * Does the Cart use multiple Addresses? * * @return bool Indicates if the Cart uses multiple Addresses */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3286
/** * Get all delivery Addresses object for the current Cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3302
/** * Set the delivery option and Carrier ID, if there is only one Carrier. * * @param array $delivery_option Delivery option array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3333
/** * Get the delivery option selected, or if no delivery option was selected, * the cheapest option for each address. * * @param Country|null $default_country Default country * @param bool $dontAutoSelectOptions Do not auto select delivery option * @param bool $use_cache Use cache * * @return array|false Delivery option */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3398
/** * Return shipping total for the cart. * * @param array|null $delivery_option Array of the delivery option for each address * @param bool $use_tax Use taxes * @param Country|null $default_country Default Country * * @return float Shipping total */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3472
/** * Return shipping total of a specific carriers for the cart. * * @param int $id_carrier Carrier ID * @param array $delivery_option Array of the delivery option for each address * @param bool $useTax Use Taxes * @param Country|null $default_country Default Country * @param array|null $delivery_option Delivery options array * * @return float Shipping total */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3509
/** * Return package shipping cost. * * @param int $id_carrier Carrier ID (default : current carrier) * @param bool $use_tax * @param Country|null $default_country * @param array|null $product_list list of product concerned by the shipping. * If null, all the product of the cart are used to calculate the shipping cost * @param int|null $id_zone Zone ID * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return float|bool Shipping total, false if not possible to ship with the given carrier */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3547
/** * Return total Cart weight. * * @return float Total Cart weight */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3885
/** * Return useful information about the cart for display purpose. * Products are splitted between paid ones and gift * Gift price and shipping (if shipping is free) are removed from Discounts * Any cart data modification for display purpose is made here. * * @return array Cart details */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3951
/** * Returns useful raw information about the cart. * Products, Discounts, Prices ... are returned in an array without any modification. * * @param int $id_lang * @param bool $refresh * * @return array Cart details * * @throws PrestaShopException * @throws LocalizationException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3973
/** * Check if product quantities in Cart are available. * * @param bool $returnProductOnFailure Return the first found product with not enough quantity * * @return bool|array If all products are in stock: true; if not: either false or an array * containing the first found product which is not in stock in the * requested amount */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4059
/** * Check if the product can be accessed by the Customer. * * @return bool Indicates if the Customer in the current Cart has access */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4113
/** * Check if cart contains only virtual products. * * @return bool true if is a virtual cart or false */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4160
/** * Check if there's a product in the cart. * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4184
/** * Return true if the current cart contains a real product. * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4201
/** * Add customer's text. * * @param int $id_product Product ID * @param int $index Customization field identifier as id_customization_field in table customization_field * @param int $type Customization type can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param string $text_value * @param bool $returnCustomizationId if true - returns the customizationId * * @return bool Always true */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4268
/** * Add customer's pictures. * * @param int $id_product Product ID * @param int $index Customization field identifier as id_customization_field in table customization_field * @param int $type Customization type can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param string $file Filename * @param bool $returnCustomizationId if true - returns the customizationId * * @return bool Always true */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4292
/** * Remove a customer's customization. * * @param int $id_product Product ID * @param int $index Customization field identifier as id_customization_field in table customization_field * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4313
/** * Return custom pictures in this cart for a specified product. * * @param int $id_product Product ID * @param int|null $type Only return customization of this type, can be Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * @param bool $not_in_cart Only return customizations that are not in the cart already * * @return array Result from DB */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4367
/** * Duplicate this Cart in the database. * * @return array|bool Duplicated cart, with success bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4415
/** * Get Cart rows from DB for the webservice. * * @return array|false|mysqli_result|PDOStatement|resource|null DB result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4558
/** * Insert cart rows from webservice. * * @param array $values Values from webservice * * @return bool Whether the values have been successfully inserted * @todo: This function always returns true, make it depend on actual result of DB query */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4575
/** * Set delivery Address of a Product in the Cart. * * @param int $id_product Product ID * @param int $id_product_attribute Product Attribute ID * @param int $old_id_address_delivery Old delivery Address ID * @param int $new_id_address_delivery New delivery Address ID * * @return bool Whether the delivery Address of the product in the Cart has been successfully updated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4604
/** * Set customized data of a product. * * @param Product $product Referenced Product object * @param array $customized_datas Customized data */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4677
/** * Duplicate Product. * * @param int $id_product Product ID * @param int $id_product_attribute Product Attribute ID * @param int $id_address_delivery Delivery Address ID * @param int $new_id_address_delivery New Delivery Address ID * @param int $quantity Quantity value * @param bool $keep_quantity Keep the quantity, do not reset if true * * @return bool Whether the product has been successfully duplicated */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4699
/** * Update products cart address delivery with the address delivery of the cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4819
/** * Set an address to all products on the cart without address delivery. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4892
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4922
/** * isCarrierInRange. * * Check if the specified carrier is in range * * @id_carrier int * @id_zone int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4937
/** * Checks if all products of the cart are still available in the current state. They might have been converted to another * type of product since then, ordering disabled or deactivated. * * @return bool false if one of the product not publicly orderable anymore */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5000
/** * Are all products of the Cart in stock? * * @param bool $ignoreVirtual Ignore virtual products * @param bool $exclusive (DEPRECATED) If true, the validation is exclusive : it must be present product in stock and out of stock * * @since 1.5.0 * * @return bool False if not all products in the cart are in stock */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5030
/** * Checks that all products in cart have minimal required quantities * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5080
/** * Get all the IDs of the delivery Addresses without Carriers. * * @param bool $return_collection Returns sa collection * @param array $error Contains an error message if an error occurs * * @return array Array of address id or of address object */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5100
/** * Get products with gifts and manually added occurrences separated. * * @return array|null */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5164
/** * @return Country * * @throws \PrestaShopDatabaseException * @throws \PrestaShopException */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5179
/** * @return float */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5293
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * @param array $row * @param Context $shopContext * @param int|null $productQuantity * @param bool $keepOrderPrices When true use the Order saved prices instead of the most recent ones from catalog (if Order exists) * * @return mixed */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:858
/** * Customization management. * * @param int $quantity Quantity value to add or subtract * @param int $id_customization Customization ID * @param int $id_product Product ID * @param int $id_product_attribute ProductAttribute ID * @param int $id_address_delivery Delivery Address ID * @param string $operator Indicate if quantity must be increased (up) or decreased (down) * * @return bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1677
/** * @param int $id_product * @param int $id_product_attribute * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1943
/** * Delete a Customization from the Cart. If the Customization is a Picture, * then the Image is also deleted. * * @param int $id_customization Customization Id * @param int|null $id_product Unused * @param int|null $id_product_attribute Unused * @param int|null $id_address_delivery Unused * * @return bool Indicates if the Customization was successfully deleted * @todo: Remove unused parameters */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1977
/** * @param array $products * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2291
/** * @param array $products * * @return int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2312
/** * @param int $type * @param bool $withShipping * * @return array */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2323
/** * @param bool $withTaxes * @param array $product * @param Context|null $virtualContext * * @return int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2354
/** * @param bool $withTaxes * @param int $type * * @return float|int */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2416
/** * Get Carrier ID from Delivery Option. * * @param array $delivery_option Delivery options array * * @return int|mixed Carrier ID */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3374
/** * Ask the module the package shipping cost. * * If a carrier has been linked to a carrier module, we call it order to review the shipping costs. * * @param Carrier $carrier The concerned carrier (Your module may have several carriers) * @param float $shipping_cost The calculated shipping cost from the core, regarding package dimension and cart total * @param array $products The list of products * * @return bool|float The package price for the module (0 if free, false is disabled) */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3850
/** * @param int $productId */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3906
/** * Set flag to split lines of products given away and also manually added to cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5124
/** * Set flag to merge lines of products given away and also manually added to cart. */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5135
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5143
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:5151
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:228
Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1167
/** * Get number of products in cart * This is the total amount of products, not just the types. * * @param int $id Cart ID * * @return mixed */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:1275
/** * Get formatted total amount in Cart. * * @param int $id_cart Cart ID * @param bool $use_tax_display Whether the tax should be displayed * @param int $type Type enum: * - ONLY_PRODUCTS * - ONLY_DISCOUNTS * - BOTH * - BOTH_WITHOUT_SHIPPING * - ONLY_SHIPPING * - ONLY_WRAPPING * * @return string Formatted amount in Cart */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2028
/** * Get total in Cart using a tax calculation method. * * @param int $id_cart Cart ID * * @return string Formatted total amount in Cart * @todo: What is this? */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:2051
/** * Sort list of option delivery by parameters define in the BO. * * @param array $option1 * @param array $option2 * * @return int -1 if $option 1 must be placed before and 1 if the $option1 must be placed after the $option2 */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3125
/** * Translate a string option_delivery identifier ('24,3,') in a int (3240002000). * * The option_delivery identifier is a list of integers separated by a ','. * This method replace the delimiter by a sequence of '0'. * The size of this sequence is fixed by the first digit of the return * * @return string Intified value */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3260
/** * Translate an int option_delivery identifier (3240002000) in a string ('24,3,'). */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:3271
/** * Last abandoned Cart. * * @param int $id_customer Customer ID * * @return bool|int Last abandoned Cart ID * false if not found */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4136
/** * Build cart object from provided id_order. * * @param int $id_order * * @return Cart|bool */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4231
/** * Get Cart ID by Order ID. * * @param int $id_order Order ID * * @return int|bool Cart ID, false if not found */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4247
/** * Get Carts by Customer ID. * * @param int $id_customer Customer ID * @param bool $with_order Only return Carts that have been converted into an Order * * @return array|false|mysqli_result|PDOStatement|resource|null DB result */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4400
/** * Is the Cart from a guest? * * @param int $id_cart Cart ID * * @return bool True if the Cart has been made by a guest Customer */ Inherited from CartCore Defined in <ROOT>/classes/Cart.php:4981
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * CustomerCore constructor. * * @param int|null $id */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:225
/** * Adds current Customer as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:243
/** * Adds current Customer as a new Object to the database. * * @param bool $autodate Automatically set `date_upd` and `date_add` columns * @param bool $null_values Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:288
/** * Updates the current Customer in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:317
/** * Updates the current Customer in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Customer has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:357
/** * Deletes current Customer from the database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:385
/** * Return customer instance from its e-mail (optionally check password). * * @param string $email e-mail * @param string $plaintextPassword Password is also checked if specified * @param bool $ignoreGuest to ignore guest customers * * @return bool|Customer|CustomerCore Customer instance * * @throws \InvalidArgumentException if given input is not valid */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:449
/** * Return customer addresses. * * @param int $idLang Language ID * * @return array Addresses */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:651
/** * Get simplified Addresses arrays. * * @param int|null $idLang Language ID * * @return array */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:684
/** * Get Address as array. * * @param int $idAddress Address ID * @param int|null $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:712
/** * Get SQL query to retrieve Address in an array. * * @param int|null $idAddress Address ID * @param int|null $idLang Language ID * * @return string */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:756
/** * Return several useful statistics about customer. * * @return array Stats */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:942
/** * Get last 10 emails sent to the Customer. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:972
/** * Get last 10 Connections of the Customer. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:992
/** * Update customer groups associated to the object. * * @param array $list groups */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1039
/** * Remove this Customer ID from Customer Groups. * * @return bool Indicates whether the Customer ID has been successfully removed * from the Customer Group Db table */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1058
/** * Add the Customer to the given Customer Groups. * * @param array $groups Customer Group IDs */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1068
/** * Get Groups of this Customer * * @return array|mixed */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1113
/** * Get Products bought by this Customer. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1123
/** * Is the current Customer a Guest? * * @return bool Indicates whether the Customer is a Guest */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1193
/** * Transform the Guest to a Customer. * * @param int $idLang Language ID * @param string|null $password Password * * @return bool Indicates if a process has been successful */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1206
/** * Set password * (for webservice). * * @param string $passwd Password * * @return bool Indictes whether the password has been successfully set */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1313
/** * Check customer information and return customer validity. * * @since 1.5.0 * * @param bool $withGuest * * @return bool customer validity */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1333
/** * Logout. * * @since 1.5.0 */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1354
/** * Soft logout, delete everything that links to the customer * but leave there affiliate's information. * * @since 1.5.0 */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1374
/** * Get last empty Cart for this Customer, when last cart is not empty return false. * * @param bool|true $withOrder Only return a Cart that have been converted into an Order * * @return bool|int */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1395
/** * Validate controller and check password * * @param bool $htmlentities * * @return array * * @deprecated 8.1.0 The password check has been moved in controllers and this method is not called anywhere since 1.7.0 */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1416
/** * Get outstanding amount. * * @return float Outstanding amount */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1433
/** * Get Customer Groups * (for webservice). * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1461
/** * Set Customer Groups * (for webservice). * * @param array $result * * @return bool */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1480
/** * @see ObjectModel::getWebserviceObjectList() */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1495
/** * Fill Reset password unique token with random sha1 and its validity date. For forgot password feature. */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1505
/** * Test if a reset password token is present and is recent enough to avoid creating a new one (in case of customer triggering the forgot password link too often). */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1516
/** * Returns the valid reset password token if it validity date is > now(). */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1533
/** * Delete reset password token data. */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1549
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Return customers list. * * @param bool|null $onlyActive Returns only active customers when `true` * * @return array Customers */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:426
/** * Retrieve customers by email address. * * @param string $email * * @return array Customers */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:531
/** * Check id the customer is active or not. * * @param int $idCustomer * * @return bool Customer validity */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:548
/** * Check if e-mail is already registered in database. * * @param string $email e-mail * @param bool $returnId If true the method returns the Customer ID, or boolean * @param bool $ignoreGuest to ignore guest customers * * @return bool|int Customer ID if found * `false` otherwise */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:579
/** * Check if an address is owned by a customer. * * @param int $idCustomer Customer ID * @param int $idAddress Address ID * * @return bool result */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:603
Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:618
/** * Reset Address cache. * * @param int $idCustomer Customer ID * @param int $idAddress Address ID */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:631
/** * Count the number of addresses for a customer. * * @param int $idCustomer Customer ID * * @return int Number of addresses */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:811
/** * Check if customer password is the right one. * * @param int $idCustomer Customer ID * @param string $passwordHash Hashed password * * @return bool result */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:829
/** * Light back office search for customers. * * @param string $query Searched string * @param int|null $limit Limit query results * @param ShopConstraint|null $shopConstraint provide specific shop constraint or else it will use context shops for search * * @return array|false|mysqli_result|PDOStatement|resource|null Corresponding customers * * @throws PrestaShopDatabaseException */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:870
/** * Search for customers by ip address. * * @param string $ip Searched string * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:927
/** * Check if Customer ID exists. * * @param int $idCustomer Customer ID * * @return int|null Customer ID if found */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1018
/** * Get Groups that have the given Customer ID. * * @param int $idCustomer Customer ID * * @return array|mixed */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1084
/** * Get Default Customer Group ID. * * @param int $idCustomer Customer ID * * @return mixed|string|null */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1138
/** * Get current country or default country * * @param int $idCustomer * @param Cart|null $cart * * @return int Country ID */ Inherited from CustomerCore Defined in <ROOT>/classes/Customer.php:1169
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
2024-05-20 07:43:36 UTC
/** * PhpEncryptionCore constructor. * * @param string $hexString A string that only contains hexadecimal characters * Bother upper and lower case are allowed */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:43
/** * Encrypt the plaintext. * * @param string $plaintext Plaintext * * @return string Cipher text */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:56
/** * Decrypt the cipher text. * * @param string $cipherText Cipher text * * @return bool|string Plaintext * `false` if unable to decrypt * * @throws Exception */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:71
/** * @param string $header * @param string $bytes * * @return string * * @throws \Defuse\Crypto\Exception\EnvironmentIsBrokenException */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:84
/** * @return string * * @throws Exception */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:96
/** * Choose which engine use regarding the OpenSSL cipher methods available. */ Inherited from PhpEncryptionCore Defined in <ROOT>/classes/PhpEncryption.php:113
/** * Get data if the cookie exists and else initialize an new one. * * @param string $name Cookie name before encrypting * @param string $path */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:98
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:127
/** * Set expiration date. * * @param int $expire Expiration time from now */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:183
/** * Magic method wich return cookie data from _content array. * * @param string $key key wanted * * @return string value corresponding to the key */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:195
/** * Magic method which check if key exists in the cookie. * * @param string $key key wanted * * @return bool key existence */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:207
/** * Magic method which adds data into _content array. * * @param string $key Access key for the value * @param mixed $value Value corresponding to the key * * @throws Exception */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:220
/** * Magic method which delete data into _content array. * * @param string $key key wanted */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:239
/** * Delete cookie * As of version 1.5 don't call this function, use Customer::logout() or Employee::logout() instead;. */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:251
/** * Soft logout, delete everything links to the customer * but leave there affiliate's informations. * As of version 1.5 don't call this function, use Customer::mylogout() instead;. */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:265
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:285
/** * Get cookie content. */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:298
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:405
/** * Save cookie with setcookie(). */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:413
/** * Get a family of variables (e.g. "filter_"). */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:445
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:460
Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:468
/** * @return string name of cookie */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:476
/** * Check if the cookie exists. * * @since 1.5.0 * * @return bool */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:488
/** * Register a new session * * @param SessionInterface $session */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:498
/** * Delete session * * @return bool */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:520
/** * Check if this session is still alive * * @return bool */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:541
/** * Retrieve session based on a session id and the employee or * customer id * * @return SessionInterface|null */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:565
/** * @param array|null $shared_urls * * @return bool|string */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:137
/** * Encrypt and set the Cookie. * * @param string|null $cookie Cookie content * * @return bool Indicates whether the Cookie was successfully set * * @since 1.7.0 */ Inherited from CookieCore Defined in <ROOT>/classes/Cookie.php:350
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:23
/** * @return \SessionHandlerInterface */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:33
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:44
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:53
/** * @return string|false */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:62
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:71
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:80
/** * @return int|false */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:89
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:98
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php:107
/** * Gets the session.save_handler name. * * @return string|null */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:36
/** * Is this proxy handler and instance of \SessionHandlerInterface. * * @return bool */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:46
/** * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. * * @return bool */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:56
/** * Has a session started? * * @return bool */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:66
/** * Gets the session ID. * * @return string */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:76
/** * Sets the session ID. * * @param string $id * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:88
/** * Gets the session name. * * @return string */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:102
/** * Sets the session name. * * @param string $name * * @throws \LogicException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php:114
2024-04-30 07:43:36 UTC
/** * @param string $storageKey The key used to store bag in the session * @param int $updateThreshold The time to wait between two UPDATED updates */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:60
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:69
/** * Gets the lifetime that the session cookie was set with. * * @return int */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:90
/** * Stamps a new session's metadata. * * @param int $lifetime Sets the cookie lifetime for the session cookie. A null value * will leave the system settings unchanged, 0 sets the cookie * to expire with browser session. Time is in seconds, and is * not a Unix timestamp. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:103
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:111
/** * Gets the created timestamp metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:121
/** * Gets the last used metadata. * * @return int Unix timestamp */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:131
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:139
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:147
/** * Sets name. * * @param string $name */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:157
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php:162
/** * @param AbstractProxy|\SessionHandlerInterface|null $handler */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php:26
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php:39
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/PhpBridgeSessionStorage.php:53
/** * Gets the save handler instance. * * @return AbstractProxy|\SessionHandlerInterface */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:133
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:211
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:219
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:227
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:235
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:243
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:279
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:338
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:350
Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:365
/** * Gets the MetadataBag. * * @return MetadataBag */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:379
/** * {@inheritdoc} */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:387
/** * Sets session.* ini variables. * * For convenience we omit 'session.' from the beginning of the keys. * Explicitly ignores other ini keys. * * @param array $options Session ini directives [key => value] * * @see https://php.net/session.configuration */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:402
/** * Registers session save handler as a PHP session handler. * * To use internal PHP session save handlers, override this method using ini_set with * session.save_handler and session.save_path e.g. * * ini_set('session.save_handler', 'files'); * ini_set('session.save_path', '/tmp'); * * or pass in a \SessionHandler instance which configures session.save_handler in the * constructor, for a template see NativeFileSessionHandler. * * @see https://php.net/session-set-save-handler * @see https://php.net/sessionhandlerinterface * @see https://php.net/sessionhandler * * @param AbstractProxy|\SessionHandlerInterface|null $saveHandler * * @throws \InvalidArgumentException */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:456
/** * Load the session with attributes. * * After starting the session, PHP retrieves the session from whatever handlers * are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). * PHP takes the return value from the read() handler, unserializes it * and populates $_SESSION with the result automatically. */ Inherited from Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:489
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:39
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:55
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:63
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:71
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:79
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:87
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:95
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:103
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:111
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:119
/** * Returns an iterator for attributes. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:130
/** * Returns the number of attributes. * * @return int */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:141
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:146
/** * @internal */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:154
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:171
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:181
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:189
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:197
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:205
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:215
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:223
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:231
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:241
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:249
/** * Gets the flashbag interface. * * @return FlashBagInterface */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:261
/** * Gets the attributebag interface. * * Note that this method was added to help with IDE autocompletion. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Session.php:271
/** * Constructor (initialization only). * * @param string|null $protocolLink * @param string|null $protocolContent */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:57
/** * Create a link to delete a product. * * @param Product|array|int $product ID of the product OR a Product object * @param int $idPicture ID of the picture to delete * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:89
/** * Return a product object from various product format. * * @param Product|array|int $product * @param int $idLang * @param int $idShop * * @return Product * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:107
/** * Create a link to a product. * * @param ProductCore|array|int $product Product object (can be an ID product, but deprecated) * @param string|null $alias * @param string|null $category * @param string|null $ean13 * @param int|null $idLang * @param int|null $idShop (since 1.5.0) ID shop need to be used when we generate a product link for a product in a cart * @param int|null $idProductAttribute ID product attribute * @param bool $force_routes * @param bool $relativeProtocol * @param bool $withIdInAnchor * @param array $extraParams * @param bool $addAnchor * * @return string * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:142
/** * Get the URL to remove the Product from the Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:263
/** * Get URL to add one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:296
/** * Get URL to remove one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:313
/** * Get URL to update quantity of Product in Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * @param string|null $op * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:331
/** * Get add to Cart URL. * * @param int $idProduct * @param int $idProductAttribute * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:369
/** * Return a category object from various category format. * * @param Category|array|int $category * @param int $idLang * * @return Category * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:396
/** * Create a link to a category. * * @param CategoryCore|array|int|string $category Category object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param string|null $selectedFilters Url parameter to autocheck filters of the module blocklayered * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:423
/** * Create a link to a CMS category. * * @param CMSCategory|int $cmsCategory CMSCategory object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:484
/** * Create a link to a CMS page. * * @param CMS|int $cms CMS object * @param string|null $alias * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:536
/** * Create a link to a supplier. * * @param Supplier|int $supplier Supplier object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:587
/** * Create a link to a manufacturer. * * @param Manufacturer|int $manufacturer Manufacturer object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:639
/** * Create a link to a module. * * @since 1.5.0 * * @param string $module Module name * @param string $controller * @param array $params * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:685
/** * Use controller name to create a link. * * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param string $controller * @param bool $withToken include or not the token in the url * @param array $sfRouteParams (Since 1.7.0.0) Optional parameters to use into New architecture specific cases. If these specific cases should redirect to legacy URLs, then this parameter is used to complete GET query string * @param array $params (Since 1.7.0.3) Optional * * @return string url */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:727
/** * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param array $tab * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:868
/** * Used when you explicitly want to create a LEGACY admin link, this should be deprecated * in 1.8.0. * * @param string $controller * @param bool $withToken * @param array $params * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:893
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:911
/** * Search for a shop whose domain matches the current url. * * @return int|null */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:946
/** * Returns a link to a product image for display * Note: the new image filesystem stores product images in subdirectories of img/p/. * * @param string $name rewrite link of the image * @param string $ids id part of the image filename - can be "id_product-id_image" (legacy support, recommended) or "id_image" (new) * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:990
/** * Returns a link to a supplier image for display. * * @param int $idSupplier * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1029
/** * Returns a link to a manufacturer image for display. * * @param int $idManufacturer * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1055
/** * Returns a link to a store image for display. * * @param string $name * @param int $idStore * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1082
/** * @param string $filepath * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1104
/** * Create a simple link. * * @param string $controller * @param bool|null $ssl * @param int|null $idLang * @param string|array|null $request * @param bool $requestUrlEncode Use URL encode * @param int|null $idShop * @param bool $relativeProtocol * * @return string Page link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1122
/** * @param string $name * @param int $idCategory * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1171
/** * Retrieves a link for the current page in different language. * * @param int $idLang Language ID * @param Context|null $context the context if needed * * @return string link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1190
/** * @param string $url * @param int $p * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1246
/** * Get pagination link. * * @param string $type Controller name * @param int $idObject * @param bool $nb Show nb element per page attribute * @param bool $sort Show sort attribute * @param bool $pagination Show page number attribute * @param bool $array If false return an url, if true return an array * * @return string|array */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1265
/** * @param string $url * @param string $orderBy * @param string $orderWay * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1341
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1382
/** * Check if url match with current url. * * @param string $url * * @return bool */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1442
/** * @param int|null $idLang * @param Context|null $context * @param int|null $idShop * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1353
/** * Clean url http://website.com/admin_dir/foo => foo * Remove index.php? * Remove last char if it's ? or & * Remove token if exists. * * @param string $url * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1413
/** * @param array $params * * @return string * * @throws \InvalidArgumentException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1456
/** * Deletes current Country from the database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:121
/** * Does the Country need a DNI. * * @return bool Indicates whether the Country needs a DNI */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:388
/** * Apply Zone to selected Countries. * * @param array $idsCountries Country array * @param int $idZone Zone ID * * @return bool Indicates whether the Zone was successfully applied */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:431
/** * Replace letters of zip code format And check this format on the zip code. * * @param string $zipCode zip code * * @return bool Indicates whether the zip code is correct */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:448
/** * Adds current Country as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Country has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:519
/** * Builds the object. * * @param int|null $id if specified, loads and existing object from DB (optional) * @param int|null $id_lang required if object is multilingual (optional) * @param int|null $id_shop ID shop for objects with multishop tables * @param TranslatorComponent|null $translator * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:246
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Updates the current object in the database. * * @param bool $null_values * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:769
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * @brief Return available countries * * @param int $idLang Language ID * @param bool $active return only active coutries * @param bool $containStates return only country with states * @param bool $listStates Include the states list with the returned list * * @return array Countries and corresponding zones */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:140
Inherited from CountryCore Defined in <ROOT>/classes/Country.php:166
/** * Get a country ID with its iso code. * * @param string $isoCode Country iso code * @param bool $active return only active countries * * @return int|bool Country ID */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:184
/** * Get Zone ID by Country. * * @param int $idCountry Country ID * * @return bool|int */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:211
/** * Get a country name with its ID. * * @param int $idLang Language ID * @param int $idCountry Country ID * * @return string Country name */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:243
/** * Get a country iso with its ID. * * @param int $idCountry Country ID * * @return string|bool Country iso */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:269
/** * Get a country id with its name. * * @param int|null $idLang Language ID * @param string $country Country Name * * @return int|bool Country ID */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:292
/** * Does the Country need a zip code? * * @param int $idCountry Country ID * * @return bool Indicates whether the Country needs a zip code */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:318
/** * Get zip code format for Country. * * @param int $idCountry Country ID * * @return bool|false|string|null */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:337
/** * Get Countries by Zone ID. * * @param int $idZone Zone ID * @param int $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:363
/** * Does the given Country need a DNI? * * @param int $idCountry Country ID * * @return bool Indicates whether the Country needs a DNI */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:400
/** * Does the given Country contain States? * * @param int $idCountry Country ID * * @return bool Indicates whether the Country contains States */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:415
/** * Add module restrictions. * * @param array $shops Shops array * @param array $countries Countries array * @param array $modules Modules array * * @return bool Indictes whether the restrictions were successfully applied */ Inherited from CountryCore Defined in <ROOT>/classes/Country.php:471
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * reset static cache (eg unit testing purpose). */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:209
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:188
/** * Move translations files after editing language iso code. */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:201
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:251
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:277
/** * Checks if every files exists for this language * * @see checkFilesWithIsoCode() * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:301
/** * loadUpdateSQL will create default lang values when you create a new lang, based on current lang id. * * @return bool True if success */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:502
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:610
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:700
/** * @return string return the language locale, or its code by default */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1744
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1754
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1762
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1770
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1778
/** * {@inheritdoc} */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1786
/** * Builds the object. * * @param int|null $id if specified, loads and existing object from DB (optional) * @param int|null $id_lang required if object is multilingual (optional) * @param int|null $id_shop ID shop for objects with multishop tables * @param TranslatorComponent|null $translator * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:246
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:143
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:150
/** * This functions checks if every files exists for the language $iso_code. * Concerned files are those located in translations/$iso_code/ * and translations/mails/$iso_code . * * @param string $iso_code 2-letter ISO code * * @return bool True if all files exists */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:315
/** * @param string $iso_from * @param string $theme_from * @param string|bool $iso_to * @param string|bool $theme_to * @param bool|string $select * @param bool $check * @param bool $modules * * @return string[] * * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:344
/** * Returns installed languages. * * @see loadLanguages() * * @param bool $active Select only active languages * @param int|bool $id_shop Shop ID * @param bool $ids_only If true, returns an array of language IDs * * @return array<int|array> Language information */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:726
/** * Returns an array of installed language IDs. * * @param bool $active Select only active languages * @param int|false $id_shop Shop ID * * @return array */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:752
/** * Returns installed language information for the provided id_lang * * @param int $id_lang Language Id * * @return array|false */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:764
/** * Return iso code from id (installed languages only). * * @param int $id_lang Language ID * * @return string|bool 2-letter ISO code */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:783
/** * Provides locale by language id (e.g. en-US, fr-FR, ru-RU) * * @param int $langId * * @return string|null */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:802
/** * Returns language information form the all_languages file using IETF language tag * * @param string $locale IETF language tag * * @return array|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:824
/** * Returns language id from iso code. * * @param string $iso_code Iso code * @param bool $no_cache * * @return int|null Language id, or null if not found */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:846
/** * Returns language id from locale * * @param string $locale Locale IETF language tag * @param bool $noCache * * @return int|false|null */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:875
/** * Returns language information from the all-languages file * * @param string $iso 2-letter ISO code * * @return string[]|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:903
/** * Returns locale with iso parameter. * * @param string $isoCode 2-letter ISO code * * @return string|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:921
/** * Returns iso with locale parameter. * * @param string $locale * * @return string|false * * @throws Exception */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:943
/** * Retrieves a language code from an installed language using a 2-letter iso code * * @param string $iso_code 2-letter iso code * * @return string|false Returns the language code, or false if it doesn't exist * * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:965
/** * Retrieves an installed language by IETF language tag * * @param string $code IETF language tag * * @return Language|false * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:984
/** * Return array (id_lang, iso_code). * * @param bool $active Select only active languages * * @return array Language (id_lang, iso_code) */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1023
/** * Copies translated information in *_lang tables from one language to another * * @param int $from Source language id * @param int $to Destination language id * * @return true * * @throws PrestaShopDatabaseException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1041
/** * Load all installed languages in memory for caching. */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1072
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1096
/** * Adds a language * * @param string $iso_code 2-letter language ISO code * @param array|false $lang_pack [default=false] Pack information. By default, this is automatically retrieved from all_languages.json. * @param bool $only_add [default=false] If true, do not create copies of translated fields in *_lang tables * @param ?array $params_lang [default=null] See allow_accented_chars_url * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1125
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1181
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1194
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1207
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1224
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1243
/** * Downloads a language pack into local cache * * @param string $locale IETF language tag * @param array $errors * @param string $type self:PACK_TYPE_SYMFONY|self::PACK_TYPE_EMAILS * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1266
/** * Extracts a local translation pack * * @param string $locale IETF language tag * @param array $errors * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1317
/** * Installs a language pack and updates language sensitive information * * @param string $iso Language ISO code * @param array $params Optional parameters for self::checkAndAddLanguage * @param array $errors * * @return array|true Array of errors, or true if all goes well * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1389
/** * Installs the first language pack (during shop install) * * @param string $iso Language ISO code * @param array $params Optional parameters for self::checkAndAddLanguage * @param array $errors * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1433
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1482
/** * Check if more on than one language is activated. * * @since 1.5.0 * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1511
Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1516
/** * Updates multilanguage tables in all languages using DataLang * * @param array $modules_list [deprecated since 1.7.7] Not used anymore */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1537
/** * Update all table_lang from xlf & DataLang. * * @param string $iso_code 2-letter language code * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1552
/** * Translates translatable content in the requested database tables * * @param Language $language Language to translate to * @param string[] $tablesToUpdate Tables to update (including datbase prefix, ending in _lang) * * @throws PrestaShopException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1581
/** * @param Language $lang * * @throws PrestaShopDatabaseException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1604
/** * Updates multilang tables using DataLang classes * * @param string $table * @param string $className * @param LanguageCore $lang * * @throws PrestaShopDatabaseException */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1641
/** * Returns an RTL stylesheet processor instance. * * @return RtlStylesheetProcessor */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1697
/** * Indicates if a given translation pack exists in cache * * @param string $type IETF language tag * @param string $locale self::PACK_TYPE_SYMFONY|self::PACK_TYPE_EMAILS * * @return bool */ Inherited from LanguageCore Defined in <ROOT>/classes/Language.php:1723
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
https://i18n.prestashop-project.org/translations/%version%/%locale%/%locale%.zip
/** * CurrencyCore constructor. * * @param int|null $id * @param int|false|null $idLang if null or false, default language will be used * @param int|null $idShop */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:244
/** * @param string|null $ws_params_attribute_name * * @return array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:301
/** * If the field 'names' (localized names) is sent, * it should be use instead of the field 'name' (non-localized). * LocalizedNames is also updated to reflect the new information. */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:317
/** * In 1.7.6, new fields have been introduced. To keep it backward compatible, * we need to populate those fields with default values and they are all available * using the ISO code through CLDR data. */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:340
/** * Overriding check if currency rate is not empty and if currency with the same iso code already exists. * If it's true, currency is not added. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Currency has been successfully added */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:394
/** * Updates the current object in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the CartRule has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:413
/** * Delete given Currencies. * * @param array $selection Currencies * * @return bool Indicates whether the selected Currencies have been succesfully deleted */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:444
/** * Deletes current object from database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:472
/** * Return formatted sign. * * @param string $side left or right * * @return string formated sign */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:496
/** * Is this currency installed for a given shop ? * (current shop by default). * * @param int|null $currencyId * The currency to look for ( * @param int|null $shopId * The given shop's id * * @return bool * True if this currency is installed for the given shop */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:513
/** * Returns the name of the currency (using the translated name base on the id_lang * provided on creation). This method is useful when $this->name contains an array * but you still need to get its name as a string. * * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:536
/** * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:553
/** * Names indexed by language id * * @return string[] */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:576
/** * This setter updates the name field because it is used when you want to update * the database (legacy core feature). But to be consistent the names field also * needs to be updated. * * @param string[] $localizedNames list of currency names, the array needs to be indexed by language id * * @return $this */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:590
/** * Symbols indexed by language id * * @return string[] */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:602
/** * This setter updates the symbol field because it is used when you want to update * the database (legacy core feature). But to be consistent the symbols field also * needs to be updated. * * @param string[] $localizedSymbols list of currency symbols, the array needs to be indexed by language id * * @return CurrencyCore */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:616
/** * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:626
/** * Patterns indexed by language id * * @return string[] */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:636
/** * This setter updates the pattern field because it is used when you want to update * the database (legacy core feature). But to be consistent the patterns field also * needs to be updated. * * @param string[] $localizedPatterns list of currency patterns, the array needs to be indexed by language id * * @return CurrencyCore */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:650
/** * @param int|null $shopId * * @return array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:720
/** * Refresh the currency exchange rate * The XML file define exchange rate for each from a default currency ($isoCodeSource). * * @param SimpleXMLElement $data XML content which contains all the exchange rates * @param string $isoCodeSource The default currency used in the XML file * @param Currency $defaultCurrency The default currency object */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:984
/** * Get conversion rate. * * @return int|string * * @deprecated 1.7.2.0, use Currency::getConversionRate() instead */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1102
/** * Get conversion rate. * * @return int|string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1114
/** * This method aims to update localized data in currency from CLDR reference. * * @param array $languages * @param LocaleRepository $localeRepoCLDR * * @throws PrestaShopDatabaseException * @throws PrestaShopException * @throws \PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1166
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * reset static cache (eg unit testing purpose). */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:377
/** * Check if a Currency already exists. * * @param int|string $isoCode int for iso code number string for iso code * @param int $idShop Shop ID * * @return bool Indicates whether the Currency already exists */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:430
/** * Return available currencies. * * @param bool $object * @param bool $active * @param bool $groupBy * * @return array Currencies */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:666
/** * Retrieve all currencies data from the database. * * @param bool $active If true only active are returned * @param bool $groupBy Group by id_currency * @param bool $currentShopOnly If true returns only currencies associated to current shop * * @return array Currency data from database * * @throws PrestaShopDatabaseException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:685
/** * Retrieve all currencies data from the database. * * @return array Currency data from database * * @throws PrestaShopDatabaseException */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:706
/** * Get Currencies by Shop ID. * * @param int $idShop Shop ID * * @return array|Currency */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:742
/** * @param int $idModule * @param int|null $idShop * * @return array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:789
/** * Get payment Currencies. * * @param int $idModule Module ID * @param int|null $idShop Shop ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:811
/** * Check payment Currencies. * * @param int $idModule Module ID * @param int|null $idShop Shop ID * * @return array|PDOStatement|resource|null */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:837
/** * Get Currency. * * @param int $idCurrency Currency ID * * @return array|bool|object|null */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:865
/** * Get Currency ID by ISO code. * * @param string $isoCode ISO code * @param int $idShop Shop ID * @param bool $forceRefreshCache [default=false] Set to TRUE to forcefully refresh any currently cached results * @param bool $includeDeleted [default=false] Set to TRUE to get result even for soft deleted currency * * @return int Currency ID */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:886
/** * Get Currency ISO Code by ID * * @param int $id * @param bool $forceRefreshCache * * @return string */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:914
/** * Get Currency ID by numeric ISO code. * * @param int $numericIsoCode ISO code * @param int $idShop Shop ID * * @return int Currency ID */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:935
/** * Get Currency ID query. * * @param int $idShop Shop ID * @param bool $includeDeleted [default=false] Set to TRUE to get result even for soft deleted currency * * @return DbQuery */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:959
/** * Get default Currency. * * @return bool|Currency */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1029
/** * Get default currency Id. * * @return int */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1044
/** * Refresh Currencies. * * @return string Error message */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1054
/** * Get Currency instance. * * @param int $id Currency ID * * @return Currency */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1086
/** * Count active Currencies. * * @param int|null $idShop Shop ID * * @return mixed Amount of active Currencies * `false` if none found */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1127
/** * Is multi Currency activated? * * @param int|null $idShop Shop ID * * @return bool Indicates whether multi Currency is actived */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:1151
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * Add Cldr datas to result query or signe object/array. * * @param array|object $currencies * @param bool $isObject * * @return mixed object|array */ Inherited from CurrencyCore Defined in <ROOT>/classes/Currency.php:762
/** * Price specification constructor. * * @param string $positivePattern CLDR formatting pattern for positive amounts * @param string $negativePattern CLDR formatting pattern for negative amounts * @param NumberSymbolList[] $symbols List of available number symbols lists (NumberSymbolList objects) * Each list is indexed by numbering system * @param int $maxFractionDigits Maximum number of digits after decimal separator * @param int $minFractionDigits Minimum number of digits after decimal separator * @param bool $groupingUsed Is digits grouping used ? * @param int $primaryGroupSize Size of primary digits group in the number * @param int $secondaryGroupSize Size of secondary digits group in the number * @param string $currencyDisplay Type of display for currency symbol * @param string $currencySymbol Currency symbol of this price (eg. : €) * @param string $currencyCode Currency code of this price (e.g.: EUR) * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:92
/** * Get type of display for currency symbol. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:126
/** * Get the currency symbol * e.g.: €. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:137
/** * Get the currency ISO code * e.g.: EUR. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:148
/** * To array function * * @return array */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:172
/** * Get all specified symbols lists, indexed by available numbering system. * * Each item of the result is a NumberSymbolList * * @return NumberSymbolList[] */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:158
/** * Get the specified symbols list for a given numbering system. * * @param string $numberingSystem * Numbering system to use when formatting numbers. @see http://cldr.unicode.org/translation/numbering-systems * * @return NumberSymbolList * * @throws LocalizationException */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:173
/** * Get the formatting rules for this number (when positive). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:189
/** * Get the formatting rules for this number (when negative). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:201
/** * Get the maximum number of digits after decimal separator (rounding if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:211
/** * Get the minimum number of digits after decimal separator (fill with "0" if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:221
/** * Get the "grouping" flag. This flag defines if digits grouping should be used when formatting this number. * * @return bool */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:231
/** * Get the size of primary digits group in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:241
/** * Get the size of secondary digits groups in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:251
/** * Data (attributes) validation. * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:158
/** * Create a number formatter instance. * * @param string $roundingMode The wanted rounding mode when formatting numbers * Cf. PrestaShop\Decimal\Operation\Rounding::ROUND_* values * @param string $numberingSystem Numbering system to use when formatting numbers * * @see http://cldr.unicode.org/translation/numbering-systems */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:81
/** * Formats the passed number according to specifications. * * @param int|float|string $number * The number to format * @param NumberSpecification $specification * Number specification to be used (can be a number spec, a price spec, a percentage spec) * * @return string * The formatted number * You should use this this value for display, without modifying it * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:101
/** * Perform some more specific replacements. * * Specific replacements are needed when number specification is extended. * For instance, prices have an extended number specification in order to * add currency symbol to the formatted number. * * @param string $formattedNumber * * @return mixed */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:364
/** * Prepares a basic number (either a string, an integer or a float) to be formatted. * * @param string|float|int $number The number to be prepared * * @return DecimalNumber The prepared number */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:145
/** * Get $number's major and minor digits. * * Major digits are the "integer" part (before decimal separator), minor digits are the fractional part * Result will be an array of exactly 2 items: [$majorDigits, $minorDigits] * * Usage example: * list($majorDigits, $minorDigits) = $this->getMajorMinorDigits($decimalNumber); * * @param DecimalNumber $number * * @return string[] */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:170
/** * Splits major digits into groups. * * e.g.: Given the major digits "1234567", and major group size * configured to 3 digits, the result would be "1 234 567" * * @param string $majorDigits The major digits to be grouped * * @return string The grouped major digits */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:190
/** * Adds or remove trailing zeroes, depending on specified min and max fraction digits numbers. * * @param string $minorDigits Digits to be adjusted with (trimmed or padded) zeroes * * @return string The adjusted minor digits */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:220
/** * Get the CLDR formatting pattern. * * @see http://cldr.unicode.org/translation/number-patterns * * @param bool $isNegative * If true, the negative pattern will be returned instead of the positive one * * @return string * The CLDR formatting pattern */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:250
/** * Localize the passed number. * * If needed, occidental ("latn") digits are replaced with the relevant * ones (for instance with arab digits). * Symbol placeholders will also be replaced by the real symbols (configured * in number specification) * * @param string $number * The number to be processed * * @return string * The number after digits and symbols replacement */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:273
/** * Replace latin digits with relevant numbering system's digits. * * @param string $number * The number to process * * @return string * The number with replaced digits */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:293
/** * Replace placeholder number symbols with relevant numbering system's symbols. * * @param string $number * The number to process * * @return string * The number with replaced symbols */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:308
/** * Add missing placeholders to the number using the passed CLDR pattern. * * Missing placeholders can be the percent sign, currency symbol, etc. * * e.g. with a currency CLDR pattern: * - Passed number (partially formatted): 1,234.567 * - Returned number: 1,234.567 ¤ * ("¤" symbol is the currency symbol placeholder) * * @see http://cldr.unicode.org/translation/number-patterns * * @param string $formattedNumber Number to process * @param string $pattern CLDR formatting pattern to use * * @return string */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:339
/** * Try to replace currency placeholder by actual currency. * * Placeholder will be replaced either by the symbol or the ISO code, depending on price specification * * @param string $formattedNumber The number to format * * @return string The number after currency replacement */ Defined in <ROOT>/src/Core/Localization/Number/Formatter.php:380
/** * Number specification constructor. * * @param string $positivePattern CLDR formatting pattern for positive amounts * @param string $negativePattern CLDR formatting pattern for negative amounts * @param NumberSymbolList[] $symbols List of available number symbols lists (NumberSymbolList objects). Each list is indexed by numbering system * @param int $maxFractionDigits Maximum number of digits after decimal separator * @param int $minFractionDigits Minimum number of digits after decimal separator * @param bool $groupingUsed Is digits grouping used ? * @param int $primaryGroupSize Size of primary digits group in the number * @param int $secondaryGroupSize Size of secondary digits group in the number * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Number.php:124
/** * Get all specified symbols lists, indexed by available numbering system. * * Each item of the result is a NumberSymbolList * * @return NumberSymbolList[] */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:158
/** * Get the specified symbols list for a given numbering system. * * @param string $numberingSystem * Numbering system to use when formatting numbers. @see http://cldr.unicode.org/translation/numbering-systems * * @return NumberSymbolList * * @throws LocalizationException */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:173
/** * Get the formatting rules for this number (when positive). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:189
/** * Get the formatting rules for this number (when negative). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:201
/** * Get the maximum number of digits after decimal separator (rounding if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:211
/** * Get the minimum number of digits after decimal separator (fill with "0" if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:221
/** * Get the "grouping" flag. This flag defines if digits grouping should be used when formatting this number. * * @return bool */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:231
/** * Get the size of primary digits group in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:241
/** * Get the size of secondary digits groups in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:251
/** * To array function * * @return array */ Defined in <ROOT>/src/Core/Localization/Specification/Number.php:323
/** * Data (attributes) validation. * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Number.php:261
/** * Gets the current NumberCollection as an Iterator that includes all Number specification items. * * It implements \IteratorAggregate. * * @return ArrayIterator|NumberSpecificationInterface[] * An ArrayIterator object for iterating over Number specification items */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:57
/** * Gets the number of Number specification items in this collection. * * @return int * The number of Number specification items */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:68
/** * Adds a Number specification item at the end of the collection. * * @param int|string $index * The item index * @param numberSpecificationInterface $numberSpecification * The Number specification item to add * * @return NumberCollection * Fluent interface */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:84
/** * Returns all Number specification items in this collection. * * @return NumberSpecificationInterface[] * An array of Number specification items */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:97
/** * Gets a Number specification item by index. * * @param int|string $index * The Number specification item index into this collection * (@see NumberCollection::add()) * * @return NumberSpecificationInterface|null * A Number specification instance or null when not found */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:112
/** * Removes a Number specification item or an array of Number specification items by index from the collection. * * @param int|string|int[]|string[]|array $index * The Number specification item index or an array of Number specification item indexes * * @return NumberCollection * Fluent interface */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:126
/** * Clear the collection, removing all contained Number specification items. * * @return NumberCollection * Fluent interface */ Defined in <ROOT>/src/Core/Localization/Specification/NumberCollection.php:141
/** * Price specification constructor. * * @param string $positivePattern CLDR formatting pattern for positive amounts * @param string $negativePattern CLDR formatting pattern for negative amounts * @param NumberSymbolList[] $symbols List of available number symbols lists (NumberSymbolList objects) * Each list is indexed by numbering system * @param int $maxFractionDigits Maximum number of digits after decimal separator * @param int $minFractionDigits Minimum number of digits after decimal separator * @param bool $groupingUsed Is digits grouping used ? * @param int $primaryGroupSize Size of primary digits group in the number * @param int $secondaryGroupSize Size of secondary digits group in the number * @param string $currencyDisplay Type of display for currency symbol * @param string $currencySymbol Currency symbol of this price (eg. : €) * @param string $currencyCode Currency code of this price (e.g.: EUR) * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:92
/** * Get type of display for currency symbol. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:126
/** * Get the currency symbol * e.g.: €. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:137
/** * Get the currency ISO code * e.g.: EUR. * * @return string */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:148
/** * To array function * * @return array */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:172
/** * Get all specified symbols lists, indexed by available numbering system. * * Each item of the result is a NumberSymbolList * * @return NumberSymbolList[] */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:158
/** * Get the specified symbols list for a given numbering system. * * @param string $numberingSystem * Numbering system to use when formatting numbers. @see http://cldr.unicode.org/translation/numbering-systems * * @return NumberSymbolList * * @throws LocalizationException */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:173
/** * Get the formatting rules for this number (when positive). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:189
/** * Get the formatting rules for this number (when negative). * * This pattern uses the Unicode CLDR number pattern syntax * * @return string */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:201
/** * Get the maximum number of digits after decimal separator (rounding if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:211
/** * Get the minimum number of digits after decimal separator (fill with "0" if needed). * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:221
/** * Get the "grouping" flag. This flag defines if digits grouping should be used when formatting this number. * * @return bool */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:231
/** * Get the size of primary digits group in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:241
/** * Get the size of secondary digits groups in the number. * * @return int */ Inherited from PrestaShop\PrestaShop\Core\Localization\Specification\Number Defined in <ROOT>/src/Core/Localization/Specification/Number.php:251
/** * Data (attributes) validation. * * @throws LocalizationException */ Defined in <ROOT>/src/Core/Localization/Specification/Price.php:158
/** * Locale constructor. * * @param string $localeCode * The locale code (simplified IETF tag syntax) * Combination of ISO 639-1 (2-letters language code) and ISO 3166-2 (2-letters region code) * eg: fr-FR, en-US * @param NumberSpecification $numberSpecification * Number specification used when formatting a number * @param PriceSpecificationMap $priceSpecifications * Collection of Price specifications (one per installed currency) * @param NumberFormatter $formatter * This number formatter will use stored number / price specs */ Defined in <ROOT>/src/Core/Localization/Locale.php:95
/** * Get this locale's code (simplified IETF tag syntax) * Combination of ISO 639-1 (2-letters language code) and ISO 3166-2 (2-letters region code) * eg: fr-FR, en-US. * * @return string */ Defined in <ROOT>/src/Core/Localization/Locale.php:114
/** * Format a number according to locale rules. * * @param int|float|string $number * The number to be formatted * * @return string * The formatted number * * @throws Exception\LocalizationException */ Defined in <ROOT>/src/Core/Localization/Locale.php:130
/** * Format a number as a price. * * @param int|float|string $number * Number to be formatted as a price * @param string $currencyCode * Currency of the price * * @return string The formatted price * * @throws Exception\LocalizationException */ Defined in <ROOT>/src/Core/Localization/Locale.php:150
/** * Get price specification * * @param string $currencyCode Currency of the price * * @return NumberSpecificationInterface */ Defined in <ROOT>/src/Core/Localization/Locale.php:165
/** * Get number specification * * @return NumberSpecification */ Defined in <ROOT>/src/Core/Localization/Locale.php:181
/** * @see ObjectModel::getFields() * * @return array */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:62
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:90
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:95
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:169
/** * Builds the object. * * @param int|null $id if specified, loads and existing object from DB (optional) * @param int|null $id_lang required if object is multilingual (optional) * @param int|null $id_shop ID shop for objects with multishop tables * @param TranslatorComponent|null $translator * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:246
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Adds current object to the database. * * @param bool $auto_date * @param bool $null_values * * @return bool Insertion result * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:590
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Updates the current object in the database. * * @param bool $null_values * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:769
/** * Deletes current object from database. * * @return bool True if delete was successful * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:898
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:71
/** * @return int Total of shop groups */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:85
Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:104
/** * Return a group shop ID from group shop name. * * @param string $name * * @return int */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:120
/** * Detect dependency with customer or orders. * * @param int $id_shop_group * @param string $check all|customer|order * * @return bool */ Inherited from ShopGroupCore Defined in <ROOT>/classes/shop/ShopGroup.php:137
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * reset static cache (eg unit testing purpose). */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:209
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * Build an Address. * * @param int|null $id_address Existing Address ID in order to load object (optional) * @param int|null $id_lang Language ID (optional). Configuration::PS_LANG_DEFAULT will be used if null */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:168
/** * @see ObjectModel::add() */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:191
/** * @see ObjectModel::update() */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:210
/** * @see ObjectModel::delete() */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:238
/** * {@inheritdoc} */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:363
/** * Check if Address is used (at least one order placed). * * @return int|bool Order count for this Address */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:412
/** * @see ObjectModel::getFieldsRequiredDB(); */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:640
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * removes the address from carts using it, to avoid errors on not existing address */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:261
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * reset static cache (eg unit testing purpose). */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:181
/** * Returns fields required for an address in an array hash. * * @return array Hash values */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:279
/** * Get Zone ID for a given address. * * @param int $id_address Address ID for which we want to get the Zone ID * * @return int|bool Zone ID */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:296
/** * Check if the Country is active for a given address. * * @param int $id_address Address ID for which we want to get the Country status * * @return int|bool Country status */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:339
/** * Request to check if DNI field is required * depending on the current selected country. * * @param int $idCountry * * @return bool */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:398
/** * Get Country and State of this Address. * * @param int $id_address Address ID * * @return array|bool */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:434
/** * Specify if an address is already in base. * * @param int $id_address Address id * @param bool $useCache Use Cache for optimizing queries * * @return bool The address exists */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:459
/** * Check if the address is valid. * * @param int $id_address Address id * * @return bool The address is valid */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:486
/** * Get the first address id of the customer. * * @param int $id_customer Customer id * @param bool $active Active addresses only * * @return bool|int|null */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:505
/** * Initialize an address corresponding to the specified id address or if empty to the * default shop configuration. * * @param int $id_address * @param bool $with_geoloc * * @return Address address * * @throws PrestaShopException */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:537
/** * Returns Address ID for a given Supplier ID. * * @since 1.5.0 * * @param int $id_supplier Supplier ID * * @return int $id_address Address ID */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:600
/** * Check if the alias already exists. * * @param string $alias Alias of an address * @param int $id_address Address id * @param int $id_customer Customer id * * @return false|string|null Amount of aliases found * @todo: Find out if we shouldn't be returning an int instead? (breaking change) */ Inherited from AddressCore Defined in <ROOT>/classes/Address.php:624
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * @param array $content the array to be searched and manager by ArrayFinder */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:60
/** * {@inheritdoc} */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:69
/** * @param string|null $path selector to find the desired value. if empty, will return full array * @param mixed|null $default default value to be returned if selector matches nothing * * @return mixed|null * * Examples of use: * $arrayFinder->get('a'); * $arrayFinder->get('a.e.9'); * $arrayFinder->get('4'); */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:85
/** * @param string $path selector for the value to be set * @param mixed $value input value to be set inside array * * @return self * * Examples of use: * $arrayFinder->set('a', $aNewValue); * $arrayFinder->set('a.e.9', $aNewValue); * $arrayFinder->set('4', $aNewValue); */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:117
/** * {@inheritdoc} * * Example of use: isset($this->arrayFinder['a'] */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:133
/** * {@inheritdoc} * * Examples of use: * $arrayFinder[4]; * $arrayFinder['a']; */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:154
/** * {@inheritdoc} * * Example of use: $this->arrayFinder['a'] = $value; */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:168
/** * {@inheritdoc} * * Example of use: unset($this->arrayFinder['a']); */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:186
/** * Converts paths following format 'dot' structure a.4.9.d.10 * to Symfony format [a][4][9][d][10] * * @param string $dotPath * * @return string */ Defined in <ROOT>/src/Core/Util/ArrayFinder.php:203
/** * @param array $attributes Theme attributes * @param string|null $configurationCacheDirectory Default _PS_CACHE_DIR_ * @param string $themesDirectory Default _PS_ALL_THEMES_DIR_ */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:47
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:73
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:78
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:83
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:88
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:93
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:114
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:119
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:127
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:132
/** * Execute up files. You can update configuration, update sql schema. * No file modification. * * @return bool true for success */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:143
/** * Called when switching the current theme of the selected shop. * You can update configuration, enable/disable modules... * * @return bool true for success */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:154
/** * Not necessarily the opposite of enable. Use this method if * something must be done when switching to another theme (like uninstall * very specific modules for example). * * @return bool true for success */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:166
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:171
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:176
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:181
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:192
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:197
/** * Returns layout name for page from theme configuration * * @param string $page page identifier * * @return string layout name */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:209
/** * Returns layout relative path for provided page identifier * * @param string $page page identifier * * @return string layout relative path */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:227
/** * Returns relative path for provided layout name * * @param string $layoutName layout name * * @return string layout relative path */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:239
/** * Defines if the theme requires core.js scripts or it provides it's own implementation. * * @return bool */ Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:306
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:244
Defined in <ROOT>/src/Core/Addon/Theme/Theme.php:271
/** * On shop instance, get its URL data. * * @param int $id * @param int $id_lang * @param int $id_shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:143
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:210
/** * Add a shop, and clear the cache. * * @param bool $autodate * @param bool $null_values * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:244
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:253
/** * Remove a shop only if it has no dependencies, and remove its associations. * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:267
/** * @return Address the current shop address */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:483
/** * Set shop theme details from Json data. */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:504
/** * Get shop URI. * * @return string */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:519
/** * Get shop URL. * * @param bool $auto_secure_mode if set to true, secure mode will be checked * @param bool $add_base_uri if set to true, shop base uri will be added * * @return string|bool complete base url of current shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:532
/** * Get group of current shop. * * @return ShopGroup */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:558
/** * Get root category of current shop. * * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:572
/** * Get list of shop's urls. * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:582
/** * Check if current shop ID is the same as default shop in configuration. * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:597
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:792
/** * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1030
/** * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1052
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1190
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Updates the current object in the database. * * @param bool $null_values * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:769
/** * Deletes multiple objects from the database at once. * * @param array $ids array of objects IDs * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:955
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Detect dependency with customer or orders. * * @param int $id_shop * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:316
/** * Find the shop from current domain / uri and get an instance of this shop * if INSTALL_VERSION is defined, will return an empty shop object. * * @return Shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:346
/** * Get the associated table if available. * * @return array|false */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:607
/** * check if the table has an id_shop_default. * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:621
/** * Get list of associated tables to shop. * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:635
/** * Add table associated to shop. * * @param string $table_name * @param array $table_details * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:652
/** * Check if given table is associated to shop. * * @param string $table * * @return bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:670
/** * Load list of groups and shops, and cache it. * * @param bool $refresh */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:684
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:745
/** * Get shops list. * * @param bool $active * @param int $id_shop_group * @param bool $get_as_list_id * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:772
/** * Get a collection of shops. * * @param bool $active * @param int $id_shop_group * * @return PrestaShopCollection Collection of Shop */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:820
/** * Return some informations cached for one shop. * * @param int $shop_id * * @return array|bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:841
/** * Return a shop ID from shop name. * * @param string $name * * @return int|bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:860
/** * @param bool $active * @param int $id_shop_group * * @return int Total of shops */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:880
/** * Retrieve group ID of a shop. * * @param int $shop_id Shop ID * @param bool $as_id * * @return int|array|bool Group ID */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:893
/** * If the shop group has the option $type activated, get all shops ID of this group, else get current shop ID. * * @param int $shop_id * @param string $type Shop::SHARE_CUSTOMER | Shop::SHARE_ORDER * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:913
/** * Get a list of ID concerned by the shop context (E.g. if context is shop group, get list of children shop ID). * * @param bool|string $share If false, dont check share datas from group. Else can take a Shop::SHARE_* constant value * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:936
/** * Return the list of shop by id. * * @param int $id * @param string $identifier * @param string $table * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:958
/** * Change the current shop context. * * @param int $type Shop::CONTEXT_ALL | Shop::CONTEXT_GROUP | Shop::CONTEXT_SHOP * @param int $id ID shop if CONTEXT_SHOP or id shop group if CONTEXT_GROUP */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:973
/** * Get current context of shop. * * @return int */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1003
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1008
/** * Reset current context of shop. */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1020
/** * Get current ID of shop if context is CONTEXT_SHOP. * * @return int|null */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1040
/** * Get current ID of shop group if context is CONTEXT_SHOP or CONTEXT_GROUP. * * @return int|null */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1066
Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1075
/** * Add an sql restriction for shops fields. * * @param bool|int|string $share If false, dont check share datas from group. Else can take a Shop::SHARE_* constant value * @param string|null $alias */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1090
/** * Add an SQL JOIN in query between a table and its associated table in multishop. * * @param string $table Table name (E.g. product, module, etc.) * @param string $alias Alias of table * @param bool $inner_join Use or not INNER JOIN * @param string $on * * @return string */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1120
/** * Add a restriction on id_shop for multishop lang table. * * @param string|null $alias * @param string|int|null $id_shop * * @return string */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1153
/** * Get all groups and associated shops as subarrays. * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1170
/** * @return bool Return true if multishop feature is active and at last 2 shops have been created */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1180
/** * @param int $id * * @return array */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1297
/** * @param string $entity * @param int $id_shop * * @return array|bool */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:1330
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * Initialize an array with all the multistore associations in the database. */ Inherited from ShopCore Defined in <ROOT>/classes/shop/Shop.php:158
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
2024-04-30 07:43:36 UTC
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * Registers a resource to fetch a template * * @api Smarty::registerResource() * @link https://www.smarty.net/docs/en/api.register.resource.tpl * * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj * @param string $name name of resource type * @param Smarty_Resource $resource_handler instance of Smarty_Resource * * @return \Smarty|\Smarty_Internal_Template */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_registerresource.php:33
/** * Registers plugin to be used in templates * * @api Smarty::registerPlugin() * @link https://www.smarty.net/docs/en/api.register.plugin.tpl * * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj * @param string $type plugin type * @param string $name name of template tag * @param callback $callback PHP callback to register * @param bool $cacheable if true (default) this * function is cache able * @param mixed $cache_attr caching attributes if any * * @return \Smarty|\Smarty_Internal_Template * @throws SmartyException when the plugin tag is invalid */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_registerplugin.php:38
/** * creates a data object * * @api Smarty::createData() * @link https://www.smarty.net/docs/en/api.create.data.tpl * * @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj * @param \Smarty_Internal_Template|\Smarty_Internal_Data|\Smarty_Data|\Smarty $parent next higher level of Smarty * variables * @param string $name optional data block name * * @return \Smarty_Data data object */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_createdata.php:34
/** * Returns a single or all template variables * * @api Smarty::getTemplateVars() * @link https://www.smarty.net/docs/en/api.get.template.vars.tpl * * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data * @param string $varName variable name or null * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object * @param bool $searchParents include parent templates? * * @return mixed variable value or or array of variables */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php:34
/** * gets the object of a Smarty variable * * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data * @param string $varName the name of the Smarty variable * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object * @param bool $searchParents search also in parent data * @param bool $errorEnable * * @return \Smarty_Variable */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php:87
/** * Call external Method * * @param \Smarty_Internal_Data $data * @param string $name external method names * @param array $args argument array * * @return mixed */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:67
/** * Make first character of name parts upper case * * @param string $name * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:145
/** * get extension object * * @param string $property_name property name * * @return mixed|Smarty_Template_Cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:159
/** * set extension property * * @param string $property_name property name * @param mixed $value value * */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:180
/** * Call error handler for undefined method * * @param string $name unknown method-name * @param array $args argument array * * @return mixed */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:193
drwxr-xr-x 1193 1196 4KB Feb 14 09:27 /unum/drukalabak/public_html/themes/laber_expert_home7/templates
-rw-r--r-- 1193 1196 4.9KB Apr 16 10:31 /unum/drukalabak/public_html/themes/debug.tpl
Inherited from SmartyResourceModuleCore Defined in <ROOT>/classes/Smarty/SmartyResourceModule.php:44
/** * populate Source Object with meta data from Resource * * @param Smarty_Template_Source $source source object * @param Smarty_Internal_Template $_template template object */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:48
/** * Load template's source into current template object * * @param Smarty_Template_Source $source source object * * @return string template source * @throws SmartyException if source cannot be loaded */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:73
/** * Determine basename for compiled filename * * @param Smarty_Template_Source $source source object * * @return string resource's basename */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:89
/** * populate Source Object with timestamp and exists from Resource * * @param Smarty_Template_Source $source source object */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:206
/** * modify resource_name according to resource handlers specifications * * @param Smarty $smarty Smarty instance * @param string $resource_name resource_name to make unique * @param boolean $isConfig flag for config resource * * @return string unique resource name */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:220
/** * @return bool */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:256
/** * Fetch a template. * * @param string $name template name * @param string $source template source * @param int $mtime template modification timestamp (epoch) */ Inherited from SmartyResourceModuleCore Defined in <ROOT>/classes/Smarty/SmartyResourceModule.php:57
/** * Fetch template's modification timestamp from data source * {@internal implementing this method is optional. * Only implement it if modification times can be accessed faster than loading the complete template source.}} * * @param string $name template name * * @return integer|boolean timestamp (epoch) the template was modified, or false if not found */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:37
/** * Load Resource Handler * * @param Smarty $smarty smarty object * @param string $type name of the resource * * @throws SmartyException * @return Smarty_Resource Resource Handler */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:67
/** * extract resource_type and resource_name from template_resource and config_resource * * @note "C:/foo.tpl" was forced to file resource up till Smarty 3.1.3 (including). * * @param string $resource_name template_resource or config_resource to parse * @param string $default_resource the default resource_type defined in $smarty * * @return array with parsed resource name and type */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:123
/** * modify template_resource according to resource handlers specifications * * @param \Smarty_Internal_Template|\Smarty $obj Smarty instance * @param string $template_resource template_resource to extract resource handler and * name of * * @return string unique resource name * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:147
/** * initialize Source Object for given resource * wrapper for backward compatibility to versions < 3.1.22 * Either [$_template] or [$smarty, $template_resource] must be specified * * @param Smarty_Internal_Template $_template template object * @param Smarty $smarty smarty object * @param string $template_resource resource identifier * * @return \Smarty_Template_Source Source Object * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:175
Inherited from SmartyResourceParentCore Defined in <ROOT>/classes/Smarty/SmartyResourceParent.php:39
/** * populate Source Object with meta data from Resource * * @param Smarty_Template_Source $source source object * @param Smarty_Internal_Template $_template template object */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:48
/** * Load template's source into current template object * * @param Smarty_Template_Source $source source object * * @return string template source * @throws SmartyException if source cannot be loaded */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:73
/** * Determine basename for compiled filename * * @param Smarty_Template_Source $source source object * * @return string resource's basename */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:89
/** * populate Source Object with timestamp and exists from Resource * * @param Smarty_Template_Source $source source object */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:206
/** * modify resource_name according to resource handlers specifications * * @param Smarty $smarty Smarty instance * @param string $resource_name resource_name to make unique * @param boolean $isConfig flag for config resource * * @return string unique resource name */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:220
/** * @return bool */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:256
/** * Fetch a template. * * @param string $name template name * @param string $source template source * @param int $mtime template modification timestamp (epoch) */ Inherited from SmartyResourceParentCore Defined in <ROOT>/classes/Smarty/SmartyResourceParent.php:51
/** * Fetch template's modification timestamp from data source * {@internal implementing this method is optional. * Only implement it if modification times can be accessed faster than loading the complete template source.}} * * @param string $name template name * * @return integer|boolean timestamp (epoch) the template was modified, or false if not found */ Inherited from Smarty_Resource_Custom Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource_custom.php:37
/** * Load Resource Handler * * @param Smarty $smarty smarty object * @param string $type name of the resource * * @throws SmartyException * @return Smarty_Resource Resource Handler */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:67
/** * extract resource_type and resource_name from template_resource and config_resource * * @note "C:/foo.tpl" was forced to file resource up till Smarty 3.1.3 (including). * * @param string $resource_name template_resource or config_resource to parse * @param string $default_resource the default resource_type defined in $smarty * * @return array with parsed resource name and type */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:123
/** * modify template_resource according to resource handlers specifications * * @param \Smarty_Internal_Template|\Smarty $obj Smarty instance * @param string $template_resource template_resource to extract resource handler and * name of * * @return string unique resource name * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:147
/** * initialize Source Object for given resource * wrapper for backward compatibility to versions < 3.1.22 * Either [$_template] or [$smarty, $template_resource] must be specified * * @param Smarty_Internal_Template $_template template object * @param Smarty $smarty smarty object * @param string $template_resource resource identifier * * @return \Smarty_Template_Source Source Object * @throws \SmartyException */ Inherited from Smarty_Resource Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php:175
drwxr-xr-x 1193 1196 4KB Feb 14 09:27 /unum/drukalabak/public_html/themes/laber_expert_home7/templates
drwxr-xr-x 1193 1196 4KB Apr 30 10:20 /unum/drukalabak/public_html/var/cache/prod/smarty/compile
drwxrwxr-x 1193 1196 4KB Sep 14 2023 /unum/drukalabak/public_html/vendor/smarty/smarty/libs/plugins
drwxr-xr-x 1193 1196 4KB Apr 30 10:20 /unum/drukalabak/public_html/var/cache/prod/smarty/cache
/** * Initialize new Smarty object */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:661
/** * Check if a template resource exists * * @param string $resource_name template name * * @return bool status * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:688
/** * Loads security class and enables security * * @param string|Smarty_Security $security_class if a string is used, it must be class-name * * @return Smarty current Smarty instance for chaining * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:703
/** * Disable security * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:714
/** * Add template directory(s) * * @param string|array $template_dir directory(s) of template sources * @param string $key of the array element to assign the template dir to * @param bool $isConfig true for config_dir * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:729
/** * Get template directories * * @param mixed $index index of directory to get, null to get all * @param bool $isConfig true for config_dir * * @return array|string list of template directories, or directory of $index */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:772
/** * Set template directory * * @param string|array $template_dir directory(s) of template sources * @param bool $isConfig true for config_dir * * @return \Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:796
/** * Add config directory(s) * * @param string|array $config_dir directory(s) of config sources * @param mixed $key key of the array element to assign the config dir to * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:817
/** * Get config directory * * @param mixed $index index of directory to get, null to get all * * @return array configuration directory */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:829
/** * Set config directory * * @param $config_dir * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:841
/** * Adds directory of plugin files * * @param null|array|string $plugins_dir * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:853
/** * Get plugin directories * * @return array list of plugin directories */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:868
/** * Set plugins directory * * @param string|array $plugins_dir directory(s) of plugins * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:894
/** * Get compiled directory * * @return string path to compiled templates */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:906
/** * * @param string $compile_dir directory to store compiled templates in * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:921
/** * Get cache directory * * @return string path of cache directory */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:933
/** * Set cache directory * * @param string $cache_dir directory to store cached templates in * * @return Smarty current Smarty instance for chaining */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:949
/** * creates a template object * * @param string $template the resource handle of the template file * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * @param boolean $do_clone flag is Smarty object shall be cloned * * @return \Smarty_Internal_Template template object * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:968
/** * Takes unknown classes and loads plugin files for them * class name format: Smarty_PluginType_PluginName * plugin filename format: plugintype.pluginname.php * * @param string $plugin_name class plugin name to load * @param bool $check check if already loaded * * @return string |boolean filepath of loaded file or false * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1031
/** * Get unique template id * * @param string $template_name * @param null|mixed $cache_id * @param null|mixed $compile_id * @param null $caching * @param \Smarty_Internal_Template $template * * @return string * @throws \SmartyException */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1048
/** * Normalize path * - remove /./ and /../ * - make it absolute if required * * @param string $path file path * @param bool $realpath if true - convert to absolute * false - convert to relative * null - keep as it is but * remove /./ /../ * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1086
/** * Empty template objects cache */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1120
/** * @param boolean $use_sub_dirs */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1129
/** * @param int $error_reporting */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1137
/** * @param boolean $escape_html */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1145
/** * Return auto_literal flag * * @return boolean */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1155
/** * Set auto_literal flag * * @param boolean $auto_literal */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1165
/** * @param boolean $force_compile */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1173
/** * @param boolean $merge_compiled_includes */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1181
/** * Get left delimiter * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1191
/** * Set left delimiter * * @param string $left_delimiter */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1201
/** * Get right delimiter * * @return string $right_delimiter */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1211
/** * Set right delimiter * * @param string */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1221
/** * @param boolean $debugging */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1229
/** * @param boolean $config_overwrite */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1237
/** * @param boolean $config_booleanize */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1245
/** * @param boolean $config_read_hidden */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1253
/** * @param boolean $compile_locking */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1261
/** * @param string $default_resource_type */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1269
/** * @param string $caching_type */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1277
/** * Test install * * @param null $errors */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1287
/** * Get Smarty object * * @return Smarty */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1297
/** * <<magic>> Generic getter. * Calls the appropriate getter function. * Issues an E_USER_NOTICE if no valid getter is found. * * @param string $name property name * * @return mixed */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1311
/** * <<magic>> Generic setter. * Calls the appropriate setter function. * Issues an E_USER_NOTICE if no valid setter is found. * * @param string $name property name * @param mixed $value parameter passed to setter * */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1335
/** * Mutes errors for "undefined index", "undefined array key" and "trying to read property of null". * * @void */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1393
/** * Indicates if Smarty will mute errors for "undefined index", "undefined array key" and "trying to read property of null". * @bool */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1401
/** * fetches a rendered Smarty template * * @param string $template the resource handle of the template file or template object * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * * @throws Exception * @throws SmartyException * @return string rendered template output */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:114
/** * displays a Smarty template * * @param string $template the resource handle of the template file or template object * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * * @throws \Exception * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:131
/** * test if cache is valid * * @api Smarty::isCached() * @link https://www.smarty.net/docs/en/api.is.cached.tpl * * @param null|string|\Smarty_Internal_Template $template the resource handle of the template file or template * object * @param mixed $cache_id cache id to be used with this template * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * * @return bool cache status * @throws \Exception * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:153
/** * Registers plugin to be used in templates * * @api Smarty::registerPlugin() * @link https://www.smarty.net/docs/en/api.register.plugin.tpl * * @param string $type plugin type * @param string $name name of template tag * @param callable $callback PHP callback to register * @param bool $cacheable if true (default) this function is cache able * @param mixed $cache_attr caching attributes if any * * @return \Smarty|\Smarty_Internal_Template * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:290
/** * load a filter of specified type and name * * @api Smarty::loadFilter() * @link https://www.smarty.net/docs/en/api.load.filter.tpl * * @param string $type filter type * @param string $name filter name * * @return bool * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:307
/** * Registers a filter function * * @api Smarty::registerFilter() * @link https://www.smarty.net/docs/en/api.register.filter.tpl * * @param string $type filter type * @param callable $callback * @param string|null $name optional filter name * * @return \Smarty|\Smarty_Internal_Template * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:325
/** * Registers object to be used in templates * * @api Smarty::registerObject() * @link https://www.smarty.net/docs/en/api.register.object.tpl * * @param string $object_name * @param object $object the referenced PHP object to register * @param array $allowed_methods_properties list of allowed methods (empty = all) * @param bool $format smarty argument format, else traditional * @param array $block_methods list of block-methods * * @return \Smarty|\Smarty_Internal_Template * @throws \SmartyException */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:345
/** * @param int $compile_check */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:365
/** * @param int $caching */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:373
/** * @param int $cache_lifetime */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:381
/** * @param string $compile_id */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:389
/** * @param string $cache_id */ Inherited from Smarty_Internal_TemplateBase Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:397
/** * assigns a Smarty variable * * @param array|string $tpl_var the template variable name(s) * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached * * @return Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for * chaining */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:97
/** * appends values to template variables * * @api Smarty::append() * @link https://www.smarty.net/docs/en/api.append.tpl * * @param array|string $tpl_var the template variable name(s) * @param mixed $value the value to append * @param bool $merge flag if array elements shall be merged * @param bool $nocache if true any output of this variable will * be not cached * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:134
/** * assigns a global Smarty variable * * @param string $varName the global variable name * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:148
/** * appends values to template variables by reference * * @param string $tpl_var the template variable name * @param mixed &$value the referenced value to append * @param boolean $merge flag if array elements shall be merged * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:162
/** * assigns values to template variables by reference * * @param string $tpl_var the template variable name * @param $value * @param boolean $nocache if true any output of this variable will be not cached * * @return \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:176
/** * Returns a single or all template variables * * @api Smarty::getTemplateVars() * @link https://www.smarty.net/docs/en/api.get.template.vars.tpl * * @param string $varName variable name or null * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object * @param bool $searchParents include parent templates? * * @return mixed variable value or or array of variables */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:193
/** * Follow the parent chain an merge template and config variables * * @param \Smarty_Internal_Data|null $data */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:203
/** * Return true if this instance is a Data obj * * @return bool */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:225
/** * Return true if this instance is a template obj * * @return bool */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:235
/** * Return true if this instance is a Smarty obj * * @return bool */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:245
/** * Handle unknown class methods * * @param string $name unknown method-name * @param array $args argument array * * @return mixed */ Inherited from Smarty_Internal_Data Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php:268
/** * Normalize and set directory string * * @param string $dirName cache_dir or compile_dir * @param string $dir filepath of folder */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1355
/** * Normalize template_dir or config_dir * * @param bool $isConfig true for config_dir */ Defined in <ROOT>/vendor/smarty/smarty/libs/Smarty.class.php:1365
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
/** * create Smarty variable object * * @param mixed $value the value to assign * @param boolean $nocache if true any output of this variable will be not cached */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:33
/** * <<magic>> String conversion * * @return string */ Defined in <ROOT>/vendor/smarty/smarty/libs/sysplugins/smarty_variable.php:44
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
/** * Construct an instance of this class. * * @param array $headers Specify the headers as injection. Should be PHP _SERVER flavored. * If left empty, will use the global _SERVER['HTTP_*'] vars instead. * @param string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT * from the $headers array instead. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:888
/** * Set the HTTP Headers. Must be PHP-flavored. This method will reset existing headers. * * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract * the headers. The default null is left for backwards compatibility. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:915
/** * Retrieves the HTTP headers. * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:942
/** * Retrieves a particular header. If it doesn't exist, no exception/error is caused. * Simply null is returned. * * @param string $header The name of the header to retrieve. Can be HTTP compliant such as * "User-Agent" or "X-Device-User-Agent" or can be php-esque with the * all-caps, HTTP_ prefixed, underscore seperated awesomeness. * * @return string|null The value of the header. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:957
Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:978
/** * Get all possible HTTP headers that * can contain the User-Agent string. * * @return array List of HTTP headers. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:989
/** * Set CloudFront headers * http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-device * * @param array $cfHeaders List of HTTP headers * * @return boolean If there were CloudFront headers to be set */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1003
/** * Retrieves the cloudfront headers. * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1030
/** * Set the User-Agent to be used. * * @param string $userAgent The user agent string to set. * * @return string|null */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1052
/** * Retrieve the User-Agent. * * @return string|null The user agent if it's set. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1083
/** * Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or * self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set. * * @deprecated since version 2.6.9 * * @param string $type The type. Must be a self::DETECTION_TYPE_* constant. The default * parameter is null which will default to self::DETECTION_TYPE_MOBILE. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1097
Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1110
Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1115
/** * Method gets the mobile detection rules + utilities. * The reason this is separate is because utilities rules * don't necessary imply mobile. This method is used inside * the new $detect->is('stuff') method. * * @deprecated since version 2.6.9 * * @return array All the rules + extended. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1204
/** * Retrieve the current set of rules. * * @deprecated since version 2.6.9 * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1229
/** * Check the HTTP headers for signs of mobile. * This is the fastest mobile check possible; it's used * inside isMobile() method. * * @return bool */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1255
/** * Magic overloading method. * * @method boolean is[...]() * @param string $name * @param array $arguments * @return mixed * @throws BadMethodCallException when the method doesn't exist and doesn't start with 'is' */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1287
/** * Check if the device is mobile. * Returns true if any type of mobile device detected, including special ones * @param null $userAgent deprecated * @param null $httpHeaders deprecated * @return bool */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1360
/** * Check if the device is a tablet. * Return true if any type of tablet device is detected. * * @param string $userAgent deprecated * @param array $httpHeaders deprecated * @return bool */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1397
/** * This method checks for a certain property in the * userAgent. * @todo: The httpHeaders part is not yet used. * * @param string $key * @param string $userAgent deprecated * @param string $httpHeaders deprecated * @return bool|int|null */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1428
/** * Some detection rules are relative (not standard), * because of the diversity of devices, vendors and * their conventions in representing the User-Agent or * the HTTP headers. * * This method will be used to check custom regexes against * the User-Agent string. * * @param $regex * @param string $userAgent * @return bool * * @todo: search in the HTTP headers too. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1459
/** * Prepare the version number. * * @todo Remove the error supression from str_replace() call. * * @param string $ver The string version, like "2.6.21.2152"; * * @return float */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1494
/** * Check the version of the given property in the User-Agent. * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31) * * @param string $propertyName The name of the property. See self::getProperties() array * keys for all possible properties. * @param string $type Either self::VERSION_TYPE_STRING to get a string value or * self::VERSION_TYPE_FLOAT indicating a float value. This parameter * is optional and defaults to self::VERSION_TYPE_STRING. Passing an * invalid parameter will default to the this type as well. * * @return string|float The version of the property we are trying to extract. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1519
/** * Retrieve the mobile grading, using self::MOBILE_GRADE_* constants. * @deprecated This is no longer being maintained, it was an experiment at the time. * @return string One of the self::MOBILE_GRADE_* constants. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1568
/** * Find a detection rule that matches the current User-agent. * * @param null $userAgent deprecated * @return boolean */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1307
/** * Search for a certain key in the rules array. * If the key is found then try to match the corresponding * regex against the User-Agent. * * @param string $key * * @return boolean */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1332
/** * @param string $userAgent * @return string */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1039
/** * Get the current script version. * This is useful for the demo.php file, * so people can check on what version they are testing * for mobile devices. * * @return string The version number in semantic version format. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:904
/** * Retrieve the list of known phone devices. * * @return array List of phone devices. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1125
/** * Retrieve the list of known tablet devices. * * @return array List of tablet devices. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1135
/** * Alias for getBrowsers() method. * * @return array List of user agents. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1145
/** * Retrieve the list of known browsers. Specifically, the user agents. * * @return array List of browsers / user agents. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1155
/** * Retrieve the list of known utilities. * * @return array List of utilities. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1165
/** * Method gets the mobile detection rules. This method is used for the magic methods $detect->is*(). * * @deprecated since version 2.6.9 * * @return array All the rules (but not extended). */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1177
/** * Retrieve the list of mobile operating systems. * * @return array The list of mobile operating systems. */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1243
/** * Get the properties array. * * @return array */ Defined in <ROOT>/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php:1480
BlackBerry|\bBB10\b|rim[0-9]+|\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\b-[0-9]+
HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel
Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6
Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b
Motorola|DROIDX|DROID BIONIC|\bDroid\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\bMoto E\b|XT1068|XT1092|XT1052
\bSamsung\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F|SM-G988N
\bLG\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710
SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332
^(?!.*\bx11\b).*xiaomi.*$|POCOPHONE F1|\bMI\b 8|\bMi\b 10|Redmi Note 9S|Redmi 5A|Redmi Note 5A Prime|Redmi Note 7 Pro|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G|M2012K11C
Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b
Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature
PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790
IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250
KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM
\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b
Tapatalk|PDA;|SAGEM|\bmmp\b|pocket|\bpsp\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\bwap\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser
SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860|SM-T536
Kindle|Silk.*Accelerated|Android.*\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)
HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10
^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\bK00F\b|\bK00C\b|\bK00E\b|\bK00L\b|TX201LA|ME176C|ME102A|\bM80TA\b|ME372CL|ME560CG|ME372CG|ME302KL| K01A | K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\bME70C\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\bP027\b|\bP024\b|\bP00C\b
HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410
xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617
Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2
Android.*; \b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\b|W3-810|\bA3-A10\b|\bA3-A11\b|\bA3-A20\b|\bA3-A30|A3-A40
Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO
PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002
Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L|TB-J606F|TB-X606F|TB-X306X
Android.*\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\b
97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2
\b(101G9|80G9|A101IT)\b|Qilive 97R|Archos5|\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\b
Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712
\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b
MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010
M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10
MSI \b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\b
Android.*(bq)?.*\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\b|Maxwell.*Lite|Maxwell.*Plus
MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19|KOB2-L09
NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE
ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab
\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b
Android.* \b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\b
Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1
Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide
\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\b
BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026
TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503
TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10
OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027
HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync
CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989
GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042
FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003
\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\bQ8\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\b
Android.* \b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\b
Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)
KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151
ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a
LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10
NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S
T98 4G|\bP80\b|\bX90HD\b|X98 Air|X98 Air 3G|\bX89\b|P80 3G|\bX80h\b|P98 Air|\bX89HD\b|P98 3G|\bP90HD\b|P89 3G|X98 3G|\bP70h\b|P79HD 3G|G18d 3G|\bP79HD\b|\bP89s\b|\bA88\b|\bP10HD\b|\bP19HD\b|G18 3G|\bP78HD\b|\bA78\b|\bP75\b|G17s 3G|G17h 3G|\bP85t\b|\bP90\b|\bP11\b|\bP98t\b|\bP98HD\b|\bG18d\b|\bP85s\b|\bP11HD\b|\bP88s\b|\bA80HD\b|\bA80se\b|\bA10h\b|\bP89\b|\bP78s\b|\bG18\b|\bP85\b|\bA70h\b|\bA70\b|\bG17\b|\bP18\b|\bA80s\b|\bA11s\b|\bP88HD\b|\bA80h\b|\bP76s\b|\bP76h\b|\bP98\b|\bA10HD\b|\bP78\b|\bP88\b|\bA11\b|\bA10t\b|\bP76a\b|\bP76t\b|\bP76e\b|\bP85HD\b|\bP85a\b|\bP86\b|\bP75HD\b|\bP76v\b|\bA12\b|\bP75a\b|\bA15\b|\bP76Ti\b|\bP81HD\b|\bA10\b|\bT760VE\b|\bT720HD\b|\bP76\b|\bP73\b|\bP71\b|\bP72\b|\bT720SE\b|\bC520Ti\b|\bT760\b|\bT720VE\b|T720-3GE|T720-WiFi
\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\b[\s]+|V10 \b4G\b
\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b
ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b
MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\bMPG7\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010
CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b
miTab \b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\b
M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA
NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI
TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100
Android.*\b97D\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\bA7EB\b|CatNova8|A1_07|CT704|CT1002|\bM721\b|rk30sdk|\bEVOTAB\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\bM6pro\b|CT1020W|arc 10HD|\bTP750\b|\bQTAQZ3\b|WVT101|TM1088|KT107
Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;
Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;
NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger
Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:36
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:44
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:52
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use the trans() method instead with a %count% parameter */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:28
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:44
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:73
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/IntlFormatter.php:29
/** * @param TranslatorInterface|null $translator An identity translator to use as selector for pluralization */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:33
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:48
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:60
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use format() with a %count% parameter instead */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:70
drwxr-xr-x 1193 1196 4KB Apr 30 10:19 /unum/drukalabak/public_html/var/cache/prod/translations
/** * @param bool $debug The debug flag to pass to ConfigCache */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:30
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:38
/** * @param string $locale Locale code for the catalogue to check if loaded * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:40
/** * @param string $locale Locale code for the catalogue to be cleared */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:48
/** * Translates the given message. * * @param string $id The message id (may also be an object that can be cast to string) * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:50
/** * Performs a reverse search in the catalogue and returns the translation key if found. * AVOID USING THIS, IT PROVIDES APPROXIMATE RESULTS. * * @param string $translated Translated string * @param string $domain Translation domain * @param string|null $locale Unused * * @return string The translation * * @deprecated This method should not be used and will be removed */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:91
/** * Translates the given choice message by choosing a translation according to a number. * * @param string $id The message id (may also be an object that can be cast to string) * @param int $number The number to use to find the index of the message * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:120
/** * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:91
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:110
/** * Adds a Loader. * * @param string $format The name of the loader (@see addResource()) */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:120
/** * Adds a Resource. * * @param string $format The name of the loader (@see addLoader()) * @param mixed $resource The resource name * @param string $locale The locale * @param string $domain The domain * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:135
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:160
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:173
/** * Sets the fallback locales. * * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:183
/** * Gets the fallback locales. * * @internal since Symfony 4.2 * * @return array The fallback locales */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:205
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:283
/** * Gets the loaders. * * @return array LoaderInterface[] */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:303
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:311
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:323
/** * @internal */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:423
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:459
/** * Asserts that the locale is valid, throws an Exception if not. * * @param string $locale Locale to tests * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:509
/** * @param string $string * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:138
/** * Tries to translate the provided message using the legacy system * * @param string $message * @param array $parameters * @param string $domain * @param string|null $locale * * @return mixed|string * * @throws \Exception */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:156
/** * Indicates if we should try and translate the provided wording using the legacy system. * * @param string $message Message to translate * @param ?string $domain Translation domain * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:178
/** * Returns the domain without separating dots * * @param string|null $domain Domain name * * @return string|null */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:196
/** * Sets Mobile_Detect tool object. * * @return Mobile_Detect */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:169
/** * Checks if visitor's device is a mobile device. * * @return bool */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:183
/** * Checks if visitor's device is a tablet device. * * @return bool */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:198
/** * Sets mobile_device context variable. * * @return bool */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:213
/** * Returns mobile device type. * * @return int */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:253
/** * @return Locale|null */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:273
/** * Clone current context object. * * @return static */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:346
/** * Updates customer in the context, updates the cookie and writes the updated cookie. * * @param Customer $customer Created customer */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:356
/** * Returns a translator depending on service container availability and if the method * is called by the installer or not. * * @param bool $isInstaller Set to true if the method is called by the installer * * @return Translator */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:443
/** * Returns a new instance of Translator for the provided locale code. * * @param string $locale IETF language tag (eg. "en-US") * * @return Translator */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:471
/** * Returns the computing precision according to the current currency. * If previously requested, it will be stored in priceComputingPrecision property. * * @return int */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:553
/** * Checks if mobile context is possible. * * @return bool * * @throws PrestaShopException */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:285
/** * Returns directories that contain translation resources * * @return array */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:531
/** * Get a singleton instance of Context object. * * @return Context|null */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:316
/** * @param Context $testInstance Unit testing purpose only */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:328
/** * Unit testing purpose only. */ Inherited from ContextCore Defined in <ROOT>/classes/Context.php:336
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:36
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:44
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:52
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use the trans() method instead with a %count% parameter */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:28
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:44
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:73
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/IntlFormatter.php:29
/** * @param TranslatorInterface|null $translator An identity translator to use as selector for pluralization */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:33
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:48
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:60
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use format() with a %count% parameter instead */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:70
drwxr-xr-x 1193 1196 4KB Apr 30 10:19 /unum/drukalabak/public_html/var/cache/prod/translations
/** * @param bool $debug The debug flag to pass to ConfigCache */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:30
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:38
/** * @param string $locale Locale code for the catalogue to check if loaded * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:40
/** * @param string $locale Locale code for the catalogue to be cleared */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:48
/** * Translates the given message. * * @param string $id The message id (may also be an object that can be cast to string) * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:50
/** * Performs a reverse search in the catalogue and returns the translation key if found. * AVOID USING THIS, IT PROVIDES APPROXIMATE RESULTS. * * @param string $translated Translated string * @param string $domain Translation domain * @param string|null $locale Unused * * @return string The translation * * @deprecated This method should not be used and will be removed */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:91
/** * Translates the given choice message by choosing a translation according to a number. * * @param string $id The message id (may also be an object that can be cast to string) * @param int $number The number to use to find the index of the message * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:120
/** * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:91
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:110
/** * Adds a Loader. * * @param string $format The name of the loader (@see addResource()) */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:120
/** * Adds a Resource. * * @param string $format The name of the loader (@see addLoader()) * @param mixed $resource The resource name * @param string $locale The locale * @param string $domain The domain * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:135
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:160
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:173
/** * Sets the fallback locales. * * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:183
/** * Gets the fallback locales. * * @internal since Symfony 4.2 * * @return array The fallback locales */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:205
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:283
/** * Gets the loaders. * * @return array LoaderInterface[] */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:303
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:311
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:323
/** * @internal */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:423
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:459
/** * Asserts that the locale is valid, throws an Exception if not. * * @param string $locale Locale to tests * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:509
/** * @param string $string * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:138
/** * Tries to translate the provided message using the legacy system * * @param string $message * @param array $parameters * @param string $domain * @param string|null $locale * * @return mixed|string * * @throws \Exception */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:156
/** * Indicates if we should try and translate the provided wording using the legacy system. * * @param string $message Message to translate * @param ?string $domain Translation domain * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:178
/** * Returns the domain without separating dots * * @param string|null $domain Domain name * * @return string|null */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:196
/** * @param ObjectModel $object * * @return array<string, mixed> * * @throws Exception */ Defined in <ROOT>/src/Adapter/Presenter/Object/ObjectPresenter.php:43
/** * Execute filterHtml hook for html Content for objectPresenter. * * @param string $type * @param ObjectModel $presentedObject * @param array $htmlFields */ Defined in <ROOT>/src/Adapter/Presenter/Object/ObjectPresenter.php:70
/** * @param float $price * @param int|null $currency * * @return float */ Defined in <ROOT>/src/Adapter/Product/PriceFormatter.php:43
/** * @param float $price * @param int|Currency|array|null $currency * * @return string */ Defined in <ROOT>/src/Adapter/Product/PriceFormatter.php:54
/** * @param float $price * * @return string */ Defined in <ROOT>/src/Adapter/Product/PriceFormatter.php:64
/** * Constructor (initialization only). * * @param string|null $protocolLink * @param string|null $protocolContent */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:57
/** * Create a link to delete a product. * * @param Product|array|int $product ID of the product OR a Product object * @param int $idPicture ID of the picture to delete * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:89
/** * Return a product object from various product format. * * @param Product|array|int $product * @param int $idLang * @param int $idShop * * @return Product * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:107
/** * Create a link to a product. * * @param ProductCore|array|int $product Product object (can be an ID product, but deprecated) * @param string|null $alias * @param string|null $category * @param string|null $ean13 * @param int|null $idLang * @param int|null $idShop (since 1.5.0) ID shop need to be used when we generate a product link for a product in a cart * @param int|null $idProductAttribute ID product attribute * @param bool $force_routes * @param bool $relativeProtocol * @param bool $withIdInAnchor * @param array $extraParams * @param bool $addAnchor * * @return string * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:142
/** * Get the URL to remove the Product from the Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:263
/** * Get URL to add one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:296
/** * Get URL to remove one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:313
/** * Get URL to update quantity of Product in Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * @param string|null $op * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:331
/** * Get add to Cart URL. * * @param int $idProduct * @param int $idProductAttribute * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:369
/** * Return a category object from various category format. * * @param Category|array|int $category * @param int $idLang * * @return Category * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:396
/** * Create a link to a category. * * @param CategoryCore|array|int|string $category Category object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param string|null $selectedFilters Url parameter to autocheck filters of the module blocklayered * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:423
/** * Create a link to a CMS category. * * @param CMSCategory|int $cmsCategory CMSCategory object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:484
/** * Create a link to a CMS page. * * @param CMS|int $cms CMS object * @param string|null $alias * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:536
/** * Create a link to a supplier. * * @param Supplier|int $supplier Supplier object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:587
/** * Create a link to a manufacturer. * * @param Manufacturer|int $manufacturer Manufacturer object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:639
/** * Create a link to a module. * * @since 1.5.0 * * @param string $module Module name * @param string $controller * @param array $params * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:685
/** * Use controller name to create a link. * * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param string $controller * @param bool $withToken include or not the token in the url * @param array $sfRouteParams (Since 1.7.0.0) Optional parameters to use into New architecture specific cases. If these specific cases should redirect to legacy URLs, then this parameter is used to complete GET query string * @param array $params (Since 1.7.0.3) Optional * * @return string url */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:727
/** * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param array $tab * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:868
/** * Used when you explicitly want to create a LEGACY admin link, this should be deprecated * in 1.8.0. * * @param string $controller * @param bool $withToken * @param array $params * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:893
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:911
/** * Search for a shop whose domain matches the current url. * * @return int|null */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:946
/** * Returns a link to a product image for display * Note: the new image filesystem stores product images in subdirectories of img/p/. * * @param string $name rewrite link of the image * @param string $ids id part of the image filename - can be "id_product-id_image" (legacy support, recommended) or "id_image" (new) * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:990
/** * Returns a link to a supplier image for display. * * @param int $idSupplier * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1029
/** * Returns a link to a manufacturer image for display. * * @param int $idManufacturer * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1055
/** * Returns a link to a store image for display. * * @param string $name * @param int $idStore * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1082
/** * @param string $filepath * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1104
/** * Create a simple link. * * @param string $controller * @param bool|null $ssl * @param int|null $idLang * @param string|array|null $request * @param bool $requestUrlEncode Use URL encode * @param int|null $idShop * @param bool $relativeProtocol * * @return string Page link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1122
/** * @param string $name * @param int $idCategory * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1171
/** * Retrieves a link for the current page in different language. * * @param int $idLang Language ID * @param Context|null $context the context if needed * * @return string link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1190
/** * @param string $url * @param int $p * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1246
/** * Get pagination link. * * @param string $type Controller name * @param int $idObject * @param bool $nb Show nb element per page attribute * @param bool $sort Show sort attribute * @param bool $pagination Show page number attribute * @param bool $array If false return an url, if true return an array * * @return string|array */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1265
/** * @param string $url * @param string $orderBy * @param string $orderWay * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1341
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1382
/** * Check if url match with current url. * * @param string $url * * @return bool */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1442
/** * @param int|null $idLang * @param Context|null $context * @param int|null $idShop * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1353
/** * Clean url http://website.com/admin_dir/foo => foo * Remove index.php? * Remove last char if it's ? or & * Remove token if exists. * * @param string $url * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1413
/** * @param array $params * * @return string * * @throws \InvalidArgumentException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1456
/** * @param array $messages An array of messages classified by domain */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:45
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:53
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:98
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:106
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:122
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:130
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:150
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:160
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:176
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:203
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:235
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:243
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:251
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:259
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:281
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:289
/** * Adds current values with the new values. * * @param array $values Values to add */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/MessageCatalogue.php:305
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:32
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:36
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:44
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:52
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use the trans() method instead with a %count% parameter */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:28
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/contracts/Translation/TranslatorTrait.php:44
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/IdentityTranslator.php:73
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/IntlFormatter.php:29
/** * @param TranslatorInterface|null $translator An identity translator to use as selector for pluralization */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:33
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:48
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:60
/** * {@inheritdoc} * * @deprecated since Symfony 4.2, use format() with a %count% parameter instead */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Formatter/MessageFormatter.php:70
drwxr-xr-x 1193 1196 4KB Apr 30 10:19 /unum/drukalabak/public_html/var/cache/prod/translations
/** * @param bool $debug The debug flag to pass to ConfigCache */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:30
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php:38
/** * @param string $locale Locale code for the catalogue to check if loaded * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:40
/** * @param string $locale Locale code for the catalogue to be cleared */ Defined in <ROOT>/src/PrestaShopBundle/Translation/TranslatorLanguageTrait.php:48
/** * Translates the given message. * * @param string $id The message id (may also be an object that can be cast to string) * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:50
/** * Performs a reverse search in the catalogue and returns the translation key if found. * AVOID USING THIS, IT PROVIDES APPROXIMATE RESULTS. * * @param string $translated Translated string * @param string $domain Translation domain * @param string|null $locale Unused * * @return string The translation * * @deprecated This method should not be used and will be removed */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:91
/** * Translates the given choice message by choosing a translation according to a number. * * @param string $id The message id (may also be an object that can be cast to string) * @param int $number The number to use to find the index of the message * @param array $parameters An array of parameters for the message * @param string|null $domain The domain for the message or null to use the default * @param string|null $locale The locale or null to use the default * * @return string The translated string * * @throws InvalidArgumentException If the locale contains invalid characters */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:120
/** * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:91
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:110
/** * Adds a Loader. * * @param string $format The name of the loader (@see addResource()) */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:120
/** * Adds a Resource. * * @param string $format The name of the loader (@see addLoader()) * @param mixed $resource The resource name * @param string $locale The locale * @param string $domain The domain * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:135
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:160
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:173
/** * Sets the fallback locales. * * @throws InvalidArgumentException If a locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:183
/** * Gets the fallback locales. * * @internal since Symfony 4.2 * * @return array The fallback locales */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:205
/** * {@inheritdoc} */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:283
/** * Gets the loaders. * * @return array LoaderInterface[] */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:303
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:311
/** * @param string $locale */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:323
/** * @internal */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:423
Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:459
/** * Asserts that the locale is valid, throws an Exception if not. * * @param string $locale Locale to tests * * @throws InvalidArgumentException If the locale contains invalid characters */ Inherited from Symfony\Component\Translation\Translator Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:509
/** * @param string $string * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:138
/** * Tries to translate the provided message using the legacy system * * @param string $message * @param array $parameters * @param string $domain * @param string|null $locale * * @return mixed|string * * @throws \Exception */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:156
/** * Indicates if we should try and translate the provided wording using the legacy system. * * @param string $message Message to translate * @param ?string $domain Translation domain * * @return bool */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:178
/** * Returns the domain without separating dots * * @param string|null $domain Domain name * * @return string|null */ Defined in <ROOT>/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php:196
/** * Constructor (initialization only). * * @param string|null $protocolLink * @param string|null $protocolContent */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:57
/** * Create a link to delete a product. * * @param Product|array|int $product ID of the product OR a Product object * @param int $idPicture ID of the picture to delete * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:89
/** * Return a product object from various product format. * * @param Product|array|int $product * @param int $idLang * @param int $idShop * * @return Product * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:107
/** * Create a link to a product. * * @param ProductCore|array|int $product Product object (can be an ID product, but deprecated) * @param string|null $alias * @param string|null $category * @param string|null $ean13 * @param int|null $idLang * @param int|null $idShop (since 1.5.0) ID shop need to be used when we generate a product link for a product in a cart * @param int|null $idProductAttribute ID product attribute * @param bool $force_routes * @param bool $relativeProtocol * @param bool $withIdInAnchor * @param array $extraParams * @param bool $addAnchor * * @return string * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:142
/** * Get the URL to remove the Product from the Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:263
/** * Get URL to add one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:296
/** * Get URL to remove one Product to Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:313
/** * Get URL to update quantity of Product in Cart. * * @param int $idProduct * @param int $idProductAttribute * @param int|null $idCustomization * @param string|null $op * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:331
/** * Get add to Cart URL. * * @param int $idProduct * @param int $idProductAttribute * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:369
/** * Return a category object from various category format. * * @param Category|array|int $category * @param int $idLang * * @return Category * * @throws PrestaShopException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:396
/** * Create a link to a category. * * @param CategoryCore|array|int|string $category Category object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param string|null $selectedFilters Url parameter to autocheck filters of the module blocklayered * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:423
/** * Create a link to a CMS category. * * @param CMSCategory|int $cmsCategory CMSCategory object (can be an ID category, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:484
/** * Create a link to a CMS page. * * @param CMS|int $cms CMS object * @param string|null $alias * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:536
/** * Create a link to a supplier. * * @param Supplier|int $supplier Supplier object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:587
/** * Create a link to a manufacturer. * * @param Manufacturer|int $manufacturer Manufacturer object (can be an ID supplier, but deprecated) * @param string|null $alias * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:639
/** * Create a link to a module. * * @since 1.5.0 * * @param string $module Module name * @param string $controller * @param array $params * @param bool|null $ssl * @param int|null $idLang * @param int|null $idShop * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:685
/** * Use controller name to create a link. * * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param string $controller * @param bool $withToken include or not the token in the url * @param array $sfRouteParams (Since 1.7.0.0) Optional parameters to use into New architecture specific cases. If these specific cases should redirect to legacy URLs, then this parameter is used to complete GET query string * @param array $params (Since 1.7.0.3) Optional * * @return string url */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:727
/** * Warning on fallback to Symfony Router, this exceptions can be thrown * - RouteNotFoundException If the named route doesn't exist * - MissingMandatoryParametersException When some parameters are missing that are mandatory for the route * - InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement * * @param array $tab * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:868
/** * Used when you explicitly want to create a LEGACY admin link, this should be deprecated * in 1.8.0. * * @param string $controller * @param bool $withToken * @param array $params * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:893
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:911
/** * Search for a shop whose domain matches the current url. * * @return int|null */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:946
/** * Returns a link to a product image for display * Note: the new image filesystem stores product images in subdirectories of img/p/. * * @param string $name rewrite link of the image * @param string $ids id part of the image filename - can be "id_product-id_image" (legacy support, recommended) or "id_image" (new) * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:990
/** * Returns a link to a supplier image for display. * * @param int $idSupplier * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1029
/** * Returns a link to a manufacturer image for display. * * @param int $idManufacturer * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1055
/** * Returns a link to a store image for display. * * @param string $name * @param int $idStore * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1082
/** * @param string $filepath * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1104
/** * Create a simple link. * * @param string $controller * @param bool|null $ssl * @param int|null $idLang * @param string|array|null $request * @param bool $requestUrlEncode Use URL encode * @param int|null $idShop * @param bool $relativeProtocol * * @return string Page link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1122
/** * @param string $name * @param int $idCategory * @param string|null $type Image thumbnail name (small_default, medium_default, large_default, etc.) * @param string $extension What image extension should the link point to * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1171
/** * Retrieves a link for the current page in different language. * * @param int $idLang Language ID * @param Context|null $context the context if needed * * @return string link */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1190
/** * @param string $url * @param int $p * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1246
/** * Get pagination link. * * @param string $type Controller name * @param int $idObject * @param bool $nb Show nb element per page attribute * @param bool $sort Show sort attribute * @param bool $pagination Show page number attribute * @param bool $array If false return an url, if true return an array * * @return string|array */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1265
/** * @param string $url * @param string $orderBy * @param string $orderWay * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1341
/** * @param int|null $idShop * @param bool|null $ssl * @param bool $relativeProtocol * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1382
/** * Check if url match with current url. * * @param string $url * * @return bool */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1442
/** * @param int|null $idLang * @param Context|null $context * @param int|null $idShop * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1353
/** * Clean url http://website.com/admin_dir/foo => foo * Remove index.php? * Remove last char if it's ? or & * Remove token if exists. * * @param string $url * * @return string */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1413
/** * @param array $params * * @return string * * @throws \InvalidArgumentException */ Inherited from LinkCore Defined in <ROOT>/classes/Link.php:1456
Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:64
/** * @param array $product * @param Language $language * * @return array */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:75
/** * @param array $product * @param Language $language * * @return array */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:140
/** * @param Product|Store|Category|Manufacturer|Supplier $object * @param int $id_image * * @return array|null * * @throws PrestaShopDatabaseException */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:164
/** * @param string $imageHash * * @return array */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:341
/** * @param Language $language * * @return array * * @throws PrestaShopDatabaseException * @throws PrestaShopException if the image type is not found */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:377
/** * @param string $originalImagePath * @param string $imageFolderPath * @param int $idImage * @param array $imageTypeData * @param string $imageFormat * @param bool $hdpi * * @return void */ Defined in <ROOT>/src/Adapter/Image/ImageRetriever.php:304
/** * @return bool */ Inherited from TaxConfigurationCore Defined in <ROOT>/classes/tax/TaxConfiguration.php:34
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:86
/** * @param array $products * @param Cart $cart * * @return array */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:194
/** * @param Cart $cart * @param bool $shouldSeparateGifts * * @return array * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:317
/** * Receives a string containing a list of attributes affected to the product and returns them as an array. * * @param string $attributes * * @return array Converted attributes in an array */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:666
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:684
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:702
/** * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:99
/** * @param array $rawProduct * * @return ProductLazyArray|ProductListingLazyArray */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:109
/** * Accepts a cart object with the shipping cost amount and formats the shipping cost display value accordingly. * If the shipping cost is 0, then we must check if this is because of a free carrier and thus display 'Free' or * simply because the system was unable to determine shipping cost at this point and thus send an empty string to hide the shipping line. * * @param Cart $cart * @param float $shippingCost * * @return string */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:507
Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:544
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:620
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:632
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:642
/** * @param array $cartVoucher * * @return bool */ Defined in <ROOT>/src/Adapter/Presenter/Cart/CartPresenter.php:652
drwxr-xr-x 1193 1196 4KB Feb 14 09:27 /unum/drukalabak/public_html/themes/laber_expert_home7/templates
Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:42
Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:48
/** * Get productListEntities. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:124
/** * Set productListEntities. * * @param array $productListEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:136
/** * Get productListSearch. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:148
/** * Set productListSearch. * * @param array $productListSearchEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:160
/** * Get productEntities. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:172
/** * Set productEntities. * * @param array $productEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:184
/** * Get brandListEntities. * * @return array */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:196
/** * Set brandListEntities. * * @param array $brandListEntities * * @return TemplateFinderCore */ Inherited from TemplateFinderCore Defined in <ROOT>/classes/Smarty/TemplateFinder.php:208
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
id | type | path | uri | media | priority | server | |
---|---|---|---|---|---|---|---|
theme-main | theme-main | external | /themes/laber_expert_home7/assets/css/theme.css | https://drukalabak.lv/themes/laber_expert_home7/assets/css/theme.css | all | 50 | local |
ps_socialfollow_icons | ps_socialfollow_icons | external | /modules/ps_socialfollow/views/css/ps_socialfollow.css | https://drukalabak.lv/modules/ps_socialfollow/views/css/ps_socialfollow.css | all | 50 | local |
modules-searchbar | modules-searchbar | external | /modules/ps_searchbar/ps_searchbar.css | https://drukalabak.lv/modules/ps_searchbar/ps_searchbar.css | all | 50 | local |
modules-labsearch | modules-labsearch | external | /themes/laber_expert_home7/modules/labblocksearch/views/css/labsearch.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labblocksearch/views/... | all | 50 | local |
modules-labproductnextprev | modules-labproductnextprev | external | /themes/laber_expert_home7/modules/labproductnextprev/views/css/labproductnex... | https://drukalabak.lv/themes/laber_expert_home7/modules/labproductnextprev/vi... | all | 50 | local |
3a16c5aa4fffea543079c8658fe0ef2dde1511e6 | 3a16c5aa4fffea543079c8658fe0ef2dde1511e6 | external | /modules/productcomments/views/css/productcomments.css | https://drukalabak.lv/modules/productcomments/views/css/productcomments.css | all | 80 | local |
55f0a3d830c361878f1b6a09fd06eea1a683722e | 55f0a3d830c361878f1b6a09fd06eea1a683722e | external | /modules/labthemeoptions//views/templates/front/colortool/css/lab.cltool.css | https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortoo... | all | 80 | local |
514c51f8495ec7d95240e05a4d0a198c86d3d46c | 514c51f8495ec7d95240e05a4d0a198c86d3d46c | external | /modules/labthemeoptions//views/templates/front/colortool/css/colorpicker.css | https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortoo... | all | 80 | local |
0639c0fb5e470a730f5ba3f64a30027fa8058f83 | 0639c0fb5e470a730f5ba3f64a30027fa8058f83 | external | /modules/labthemeoptions/css/font-awesome.min.css | https://drukalabak.lv/modules/labthemeoptions/css/font-awesome.min.css | all | 80 | local |
8bc9ada9f7331cfa7a54ebf418ec29c9e0994982 | 8bc9ada9f7331cfa7a54ebf418ec29c9e0994982 | external | /modules/labthemeoptions/css/materialdesignicons.min.css | https://drukalabak.lv/modules/labthemeoptions/css/materialdesignicons.min.css | all | 80 | local |
a9e711fb5d3584e71213a454030d32e2c4d46045 | a9e711fb5d3584e71213a454030d32e2c4d46045 | external | /modules/labthemeoptions/css/animate.css | https://drukalabak.lv/modules/labthemeoptions/css/animate.css | all | 80 | local |
6cbf02cb228e080b8786edfafee87d68a8d0bce4 | 6cbf02cb228e080b8786edfafee87d68a8d0bce4 | external | /modules/labthemeoptions/css/owl.carousel.css | https://drukalabak.lv/modules/labthemeoptions/css/owl.carousel.css | all | 80 | local |
9105148937b31c09e1f47f93114296358b3e775a | 9105148937b31c09e1f47f93114296358b3e775a | external | /modules/labthemeoptions/css/linearicons-Free.css | https://drukalabak.lv/modules/labthemeoptions/css/linearicons-Free.css | all | 80 | local |
33b4a5d0e39a396a0b44444be3c3e61750b169fd | 33b4a5d0e39a396a0b44444be3c3e61750b169fd | external | /modules/labthemeoptions/css/flaticon.css | https://drukalabak.lv/modules/labthemeoptions/css/flaticon.css | all | 80 | local |
517ee63bf4630615eeeffcacc296f480e5ec4e7f | 517ee63bf4630615eeeffcacc296f480e5ec4e7f | external | /themes/laber_expert_home7/modules/labthemeoptions/css/laberthemes.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labthemeoptions/css/l... | all | 80 | local |
af2f63736b607b3eda3a1484d286995993768eb0 | af2f63736b607b3eda3a1484d286995993768eb0 | external | /themes/laber_expert_home7/modules/labslideshow/css/labslideshow.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labslideshow/css/labs... | all | 80 | local |
92b10ef8cc3223543341adabefd87c6a186dc2b3 | 92b10ef8cc3223543341adabefd87c6a186dc2b3 | external | /themes/laber_expert_home7/modules/labercompare/views/css/front.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labercompare/views/cs... | all | 80 | local |
892e83b75bf9473d0e2deeb7867ed23336c5c056 | 892e83b75bf9473d0e2deeb7867ed23336c5c056 | external | /themes/laber_expert_home7/modules/labvegamenu/views/css/labvegamenu.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labvegamenu/views/css... | all | 80 | local |
05be3aed09ec706352bc7428f43bbe2b9f05259f | 05be3aed09ec706352bc7428f43bbe2b9f05259f | external | /themes/laber_expert_home7/modules/labmegamenu/views/css/front.css | https://drukalabak.lv/themes/laber_expert_home7/modules/labmegamenu/views/css... | all | 80 | local |
jquery-ui | jquery-ui | external | /js/jquery/ui/themes/base/minified/jquery-ui.min.css | https://drukalabak.lv/js/jquery/ui/themes/base/minified/jquery-ui.min.css | all | 90 | local |
jquery-ui-theme | jquery-ui-theme | external | /js/jquery/ui/themes/base/minified/jquery.ui.theme.min.css | https://drukalabak.lv/js/jquery/ui/themes/base/minified/jquery.ui.theme.min.css | all | 95 | local |
blockwishlistController | blockwishlistController | external | /modules/blockwishlist/public/wishlist.css | https://drukalabak.lv/modules/blockwishlist/public/wishlist.css | all | 100 | local |
autocomplete/jquery.autocomplete.css | autocomplete/jquery.autocomplete.css | external | /js/jquery/plugins/autocomplete/jquery.autocomplete.css | https://drukalabak.lv/js/jquery/plugins/autocomplete/jquery.autocomplete.css | all | 100 | local |
modules-homeslider | modules-homeslider | external | /modules/ps_imageslider/css/homeslider.css | https://drukalabak.lv/modules/ps_imageslider/css/homeslider.css | all | 150 | local |
xipblog_css | xipblog_css | external | /themes/laber_expert_home7/modules/xipblog/css/xipblog.css | https://drukalabak.lv/themes/laber_expert_home7/modules/xipblog/css/xipblog.css | all | 250 | local |
theme-custom | theme-custom | external | /themes/laber_expert_home7/assets/css/custom.css | https://drukalabak.lv/themes/laber_expert_home7/assets/css/custom.css | all | 1000 | local |
https://drukalabak.lv/themes/laber_expert_home7/modules/labblocksearch/views/css/labsearch.css
/themes/laber_expert_home7/modules/labproductnextprev/views/css/labproductnextprev.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labproductnextprev/views/css/labproductnextprev.css
https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortool/css/lab.cltool.css
https://drukalabak.lv/modules/labthemeoptions//views/templates/front/colortool/css/colorpicker.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labthemeoptions/css/laberthemes.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labslideshow/css/labslideshow.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labercompare/views/css/front.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labvegamenu/views/css/labvegamenu.css
https://drukalabak.lv/themes/laber_expert_home7/modules/labmegamenu/views/css/front.css
https://drukalabak.lv/js/jquery/ui/themes/base/minified/jquery.ui.theme.min.css
https://drukalabak.lv/themes/laber_expert_home7/modules/xipblog/css/xipblog.css
/** * @param string $id * @param string $relativePath * @param string $media * @param int $priority * @param bool $inline * @param string $server * @param bool $needRtl * @param string|null $version */ Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:59
Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:82
/** * @return array */ Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:96
Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:40
/** * @param string $relativePath * * @return bool|string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:57
Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:41
/** * @param string $id * @param string $fullPath * @param string $media * @param int $priority * @param bool $inline * @param string $server * @param string|null $version */ Inherited from StylesheetManagerCore Defined in <ROOT>/classes/assets/StylesheetManager.php:113
/** * @param string $fullPath * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:44
/** * @param string $fullUri * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:54
/** * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:66
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
external | inline | |
---|---|---|
head | array (0) | array (0) |
bottom | array (32) | array (0) |
/** * @param string $id * @param string $relativePath * @param string $position * @param int $priority * @param bool $inline * @param string|null $attribute * @param string $server * @param string|null $version */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:60
Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:77
/** * @return array */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:129
Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:40
/** * @param string $relativePath * * @return bool|string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/classes/assets/AbstractAssetManager.php:57
/** * @return array */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:37
/** * @param string $id * @param string $fullPath * @param string $position * @param int $priority * @param bool $inline * @param string $attribute * @param string $server * @param string|null $version */ Inherited from JavascriptManagerCore Defined in <ROOT>/classes/assets/JavascriptManager.php:100
/** * @param string $fullPath * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:44
/** * @param string $fullUri * * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:54
/** * @return string */ Inherited from AbstractAssetManagerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:66
drwxr-xr-x 1193 1196 4KB Apr 30 09:55 /unum/drukalabak/public_html/themes/laber_expert_home7/assets/cache
/** * Copies a file. * * If the target file is older than the origin file, it's always overwritten. * If the target file is newer, it is overwritten only when the * $overwriteNewerFiles option is set to true. * * @param string $originFile The original filename * @param string $targetFile The target filename * @param bool $overwriteNewerFiles If true, target files newer than origin files are overwritten * * @throws FileNotFoundException When originFile doesn't exist * @throws IOException When copy fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:41
/** * Creates a directory recursively. * * @param string|iterable $dirs The directory path * @param int $mode The directory mode * * @throws IOException On any directory creation failure */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:94
/** * Checks the existence of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to check * * @return bool true if the file exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:120
/** * Sets access and modification time of file. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to create * @param int|null $time The touch time as a Unix timestamp, if not supplied the current system time is used * @param int|null $atime The access time as a Unix timestamp, if not supplied the current system time is used * * @throws IOException When touch fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:146
/** * Removes files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to remove * * @throws IOException When removal fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:163
/** * Change mode for an array of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to change mode * @param int $mode The new mode (octal) * @param int $umask The mode mask (octal) * @param bool $recursive Whether change the mod recursively or not * * @throws IOException When the change fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:199
/** * Change the owner of an array of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to change owner * @param string|int $user A user name or number * @param bool $recursive Whether change the owner recursively or not * * @throws IOException When the change fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:220
/** * Change the group of an array of files or directories. * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to change group * @param string|int $group A group name or number * @param bool $recursive Whether change the group recursively or not * * @throws IOException When the change fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:247
/** * Renames a file or a directory. * * @param string $origin The origin filename or directory * @param string $target The new filename or directory * @param bool $overwrite Whether to overwrite the target if it already exists * * @throws IOException When target file or directory already exists * @throws IOException When origin cannot be renamed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:275
/** * Creates a symbolic link or copy a directory. * * @param string $originDir The origin directory path * @param string $targetDir The symbolic link name * @param bool $copyOnWindows Whether to copy files if on Windows * * @throws IOException When symlink fails */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:319
/** * Creates a hard link, or several hard links to a file. * * @param string $originFile The original file * @param string|string[] $targetFiles The target file(s) * * @throws FileNotFoundException When original file is missing or not a file * @throws IOException When link fails, including if link already exists */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:357
/** * Resolves links in paths. * * With $canonicalize = false (default) * - if $path does not exist or is not a link, returns null * - if $path is a link, returns the next direct target of the link without considering the existence of the target * * With $canonicalize = true * - if $path does not exist, returns null * - if $path exists, returns its absolute fully resolved final version * * @param string $path A filesystem path * @param bool $canonicalize Whether or not to return a canonicalized path * * @return string|null */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:412
/** * Given an existing path, convert it to a path relative to a given starting path. * * @param string $endPath Absolute path of target * @param string $startPath Absolute path where traversal begins * * @return string Path of target relative to starting path */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:445
/** * Mirrors a directory to another. * * Copies files and directories from the origin directory into the target directory. By default: * * - existing files in the target directory will be overwritten, except if they are newer (see the `override` option) * - files in the target directory that do not exist in the source directory will not be deleted (see the `delete` option) * * @param string $originDir The origin directory * @param string $targetDir The target directory * @param \Traversable|null $iterator Iterator that filters which files and directories to copy, if null a recursive iterator is created * @param array $options An array of boolean options * Valid options are: * - $options['override'] If true, target files newer than origin files are overwritten (see copy(), defaults to false) * - $options['copy_on_windows'] Whether to copy files instead of links on Windows (see symlink(), defaults to false) * - $options['delete'] Whether to delete files that are not in the source directory (defaults to false) * * @throws IOException When file type is unknown */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:535
/** * Returns whether the file path is an absolute path. * * @param string $file A file path * * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:598
/** * Creates a temporary file with support for custom stream wrappers. * * @param string $dir The directory where the temporary filename will be created * @param string $prefix The prefix of the generated temporary filename * Note: Windows uses only the first three characters of prefix * * @return string The new temporary filename (with path), or throw an exception on failure */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:622
/** * Atomically dumps content into a file. * * @param string $filename The file to be written to * @param string|resource $content The data to write into the file * * @throws IOException if the file cannot be written to */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:673
/** * Appends content to an existing file. * * @param string $filename The file to which to append content * @param string|resource $content The content to append * * @throws IOException If the file is not writable */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:712
/** * Tells whether a file exists and is readable. * * @throws IOException When windows path is longer than 258 characters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:299
/** * @param string $linkType Name of the link type, typically 'symbolic' or 'hard' */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:386
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:729
/** * Gets a 2-tuple of scheme (may be null) and hierarchical part of a filename (e.g. file:///tmp -> [file, tmp]). */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:737
/** * @internal */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:777
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:744
/** * @param mixed ...$args * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:756
Defined in <ROOT>/src/Adapter/Configuration.php:51
/** * @throws NotImplementedException */ Defined in <ROOT>/src/Adapter/Configuration.php:62
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:70
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:78
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:86
/** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:104
/** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint If this parameter is not given, a ShopConstraint will * be built based on the current shop context, except if $this->shop is set * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ Defined in <ROOT>/src/Adapter/Configuration.php:160
/** * @param string $key * @param ShopConstraint|null $shopConstraint This parameter should always be given, if not, a ShopConstraint will * be built based on the current shop context * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:195
/** * Removes a configuration key. * * @param string $key * * @return self */ Defined in <ROOT>/src/Adapter/Configuration.php:261
/** * Unset configuration value. * * @param string $key * * @return void * * @throws \Exception * * @deprecated since version 1.7.4.0 */ Defined in <ROOT>/src/Adapter/Configuration.php:285
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:293
/** * {@inheritdoc} */ Defined in <ROOT>/src/Adapter/Configuration.php:301
/** * Return if Feature feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:311
/** * Return if Combination feature is active or not. * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:321
/** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ Defined in <ROOT>/src/Adapter/Configuration.php:331
/** * @param string $key * @param ShopConstraint $shopConstraint * * @throws ShopException */ Defined in <ROOT>/src/Adapter/Configuration.php:402
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Same as 'has' method, but for multilang configuration keys * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * @param bool $isStrict * * @return bool */ Defined in <ROOT>/src/Adapter/Configuration.php:231
/** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ Defined in <ROOT>/src/Adapter/Configuration.php:345
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:361
/** * @param ShopConstraint $shopConstraint * * @return int|null */ Defined in <ROOT>/src/Adapter/Configuration.php:374
/** * @return ShopConstraint */ Defined in <ROOT>/src/Adapter/Configuration.php:423
/** * @param string $key * @param ShopConstraint $shopConstraint * * @return mixed */ Defined in <ROOT>/src/Adapter/Configuration.php:445
/** * @param string $cacheDir * @param ConfigurationInterface $configuration * @param Filesystem $filesystem */ Inherited from CccReducerCore Defined in <ROOT>/classes/assets/CccReducer.php:45
/** * @param array $cssFileList * * @return array Same list, reduced */ Inherited from CccReducerCore Defined in <ROOT>/classes/assets/CccReducer.php:61
/** * @param array $jsFileList * * @return array Same list, reduced */ Inherited from CccReducerCore Defined in <ROOT>/classes/assets/CccReducer.php:102
/** * @param string $fullPath * * @return string */ Inherited from CccReducerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:44
/** * @param string $fullUri * * @return string */ Inherited from CccReducerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:54
/** * @return string */ Inherited from CccReducerCore Defined in <ROOT>/src/Adapter/Assets/AssetUrlGeneratorTrait.php:66
url | width | height | |
---|---|---|---|
small_default | https://drukalabak.lv/img/p/lv-default-small_default.jpg | 98 | 98 |
cart_default | https://drukalabak.lv/img/p/lv-default-cart_default.jpg | 125 | 125 |
home_default | https://drukalabak.lv/img/p/lv-default-home_default.jpg | 250 | 250 |
medium_default | https://drukalabak.lv/img/p/lv-default-medium_default.jpg | 452 | 452 |
large_default | https://drukalabak.lv/img/p/lv-default-large_default.jpg | 600 | 600 |
/** * @param int|null $id_product Product identifier * @param bool $full Load with price, tax rate, manufacturer name, supplier name, tags, stocks... * @param int|null $id_lang Language identifier * @param int|null $id_shop Shop identifier * @param Context|null $context Context to use for retrieve cart */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:723
/** * @see ObjectModel::getFieldsShop() * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:767
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:780
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:820
/** * Move a product inside its category. * * @param bool $way Up (1) or Down (0) * @param int $position * * @return bool Update result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:965
/** * @param string $available_date Date in mysql format Y-m-d * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1162
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1259
/** * {@inheritdoc} */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1290
/** * @param array $products Product identifiers * * @return bool|int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1372
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1393
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1403
/** * addToCategories add this product to the category/ies if not exists. * * @param int|int[] $categories id_category or array of id_category * * @return bool true if succeed */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1415
/** * Update categories to index product into. * * @param int[] $categories Categories list to index product into * @param bool $keeping_current_pos (deprecated, no more used) * * @return bool Update/insertion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1473
/** * deleteCategory delete this product from the category $id_category. * * @param int $id_category Category identifier * @param bool $clean_positions * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1517
/** * Delete all association to category where product is indexed. * * @param bool $clean_positions clean category positions after deletion * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1547
/** * Delete products tags entries. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1574
/** * Delete product from cart. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1584
/** * Delete product images from database. * * @return bool success */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1594
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1719
/** * @param int[] $attributes_list Attribute identifier(s) * @param int|false $current_product_attribute Attribute identifier * @param Context|null $context * @param bool $all_shops * @param bool $return_id * * @return bool|int|string Attribute exist or Attribute identifier if return_id = true */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1744
/** * addProductAttribute is deprecated. * * The quantity params now set StockAvailable for the current shop with the specified quantity * The supplier_reference params now set the supplier reference of the default supplier of the product if possible * * @deprecated since 1.5.0 * @see StockManager if you want to manage real stock * @see StockAvailable if you want to manage available quantities for sale on your shop(s) * @see ProductSupplier for manage supplier reference(s) * * @param float $price Additional price * @param float $weight Additional weight * @param float $unit_impact * @param float $ecotax Additional ecotax * @param int $quantity * @param int[] $id_images Image ids * @param string $reference Reference * @param int $id_supplier Supplier identifier * @param string $ean13 * @param bool $default Is default attribute for product * @param string $location * @param string $upc * @param int $minimal_quantity * @param string $isbn * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * * @return int|false Attribute identifier if success, false if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1823
/** * @param array $combinations * @param array $attributes * @param bool $resetExistingCombination * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1883
/** * @param array<int> $combinations * @param int $langId * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1931
/** * @param float $wholesale_price * @param float $price Additional price * @param float $weight Additional weight * @param float $unit_impact * @param float $ecotax Additional ecotax * @param int $quantity deprecated * @param int[] $id_images Image ids * @param string $reference Reference * @param int $id_supplier Supplier identifier * @param string $ean13 * @param bool $default Is default attribute for product * @param string|null $location * @param string|null $upc * @param int $minimal_quantity * @param array $id_shop_list * @param string|null $available_date Date in mysql format Y-m-d * @param string $isbn * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * @param string[]|string $available_now Combination available now labels * @param string[]|string $available_later Combination available later labels * * @return int|false Attribute identifier if success, false if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1970
/** * Delete all default attributes for product. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2033
/** * @param int $id_product_attribute Attribute identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2045
/** * Update a product attribute. * * @deprecated since 1.5 * @see updateAttribute() to use instead * @see ProductSupplier for manage supplier reference(s) * * @param int $id_product_attribute Attribute identifier * @param float $wholesale_price * @param float $price Additional price * @param float $weight Additional weight * @param float $unit * @param float $ecotax Additional ecotax * @param int[] $id_images Image ids * @param string $reference * @param int $id_supplier Supplier identifier * @param string $ean13 * @param bool $default Is default attribute for product * @param string $location * @param string $upc * @param int $minimal_quantity * @param string $available_date Date in mysql format Y-m-d * @param string $isbn * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * @param string[]|string|null $available_now Combination available now labels * @param string[]|string|null $available_later Combination available later labels * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2126
/** * Sets or updates Supplier Reference. * * @param int $id_supplier Supplier identifier * @param int $id_product_attribute Attribute identifier * @param string|null $supplier_reference * @param float|null $price * @param int|null $id_currency Currency identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2189
/** * Update a product attribute. * * @param int $id_product_attribute Product attribute id * @param float $wholesale_price Wholesale price * @param float $price Additional price * @param float $weight Additional weight * @param float $unit Additional unit price * @param float $ecotax Additional ecotax * @param int[] $id_images Image identifiers * @param string $reference Reference * @param string $ean13 Ean-13 barcode * @param bool $default Is default attribute for product * @param string|null $location * @param string $upc Upc barcode * @param int|null $minimal_quantity Minimal quantity * @param string|null $available_date Date in mysql format Y-m-d * @param bool $update_all_fields * @param int[] $id_shop_list * @param string $isbn ISBN reference * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string $mpn MPN * @param string[]|string|null $available_now Combination available now labels * @param string[]|string|null $available_later Combination available later labels * * @return bool Update result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2243
/** * Add a product attribute. * * @since 1.5.0.1 * * @param float $price Additional price * @param float $weight Additional weight * @param float $unit_impact Additional unit price * @param float $ecotax Additional ecotax * @param int[] $id_images Image ids * @param string $reference Reference * @param string $ean13 Ean-13 barcode * @param bool $default Is default attribute for product * @param string $location Location * @param string|null $upc * @param int $minimal_quantity Minimal quantity to add to cart * @param int[] $id_shop_list * @param string|null $available_date Date in mysql format Y-m-d * @param int $quantity * @param string $isbn ISBN reference * @param int|null $low_stock_threshold Low stock for mail alert * @param bool $low_stock_alert Low stock mail alert activated * @param string|null $mpn * @param string[]|string $available_now Combination available now labels * @param string[]|string $available_later Combination available later labels * * @return int|false|void Attribute identifier if success, false if failed to add Combination, void if Product identifier not set */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2387
/** * @deprecated since 1.5.0 * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2489
/** * Delete product attributes. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2509
/** * Delete product features. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2530
/** * Delete product attachments. * * @param bool $update_attachment_cache If set to true attachment cache will be updated * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2564
/** * Delete product customizations. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2584
/** * Delete product pack details. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2604
/** * Delete product sales. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2618
/** * Delete product indexed words. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2631
/** * Delete a product attributes combination. * * @param int $id_product_attribute Attribute identifier * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2652
/** * Delete features. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2679
/** * Get all available product attributes resume. * * @param int $id_lang Language identifier * @param string $attribute_value_separator * @param string $attribute_separator * * @return bool|array Product attributes combinations */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2725
/** * Get all available product attributes combinations. * * @param int|null $id_lang Language identifier * @param bool $groupByIdAttributeGroup * * @return array Product attributes combinations */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2792
/** * Get product attribute combination by id_product_attribute. * * @param int $id_product_attribute Attribute identifier * @param int $id_lang Language identifier * @param bool $groupByIdAttributeGroup * * @return array Product attribute combination by id_product_attribute */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2843
/** * @param int $id_lang Language identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2893
/** * Check if product has attributes combinations. * * @return int Attributes combinations number */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2970
/** * getCategories return an array of categories which this product belongs to. * * @return array of categories */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3474
/** * Gets carriers assigned to the product. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3484
/** * Sets carriers assigned to the product. * * @param int[] $carrier_list */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3500
/** * Get product images and legends. * * @param int $id_lang Language identifier * @param Context|null $context * * @return array Product images and legends */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3537
/** * Get product price * Same as static function getPriceStatic, no need to specify product id. * * @param bool $tax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier * @param int $decimals Number of decimals * @param int|null $divisor Util when paying many time without fees * @param bool $only_reduc * @param bool $usereduc * @param int $quantity * * @return float Product price in euros */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4155
/** * @param bool $tax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier * @param int $decimals Number of decimals * @param null $divisor Util when paying many time without fees * @param bool $only_reduc * @param bool $usereduc * @param int $quantity * * @return float */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4178
/** * @return int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4213
/** * @return int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4230
/** * @param bool $notax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier * @param int $decimals Number of decimals * * @return float */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4253
/** * Check product availability. * * @param int $qty Quantity desired * * @return bool True if product is available with this quantity, false otherwise */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4414
/** * Check if there is no default attribute and create it if not. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4430
/** * Get all available attribute groups. * * @param int $id_lang Language identifier * @param int $id_product_attribute Combination id to get the groups for * * @return array Attribute groups */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4545
/** * Delete product accessories. * Wrapper to static method deleteAccessories($product_id). * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4590
/** * Delete product carrier restriction. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4600
/** * Delete product from other products accessories. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4614
/** * Get product accessories. * * @param int $id_lang Language identifier * @param bool $active * * @return array Product accessories */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4651
/** * Link accessories with product * Wrapper to static method changeAccessories($accessories_id, $product_id). * * @param array $accessories_id Accessories ids */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4718
/** * Add new feature to product. * * @param int $id_value Feature identifier * @param int $lang Language identifier * @param string $cust Text of custom value * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4750
/** * @param int $id_feature Feature identifier * @param int $id_value FeatureValue identifier * @param int $cust 1 = use a custom value, 0 = use $id_value * * @return int|string|void FeatureValue identifier or void if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4764
/** * Select all features for the object. * * @return array Array with feature product's data */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4801
/** * Get the link of the product page of this product. * * @param Context|null $context * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5528
/** * @param int $id_lang Language identifier * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5542
/** * @param int $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6015
/** * @return int[] * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6041
/** * @param int $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6063
/** * @param int $uploadable_files * @param int $text_fields * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6370
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6395
/** * @param int|false $id_lang Language identifier * @param int|null $id_shop Shop identifier * * @return array|bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6450
/** * check if product has an activated and required customizationFields. * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6497
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6515
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6531
/** * @param int $fieldType |null * * @return int * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6556
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6579
/** * @param Context|null $context * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6613
/** * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6684
/** * @param int $id_customer Customer identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6696
/** * Add a stock movement for current product. * * Since 1.5, this method only permit to add/remove available quantities of the current product in the current shop * * @see StockManager if you want to manage real stock * @see StockAvailable if you want to manage available quantities for sale on your shop(s) * @deprecated since 1.5.0 * * @param int $quantity * @param int $id_reason StockMvtReason identifier - useless * @param int|null $id_product_attribute Attribute identifier * @param int|null $id_order Order identifier - DEPRECATED * @param int|null $id_employee Employee identifier - DEPRECATED * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6756
/** * @deprecated since 1.5.0 * * @param int $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6783
/** * @return int TaxRulesGroup identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6836
/** * Returns tax rate. * * @param Address|null $address * * @return float The total taxes rate applied to the product */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6873
/** * Webservice getter : get product features association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6890
/** * Webservice setter : set product features association. * * @param array $product_features Feature data * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6917
/** * Webservice getter : get virtual field default combination. * * @return int Default Attribute identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6936
/** * Webservice setter : set virtual field default combination. * * @param int $id_combination Default Attribute identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6948
/** * Webservice getter : get category ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6960
/** * Webservice setter : set category ids of current product for association. * * @param array $category_ids category ids * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6980
/** * Webservice getter : get product accessories ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7047
/** * Webservice setter : set product accessories ids of current product for association. * * @param array $accessories product ids * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7067
/** * Webservice getter : get combination ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7082
/** * Webservice setter : set combination ids of current product for association. * * @param array $combinations combination ids * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7101
/** * Webservice getter : get product option ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7174
/** * Webservice getter : get virtual field position in category. * * @return int|string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7192
/** * Webservice setter : set virtual field position in category. * * @param int $position * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7214
/** * Webservice getter : get virtual field id_default_image in category. * * @return int|string|null */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7279
/** * Webservice setter : set virtual field id_default_image in category. * * @param int $id_image * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7293
/** * Webservice getter : get image ids of current product for association. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7311
/** * Webservice getter : Get StockAvailable identifier and Attribute identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7326
/** * Webservice getter: Get product attachments ids of current product for association * * @return array<int, array{id: string}> */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7338
/** * Webservice setter: set product attachments ids of current product for association * * @param array<array{id: int|string}> $attachments ids */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7354
Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7366
/** * Webservice setter : set tag ids of current product for association. * * @param array $tag_ids Tag identifiers * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7381
/** * Delete products tags entries without delete tags for webservice usage. * * @return bool Deletion result */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7413
/** * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7421
/** * Set Group reduction if needed. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7439
/** * Checks if reference exists. * * @param string $reference Product reference * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7451
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7552
/** * Get the combination url anchor of the product. * * @param int $id_product_attribute Attribute identifier * @param bool $with_id * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7646
/** * @param bool $autodate * @param bool $null_values * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7716
/** * @param bool $null_values * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7731
/** * Get list of parent categories. * * @since 1.5.0 * * @param int|null $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7821
/** * Fill the variables used for stock management. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7840
/** * Get Advanced Stock Management status for this product * * @return bool 0 for disabled, 1 for enabled */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7862
/** * Set Advanced Stock Management status for this product * * @param bool $value false for disabled, true for enabled */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7876
/** * Get the default category according to the shop. * * @return array{id_category_default: int}|int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7900
/** * Remove all downloadable files for product and its attributes. * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7937
/** * Get the product type (simple, virtual, pack). * * @since in 1.5.0 * * @return int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7957
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7975
/** * @return string simple, pack, virtual */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8059
/** * Create the link rewrite if not exists or invalid on product creation * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8075
/** * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8095
/** * @param string $type_str simple, pack, virtual * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8105
/** * @param array $items * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8135
/** * @param int $id_attribute Attribute identifier * @param int $id_shop Shop identifier * * @return string Attribute identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8162
/** * Get object of redirect_type. * * @return string|false category, product, false if unknown redirect_type */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8268
/** * Return an array of customization fields IDs. * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8288
/** * Remove unused customization for the product. * * @param array $customizationIds - Array of customization fields IDs * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8306
/** * Update the customization fields to be deleted if not used. * * @param array $customizationIds - Array of excluded customization fields IDs * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8334
/** * Update default supplier data * * @param int $idSupplier * @param float $wholesalePrice * @param string $supplierReference * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8364
/** * Get Product ecotax * * @param int $precision * @param bool $include_tax * @param bool $formated * * @return string|float */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8397
/** * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8415
/** * Returns product type based on existing associations without taking the saved value * in database into account. * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8431
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * Unit price ratio is not edited anymore, the reference is handled via the unit_price field which is now saved * in the DB we kept unit_price_ratio in the DB for backward compatibility but shouldn't be written anymore so * it is automatically updated when product is saved */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:855
/** * Unit price ratio is not edited anymore, the reference is handled via the unit_price field which is now saved * in the DB we kept unit_price_ratio in the DB for backward compatibility but but the DB value should not be used * any more since it is deprecated so the object field is computed automatically. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:889
/** * Customization fields label management * * @param string $field * @param string $value * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6238
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6254
/** * @param array $languages An array of language data * @param int $type Product::CUSTOMIZE_FILE or Product::CUSTOMIZE_TEXTFIELD * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6330
/** * Checks if product is still associated to its default shop, if not update with the first association found. */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8447
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Init computation of price display method (i.e. price should be including tax or not) for a customer. * If customer Id passed as null then this compute price display method with according of current group. * Otherwise a price display method will compute with according of a customer address (i.e. country). * * @see Group::getPriceDisplayMethod() * * @param int|null $id_customer Customer identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:911
/** * Returns price display method for a customer (i.e. price should be including tax or not). * * @see initPricesComputation() * * @param int|null $id_customer Customer identifier * * @return int Returns 0 (PS_TAX_INC) if tax should be included, otherwise 1 (PS_TAX_EXC) - tax should be excluded */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:948
/** * Reorder product position in category $id_category. * Call it after deleting a product from a category. * * @param int $id_category Category identifier * @param int $position * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1023
/** * Get the default attribute for a product. * * @param int $id_product Product ID * @param int $minimum_quantity Minimal quantity there should be in stock of the combination * @param bool $reset Force reload new values and not use cache * * @return int Attributes list */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1083
/** * For a given id_product and id_product_attribute, return available date. * * @param int $id_product Product identifier * @param int|null $id_product_attribute Attribute identifier * * @return string|null */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1181
/** * @param int $id_product Product identifier * @param bool $is_virtual */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1222
/** * @see ObjectModel::resetStaticCache() * * reset static cache (eg unit testing purpose). */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1242
/** * Get all available products. * * @param int $id_lang Language identifier * @param int $start Start number * @param int $limit Number of products to return * @param string $order_by Field for ordering * @param string $order_way Way for ordering (ASC or DESC) * @param int|false $id_category Category identifier * @param bool $only_active * @param Context|null $context * * @return array Products details */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1628
/** * @param int $id_lang Language identifier * @param Context|null $context * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:1694
/** * @param int $id_product Product identifier * * @return int|false Default Attribute identifier if success, false if it false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2071
/** * @param int $id_product Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2542
/** * @param int $id_product_attribute Attribute identifier * @param int $id_lang Language identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2943
/** * Get new products. * * @param int $id_lang Language identifier * @param int $page_number Start from * @param int $nb_products Number of products to return * @param bool $count * @param string|null $order_by * @param string|null $order_way * @param Context|null $context * * @return array|int|false New products, total of product if $count is true, false if it fail */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:2997
/** * Get a random special. * * @param int $id_lang Language identifier * @param string|false $beginning Date in mysql format Y-m-d * @param string|false $ending Date in mysql format Y-m-d * @param Context|null $context * * @return array|false Special */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3170
/** * Get prices drop. * * @param int $id_lang Language identifier * @param int $page_number Start from * @param int $nb_products Number of products to return * @param bool $count Only in order to get total number * @param string|null $order_by * @param string|null $order_way * @param string|false $beginning Date in mysql format Y-m-d * @param string|false $ending Date in mysql format Y-m-d * @param Context|null $context * * @return array|int|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3269
/** * getProductCategories return an array of categories which this product belongs to. * * @param int|string $id_product Product identifier * * @return array Category identifiers */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3414
/** * @param int|string $id_product Product identifier * @param int|null $id_lang Language identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3445
/** * Get product cover image. * * @param int $id_product Product identifier * @param Context|null $context * * @return array Product cover image */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3558
/** * Returns product price. * * @param int $id_product Product identifier * @param bool $usetax With taxes or not (optional) * @param int|null $id_product_attribute Attribute identifier (optional). * If set to false, do not apply the combination price impact. * NULL does apply the default combination price impact * @param int $decimals Number of decimals (optional) * @param int|null $divisor Useful when paying many time without fees (optional) * @param bool $only_reduc Returns only the reduction amount * @param bool $usereduc Set if the returned amount will include reduction * @param int $quantity Required for quantity discount application (default value: 1) * @param bool $force_associated_tax DEPRECATED - NOT USED Force to apply the associated tax. * Only works when the parameter $usetax is true * @param int|null $id_customer Customer identifier (for customer group reduction) * @param int|null $id_cart Cart identifier Required when the cookie is not accessible * (e.g., inside a payment module, a cron task...) * @param int|null $id_address Address identifier of Customer. Required for price (tax included) * calculation regarding the guest localization * @param array|null $specific_price_output If a specific price applies regarding the previous parameters, * this variable is filled with the corresponding SpecificPrice data * @param bool $with_ecotax insert ecotax in price output * @param bool $use_group_reduction * @param Context $context * @param bool $use_customer_price * @param int|null $id_customization Customization identifier * * @return float|null Product price */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3609
/** * Price calculation / Get product price. * * @param int $id_shop Shop identifier * @param int $id_product Product identifier * @param int|null $id_product_attribute Attribute identifier * @param int $id_country Country identifier * @param int $id_state State identifier * @param string $zipcode * @param int $id_currency Currency identifier * @param int $id_group Group identifier * @param int $quantity Quantity Required for Specific prices : quantity discount application * @param bool $use_tax with (1) or without (0) tax * @param int $decimals Number of decimals returned * @param bool $only_reduc Returns only the reduction amount * @param bool $use_reduc Set if the returned amount will include reduction * @param bool $with_ecotax insert ecotax in price output * @param array|null $specific_price If a specific price applies regarding the previous parameters, * this variable is filled with the corresponding SpecificPrice data * @param bool $use_group_reduction * @param int $id_customer Customer identifier * @param bool $use_customer_price * @param int $id_cart Cart identifier * @param int $real_quantity * @param int $id_customization Customization identifier * * @return float|null Product price, void if not found in cache $_pricesLevel2 */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3769
/** * @param int $orderId * @param int $productId * @param int $combinationId * @param bool $withTaxes * @param bool $useReduction * @param bool $withEcoTax * * @return float|null * * @throws PrestaShopDatabaseException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4054
/** * @param float $price * @param Currency|false $currency * @param Context|null $context * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4101
/** * @param int $id_product Product identifier * @param int $quantity * @param Context|null $context * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4120
/** * Display price with right format and currency. * * @param array $params Params * @param object $smarty Smarty object (DEPRECATED) * * @return string Price with right format and currency */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4266
/** * Convert price with currency. * * @param array $params * @param object $smarty Smarty object (DEPRECATED) * * @return string Ambigous <string, mixed, Ambigous <number, string>> */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4279
/** * @param array $params * @param object $smarty Smarty object (DEPRECATED) * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4293
/** * Display WT price with currency. * * @param array $params * @param object $smarty Smarty object (DEPRECATED) * * @return string Ambigous <string, mixed, Ambigous <number, string>> */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4306
/** * Get available product quantities (this method already have decreased products in cart). * * @param int $idProduct Product identifier * @param int|null $idProductAttribute Product attribute id (optional) * @param bool|null $cacheIsPack * @param CartCore|null $cart * @param int|null $idCustomization Product customization id (optional) * * @return int Available quantities */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4325
/** * Create JOIN query with 'stock_available' table. * * @param string $product_alias Alias of product table * @param string|int|null $product_attribute If string : alias of PA table ; if int : value of PA ; if null : nothing about PA * @param bool $inner_join LEFT JOIN or INNER JOIN * @param Shop|null $shop * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4363
/** * @param int $out_of_stock * - O Deny orders * - 1 Allow orders * - 2 Use global setting * * @return bool|int Returns false is Stock Management is disabled, or the (int) configuration if it's enabled */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4393
/** * @param array $products * @param bool $have_stock DEPRECATED * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4483
/** * Get product accessories (only names). * * @param int $id_lang Language identifier * @param int $id_product Product identifier * * @return array Product accessories */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4627
/** * @param int $accessory_id Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4707
/** * Link accessories with product. No need to inflate a full Product (better performances). * * @param array<int> $accessories_id Accessories ids * @param int $product_id Product identifier * * @return void */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4731
/** * @param int $id_product Product identifier * @param int $id_feature Feature identifier * @param int $id_feature_value FeatureValue identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4786
/** * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4811
/** * @param int[] $product_ids */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4832
/** * @param int[] $product_ids Product identifier(s) * @param int $id_lang Language identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4864
/** * Admin panel product search. * * @param int $id_lang Language identifier * @param string $query Search query * @param Context|null $context Deprecated, obsolete parameter not used anymore * @param int|null $limit * * @return array|false Matching products */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4910
/** * Duplicate attributes when duplicating a product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:4978
/** * Get product attribute image associations. * * @param int $id_product_attribute Attribute identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5075
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool|int */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5095
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5120
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5145
/** * Duplicate prices when duplicating a product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5177
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5205
/** * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5242
/** * Duplicate features when duplicating a product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5277
/** * @param int $old_product_id Old Product identifier * @param int $product_id New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5379
/** * @param int $old_product_id Old Product identifier * @param int $product_id New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5397
/** * Adds suppliers from old product onto a newly duplicated product. * * @param int $id_product_old Old Product identifier * @param int $id_product_new New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5450
/** * Adds carriers from old product onto a newly duplicated product. * * @param int $oldProductId Old Product identifier * @param int $newProductId New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5476
/** * Associates attachments from old product onto a newly duplicated product. * * @param int $oldProductId Old Product identifier * @param int $newProductId New Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5503
/** * @param array $row * @param int $id_lang Language identifier * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5566
/** * @param int $id_lang Language identifier * @param array $row * @param Context|null $context * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5582
/** * @param array $row * @param Context|null $context * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5937
/** * @param int $id_lang Language identifier * @param array $query_result * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5965
/** * Select all features for a given language * * @param int $id_lang Language identifier * @param int $id_product Product identifier * * @return array Array with feature's data */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5988
/** * @param int $id_lang Language identifier * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6026
/** * Customization management * * @param int $id_cart Cart identifier * @param int|null $id_lang Language identifier * @param bool $only_in_cart * @param int|null $id_shop Shop identifier * @param int|null $id_customization Customization identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6079
/** * @param array $products * @param array $customized_datas */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6157
/** * Add customization price for a single product * * @param array $product Product data * @param array $customized_datas Customized data */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6219
/** * @param int $id Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6593
/** * Return the list of old temp products. * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6644
/** * Checks if the product is in at least one of the submited categories. * * @param int $id_product Product identifier * @param array $categories array of category arrays * * @return bool is the product in at least one category */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6659
/** * @param int $id_product Product identifier * @param int|bool $id_customer Customer identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6707
/** * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6819
/** * @param int $id_product Product identifier * @param Context|null $context * * @return int TaxRulesGroup identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:6847
/** * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7429
/** * Get all product attributes ids. * * @since 1.5.0 * * @param int $id_product Product identifier * @param bool $shop_only * * @return array Attribute identifiers list */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7471
/** * Get label by lang and value by lang too. * * @param int $id_product Product identifier * @param int $id_product_attribute Attribute identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7488
/** * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7529
/** * Get an id_product_attribute by an id_product and one or more * id_attribute. * * e.g: id_product 8 with id_attribute 4 (size medium) and * id_attribute 5 (color blue) returns id_product_attribute 9 which * is the dress size medium and color blue. * * @param int $idProduct Product identifier * @param int|int[] $idAttributes Attribute identifier(s) * @param bool $findBest * * @return int * * @throws PrestaShopException */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7578
/** * Gets the name of a given product, in the given lang. * * @since 1.5.0 * * @param int $id_product Product identifier * @param int|null $id_product_attribute Attribute identifier * @param int|null $id_lang Language identifier * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7672
/** * For a given product, returns its real quantity. * * @since 1.5.0 * * @param int $id_product Product identifier * @param int $id_product_attribute Attribute identifier * @param int $id_warehouse Warehouse identifier * @param int|null $id_shop Shop identifier * * @return int real_quantity */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7762
/** * For a given product, tells if it uses the advanced stock management. * * @since 1.5.0 * * @param int $id_product Product identifier * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7790
/** * This method allows to flush price cache. * * @since 1.5.0 */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7806
/** * Get Shop identifiers * * @param int $id_product Product identifier * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7923
/** * @return string TaxRulesGroup identifier most used */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:7989
/** * For a given ean13 reference, returns the corresponding id. * * @param string $ean13 * * @return int|string Product identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8013
/** * For a given reference, returns the corresponding id. * * @param string $reference * * @return int|string Product identifier */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8038
/** * @deprecated since 8.1 and will be removed in next major version. * * @param int $id_product Product identifier * @param bool $full * * @return string */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8190
/** * @param int $id_product Product identifier * @param int $pack_stock_type value of Pack stock type, see constants defined in Pack class * * @return bool */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8210
/** * Gets a list of IDs from a list of IDs/Refs. The result will avoid duplicates, and checks if given IDs/Refs exists in DB. * Useful when a product list should be checked before a bulk operation on them (Only 1 query => performances). * * @param int|string|int[]|string[] $ids_or_refs Product identifier(s) or reference(s) * * @return array|false Product identifiers, without duplicate and only existing ones */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:8224
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * @param string $beginning Date in mysql format Y-m-d * @param string $ending Date in mysql format Y-m-d * @param Context|null $context * @param bool $with_combination * * @return array */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:3138
/** * @param int $product_id Product identifier * @param int|null $id_shop Shop identifier * * @return array|false */ Inherited from ProductCore Defined in <ROOT>/classes/Product.php:5329
getter | resource | |
---|---|---|
categories | getChildrenWs | category |
products | getProductsWs | product |
drwxr-xr-x 1193 1196 12KB Apr 17 13:01 /unum/drukalabak/public_html/img/c
/** * CategoryCore constructor. * * @param int|null $idCategory * @param int|null $idLang * @param int|null $idShop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:162
/** * Adds current Category as a new Object to the database. * * @param bool $autoDate Automatically set `date_upd` and `date_add` columns * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the Category has been successfully added * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:195
/** * Updates the current object in the database. * * @param bool $nullValues Whether we want to use NULL values instead of empty quotes values * * @return bool Indicates whether the CartRule has been successfully updated * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:238
/** * Recursive scan of subcategories. * * @param int $maxDepth Maximum depth of the tree (i.e. 2 => 3 levels depth) * @param int $currentDepth specify the current depth in the tree (don't use it, only for recursive calls!) * @param int $idLang Specify the id of the language used * @param array $excludedIdsArray Specify a list of IDs to exclude of results * @param string $format * * @return array Subcategories lite tree */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:299
/** * Delete this object * Skips the deletion procedure of Category and directly calls * the delete() method of ObjectModel instead. * * @return bool Indicates whether this Category was successfully deleted */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:376
/** * Deletes current Category from the database. * * @return bool `true` if successfully deleted * * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:388
/** * Delete selected categories from database. * * @param array $idCategories Category IDs to delete * * @return bool Deletion result */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:434
/** * Get the depth level for the category. * * @return int Depth level * * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:456
/** * Updates `level_depth` for all children of the given `id_category`. * * @param int $idParentCategory Parent Category ID * * @throws PrestaShopException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:570
/** * Return current category childs. * * @param int $idLang Language ID * @param bool $active return only active categories * * @return array Categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:906
/** * Returns category products. * * @param int $idLang Language ID * @param int $pageNumber Page number * @param int $productPerPage Number of products per page * @param string|null $orderBy ORDER BY column * @param string|null $orderWay Order way * @param bool $getTotal If set to true, returns the total number of results only * @param bool $active If set to true, finds only active products * @param bool $random If true, sets a random filter for returned products * @param int $randomNumberProducts Number of products to return if random is activated * @param bool $checkAccess If set to `true`, check if the current customer * can see the products from this category * @param Context|null $context Instance of Context * * @return array|int|false Products, number of products or false (no access) * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:956
/** * Return an array of all children of the current category. * * @param int $idLang Language ID * * @return PrestaShopCollection Collection of Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1201
/** * Return an ordered array of all parents of the current category. * * @param int $idLang * * @return PrestaShopCollection Collection of Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1221
/** * Get link to this category. * * @param Link|null $link Link instance * @param int|null $idLang Language ID * * @return string FO URL to this Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1392
/** * Get category name in given Language. * * @param int|null $idLang Language ID * * @return string Category name */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1416
/** * Get Each parent category of this category until the root category. * * @param int $idLang Language ID * * @return array Corresponding categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1544
/** * Clean Category Groups. * * @return bool Indicated whether the cleanup was successful */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1657
/** * Remove associated products. * * @return bool Indicates whether the cleanup was successful */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1670
/** * Add Category groups. * * @param array $groups */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1680
/** * Get Category groups. * * @return array|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1696
/** * Add group if it does not exist. * * @param int $idGroup Group ID * * @return bool|void */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1724
/** * checkAccess return true if id_customer is in a group allowed to see this category. * * @param mixed $idCustomer * * @return bool true if access allowed for customer $id_customer */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1741
/** * Update customer groups associated to the object. Don't update group access if list is null. * * @param array|null $list groups * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1777
/** * Update the position of the current Category. * * @param bool $way Indicates whether the Category should move up (`false`) or down (`true`) * @param int $position Current Position * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1816
/** * Check if current category is a child of shop root category. * * @param Shop $shop * * @return bool * * @since 1.5.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1992
/** * Get Children for the webservice. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2038
/** * Get Products for webservice. * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2054
Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2066
/** * Search for another Category with the same parent and the same position. * * @return int First Category found */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2084
/** * Recursively get amount of Products for the webservice. * * @return false|int|string|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2101
/** * Is parent Category available. * * @return bool Indicates whether the parent Category is available */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2166
/** * Add association between shop and categories. * * @param int $idShop Shop ID * * @return bool Indicates whether the association was successfully made */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2186
/** * Is Root Category for a Shop. * * @return bool Indicates whether the current Category is a Root category for a Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2257
/** * Add position to current Category. * * @param int $position Position * @param int|null $idShop Shop ID * * @return bool Indicates whether the position was successfully added */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2300
/** * Delete category from shop $id_shop. * * @param int $idShop Shop ID * * @return bool Indicates whether the current Category was successfully removed from the Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2388
/** * Does the current Category exists in the given Shop. * * @param int $idShop Shop ID * * @return bool Indicates whether the current Category exists in the given Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2444
/** * Indicates whether a category is ROOT for the shop. * The root category is the one with no parent. It's a virtual category. * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2459
/** * Prepare fields for ObjectModel class (add, update) * All fields are verified (pSQL, intval, ...). * * @return array All object fields * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:317
/** * Prepare fields for multishop * Fields are not validated here, we consider they are already validated in getFields() method, * this is not the best solution but this is the only one possible for retro compatibility. * * @since 1.5.0.1 * * @return array All object fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:344
/** * Prepare multilang fields. * * @since 1.5.0.1 * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:363
/** * Returns the language related to the object or the default one if it doesn't exists * * @return Language * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:401
/** * Get object name * Used for read/write in required fields table. * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:559
/** * Saves current object to database (add or update). * * @param bool $null_values * @param bool $auto_date * * @return bool Insertion result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:574
/** * Takes current object ID, gets its values from database, * saves them in a new row and loads newly saved values as a new object. * * @return ObjectModel|false * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:687
/** * Does a soft delete on current object, using the "deleted" field in DB * If the model object has no "deleted" property or no "deleted" definition field it will throw an exception * * @return bool * * @throws PrestaShopDatabaseException * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:975
/** * Toggles object status in database. * * @return bool Update result * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:998
/** * Checks if object field values are valid before database interaction. * * @param bool $die * @param bool $error_return * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1090
/** * Checks if multilingual object field values are valid before database interaction. * * @param bool $die * @param bool $errorReturn * * @return bool|string true, false or error message * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1124
/** * Validate a single field. * * @since 1.5.0.1 * * @param string $field Field name * @param mixed $value Field value * @param int|null $id_lang Language ID * @param array $skip array of fields to skip * @param bool $human_errors if true, uses more descriptive, translatable error strings * * @return bool|string true or error message string * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1178
/** * Validates submitted values and returns an array of errors, if any. * * @param bool $htmlentities if true, uses htmlentities() for field name translations in errors * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1338
/** * Returns webservice parameters of this object. * * @param string|null $ws_params_attribute_name * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1404
/** * Returns webservice object list. * * @param string $sql_join * @param string $sql_filter * @param string $sql_sort * @param string $sql_limit * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1508
/** * Validate required fields. * * @param bool $htmlentities * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1553
/** * Returns an array of required fields. * * @param bool $all if true, returns required fields of all object classes * * @return array|null * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1587
/** * Returns true if required field exists. * * @param string $field_name to search * @param bool $all if true, returns required fields of all object classes * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1603
/** * Caches data about required objects fields in memory. * * @param bool $all if true, caches required fields of all object classes */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1621
/** * Get required fields list for this model or for all the models. * * @param bool $all : whether it should return required fields for this model or all the models * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1642
/** * Sets required field for this class in the database. * * @param array $fields * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1666
/** * Clears cache entries that have this object's ID. * * @param bool $all If true, clears cache for all objects */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1698
/** * Checks if current object is associated to a shop. * * @since 1.5.0.1 * * @param int|null $id_shop * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1716
/** * This function associate an item to its context. * * @param int|array $id_shops * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1753
/** * Gets the list of associated shop IDs. * * @since 1.5.0.1 * * @return array<int, int> * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1789
/** * Copies shop association data from object with specified ID. * * @since 1.5.0.1 * * @param int $id * * @return bool|void * * @throws PrestaShopDatabaseException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1815
/** * Checks if there is more than one entry in associated shop table for current object. * * @since 1.5.0.1 * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1843
/** * Checks if object is multi-shop object. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1857
/** * Checks if a field is a multi-shop field. * * @param string $field * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1869
/** * Checks if the object is both multi-language and multi-shop. * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1879
/** * Returns the shop ID used to fetch initial object data. * * @return int */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1934
/** * Delete images associated with the object. * * @param bool $force_delete * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1946
/** * Fill an object with given data. Data must be an array with this syntax: * array(objProperty => value, objProperty2 => value, etc.). * * @since 1.5.0.1 * * @param array $data * @param int|null $id_lang */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2070
/** * Return the field value for the specified language if the field is multilang, * else the field value. * * @since 1.5.0.1 * * @param string $field_name * @param int|null $id_lang * * @return mixed * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2270
/** * Set a list of specific fields to update * array(field1 => true, field2 => false, * langfield1 => array(1 => true, 2 => false)). * * @since 1.5.0.1 * * @param array<string, bool|array<int, bool>>|null $fields */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2298
/** * @return array<string, bool|array<int, bool>>|null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2306
/** * Return HtmlFields for object. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2330
/** * Recursively add specified category childs to $to_delete array. * * @param array $toDelete Array reference where categories ID will be saved * @param int $idCategory Parent category ID */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:348
Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:287
/** * Formats values of each fields. * * @since 1.5.0.1 * * @param int $type FORMAT_COMMON or FORMAT_LANG or FORMAT_SHOP * @param int $id_lang If this parameter is given, only take lang fields * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:424
/** * @deprecated 1.5.0.1 (use getFieldsLang()) * * @param array $fields_array * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1024
/** * @deprecated 1.5.0.1 * * @param array $fields * @param array $fields_array * @param int $id_language * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1048
/** * Retrocompatibility for classes without $definition static. * * @TODO Remove this in 1.6 ! * * @since 1.5.0.1 */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2196
/** * @return int[] */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2357
/** * Get the clean description without HTML tags and slashes. * * @param string $description Category description with HTML * * @return string Category description without HTML */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:179
/** * Re-calculate the values of all branches of the nested tree. */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:480
/** * Return available categories. * * @param bool|int $idLang Language ID * @param bool $active Only return active categories * @param bool $order Order the results * @param string $sqlFilter Additional SQL clause(s) to filter results * @param string $orderBy Change the default order by * @param string $limit Set the limit * Both the offset and limit can be given * * @return array Categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:614
/** * @param int $categoryId * * @return int * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:651
/** * @param int $idRootCategory ID of root Category * @param int|bool $idLang Language ID `false` if language filter should not be applied * @param bool $active Only return active categories * @param array|string|null $groups * @param bool $useShopRestriction Restrict to current Shop * @param string $sqlFilter Additional SQL clause(s) to filter results * @param string $orderBy Change the default order by * @param string $limit Set the limit Both the offset and limit can be given * * @return array|false|mysqli_result|PDOStatement|resource|null Array with `id_category` and `name` */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:676
/** * Get nested categories. * * @param int|null $idRootCategory Root Category ID * @param int|bool $idLang Language ID * `false` if language filter should not be used * @param bool $active Whether the category must be active * @param array|string|null $groups * @param bool $useShopRestriction Restrict to current Shop * @param string $sqlFilter Additional SQL clause(s) to filter results * @param string $orderBy Change the default order by * @param string $limit Set the limit * Both the offset and limit can be given * * @return array|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:751
/** * Get a simple list of categories with id_category and name for each Category. * * @param int $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:835
/** * Get a simple list of categories with id_category, name and id_parent infos * It also takes into account the root category of the current shop. * * @param int $idLang Language ID * * @return array|false|mysqli_result|PDOStatement|resource|null */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:856
/** * Return main categories. * * @param int $idLang Language ID * @param bool $active return only active categories * * @return array categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1085
/** * Get root Category object * Returns the top Category if there are multiple root Categories. * * @param int|null $idLang Language ID * @param Shop|null $shop Shop object * * @return Category object */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1099
/** * Get children of the given Category. * * @param int $idParent Parent Category ID * @param int $idLang Language ID * @param bool $active Active children only * @param bool $idShop Shop ID * * @return array Children of given Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1134
/** * Check if the given Category has child categories. * * @param int $idParent Parent Category ID * @param int $idLang Language ID * @param bool $active Active children only * @param bool $idShop Shop ID * * @return bool Indicates whether the given Category has children */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1170
/** * This method allow to return children categories with the number of sub children selected for a product. * * @param int $idParent Parent Category ID * @param string $selectedCategory Selected SubCategory ID * @param int $idLang Language ID * @param Shop $shop Shop ID * @param bool $useShopContext Limit to current Shop * * @return array * * @internal param int $id_product Product ID */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1248
/** * Copy products from a category to another. * * @param int $idOld Source category ID * @param int $idNew Destination category ID * * @return bool Duplication result */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1293
/** * Check if category can be moved in another one. * The category cannot be moved in a child category. * * @param int $idCategory Current category * @param int $idParent Parent candidate * * @return bool Parent validity */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1333
/** * Get the rewrite link of the given Category. * * @param int $idCategory Category ID * @param int $idLang Language ID * * @return bool|mixed */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1366
/** * {@inheritdoc} */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1432
/** * Light back office search for categories. * * @param int $idLang Language ID * @param string $query Searched string * @param bool $unrestricted Allows search without lang and includes first category and exact match * @param bool $skipCache Skip the Cache * * @return array Corresponding categories * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1450
/** * Retrieve category by name and parent category id. * * @param int $idLang Language ID * @param string $categoryName Searched category name * @param int $idParentCategory parent category ID * * @return array Corresponding category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1490
/** * Search with paths for Categories. * * @param int $idLang Language ID * @param string $path Path of category * @param object|bool $objectToCreate a category * @param string|bool $methodToCreate a category * * @return array Corresponding categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1513
/** * Specify if a category already in base. * * @param int $idCategory Category id * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1614
/** * Check if all categories by provided ids are present in database. * If at least one is missing return false * * @param int[] $categoryIds * * @return bool * * @throws PrestaShopDatabaseException */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1634
/** * @param int $idGroup * * @return bool */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1797
/** * cleanPositions keep order of category in $id_category_parent, * but remove duplicate position. Should not be used if positions * are clean at the beginning ! * * @param mixed $idCategoryParent * * @return bool|void true if succeed */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1874
/** * Returns the number of categories + 1 having $idCategoryParent as parent. * * @param int $idCategoryParent The parent category * @param int $idShop Shop ID * * @return int Number of categories + 1 having $idCategoryParent as parent * * @todo rename that function to make it understandable (getNextPosition for example) */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1912
/** * Get URL Rewrite information. * * @param int $idCategory * * @return array|false|mysqli_result|PDOStatement|resource|null * * @since 1.7.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1945
/** * Return `nleft` and `nright` fields for a given category. * * @param int $id * * @return array * * @since 1.5.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:1966
/** * Check if current category is a child of shop root category. * * @param int $idCategory Category ID * @param Shop $shop Shop object * * @return bool Indicates whether the current category is a child of the Shop root category * * @since 1.5.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2015
/** * Get Category information. * * @param array $idsCategory Category IDs * @param int $idLang Language ID * * @return array|false Array with Category information * `false` if no Category found * * @since 1.7.0 */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2135
/** * Get root Categories. * * @param int|null $idLang Language ID * @param bool $active Whether the root Category must be active * * @return array|false|mysqli_result|PDOStatement|resource|null Root Categories */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2216
/** * Get Categories without parent. * * @return array|false|mysqli_result|PDOStatement|resource|null Categories without parent */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2235
/** * Get Top Category. * * @param int|null $idLang Language ID * * @return Category Top Category */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2272
/** * Get Shops by Category ID. * * @param int $idCategory Category ID * * @return array|false|mysqli_result|PDOStatement|resource|null Array with Shop IDs */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2350
/** * Update Categories for a shop. * * @param array $categories Categories list to associate a shop * @param int|null $idShop Categories list to associate a shop * * @return bool Update/insertion result (`false` if not successfully inserted/updated) */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2366
/** * Deletes all Categories from the Shop ID. * * @return bool Indicates whether the Categories have been successfully removed */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2401
/** * Add some categories to a shop. * * @param array $categories * * @return bool Indicates whether the Categories were successfully added to the given Shop */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:2413
/** * @return null */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:201
/** * Returns object validation rules (fields validity). * * @param string $class Child class name for static use (optional) * * @return array Validation rules (fields validity) */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:221
/** * Formats a value. * * @param mixed $value * @param int $type * @param bool $with_quotes * @param bool $purify * @param bool $allow_null * * @return mixed */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:491
/** * Returns field name translation. * * @param string $field Field name * @param string $class ObjectModel class name * @param bool $htmlentities If true, applies htmlentities() to result string * @param Context|null $context Context object * * @return string */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1309
/** * Updates a table and splits the common datas and the shop datas. * * @since 1.5.0.1 * * @param string $classname * @param array $data * @param string $where * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:1895
/** * Checks if an object exists in database. * * @param int $id_entity * @param string $table Deprecated since 1.7.8.x * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2005
/** * Checks if an object type exists in the database. * * @since 1.5.0.1 * * @param string|null $table Name of table linked to entity * @param bool $has_active_column True if the table has an active column * * @return bool */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2045
/** * Fill (hydrate) a list of objects in order to get a collection of these objects. * * @since 1.5.0.1 * * @param string $class Class of objects to hydrate * @param array $datas List of data (multi-dimensional array) * @param int|null $id_lang * * @return array * * @throws PrestaShopException */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2097
/** * Returns object definition. * * @param string|object $class Name of object * @param string|null $field Name of field if we want the definition of one field only * * @return array */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2151
/** * Enables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2314
/** * Disables object caching. */ Inherited from ObjectModelCore Defined in <ROOT>/classes/ObjectModel.php:2322
/** * @param array $categories * @param int $idCategory * @param int $n * * @return array ntree infos */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:517
/** * @param array $categories * @param int $idCategory * @param int $n * * @return bool Indicates whether the sub tree of categories has been successfully updated * * @deprecated 1.7.6.0 use computeNTreeInfos + sql query instead */ Inherited from CategoryCore Defined in <ROOT>/classes/Category.php:542
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:76
/** * {@inheritdoc} */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:106
/** * Initialize product controller. * * @see FrontController::init() */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:122
/** * Performs multiple checks and redirects user to error page if needed */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:176
/** * Loads related category to current visit. First it tries to get a category the user came from - it uses HTTP referer for this. * If no category is found (or it's invalid), we use product's default category. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:277
/** * Assign template vars related to page content. * * @see FrontController::initContent() */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:312
/** * Processes submitted customizations * * @see FrontController::postProcess() */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:473
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:489
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:508
/** * @return Product */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1023
/** * @return Category|null */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1031
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1190
/** * @param int $combinationId * * @return ProductController|null */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1303
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1329
/** * @return array */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1453
/** * Return information whether we are or not in quick view mode. * * @return bool */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1545
/** * Set quick view mode. * * @param bool $enabled */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1555
/** * Return information whether we are or not in preview mode. * * @return bool */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1565
/** * Set preview mode. * * @param bool $enabled */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1575
/** * Controller constructor. * * @global bool $useSSL SSL connection flag */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:192
/** * Check if the controller is available for the current user/visitor. * * @see Controller::checkAccess() * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:237
/** * Check if the current user/visitor has valid view permissions. * * @see Controller::viewAccess * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:249
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:619
/** * Initialize the invalid doom page of death. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:626
/** * Called before compiling common page sections (header, footer, columns). * Good place to modify smarty variables. * * @see FrontController::initContent() */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:646
/** * @return mixed */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:653
/** * @return mixed */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:667
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:688
/** * Renders page content. * Used for retrocompatibility with PS 1.4. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:713
/** * Compiles and outputs full page content. * * @return bool * * @throws Exception * @throws SmartyException */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:725
/** * Sets controller CSS and JS files. * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:962
/** * Initializes page header variables. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:996
/** * Checks if token is valid. * * @since 1.5.0.1 * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1071
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1080
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1105
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1110
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1134
/** * @deprecated 1.7 This function shouldn't be used, use $this->registerStylesheet() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1142
/** * @deprecated 1.7 This function has no effect in PrestaShop 1.7 theme, use $this->unregisterStylesheet() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1163
/** * @deprecated 1.7 This function has no effect in PrestaShop 1.7 theme, use $this->registerJavascript() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1184
/** * @deprecated 1.7 This function has no effect in PrestaShop 1.7 theme, use $this->unregisterJavascript() instead */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1205
/** * Adds jQuery UI component(s) to queued JS file list. * * @param string|array $component * @param string $theme * @param bool $check_dependencies */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1230
/** * Add Library not included with classic theme. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1244
/** * Adds jQuery plugin(s) to queued JS file list. * * @param string|array $name * @param string|null $folder * @param bool $css */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1262
/** * Sets template file for page content output. * * @param string $template */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1353
/** * Returns the layout's full path corresponding to the current page by using the override system * Ex: * On the url: http://localhost/index.php?id_product=1&controller=product, this method will * check if the layout exists in the following files (in that order), and return the first found: * - /themes/default/override/layout-product-1.tpl * - /themes/default/override/layout-product.tpl * - /themes/default/layout.tpl. * * @since 1.5.0.13 * * @return bool|string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1393
/** * Returns template path. * * @param string $template * * @return string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1447
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1452
/** * Renders and adds color list HTML for each product in a list. * * @deprecated since 8.1 and will be removed in next major version. * * @param array $products */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1493
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1540
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1619
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1656
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1667
/** * Get the shop logo with its dimensions * * @return array<string, string|int> */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1706
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1728
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1733
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1857
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1957
/** * Get templateFinder. * * @return object */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2117
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2122
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2127
/** * Starts the controller process (this method should not be overridden!). */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:298
/** * Sets page header display. * * @param bool $display */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:367
/** * Sets page header javascript display. * * @param bool $display */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:377
/** * Sets page footer display. * * @param bool $display */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:387
/** * Set $this->redirect_after that will be used by redirect() after the process. */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:430
/** * Adds jQuery library file to queued JS file list. * * @param string|null $version jQuery library version * @param string|null $folder jQuery file folder * @param bool $minifier if set tot true, a minified version will be included * * @deprecated 1.7.7 jQuery is always included, this method should no longer be used */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:577
/** * Checks if the controller has been called from XmlHttpRequest (AJAX). * * @since 1.5 * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:637
/** * Gets a service from the service container. * * @param string $serviceId Service identifier * * @return object The associated service * * @throws Exception */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:814
/** * Gets a parameter. * * @param string $parameterId The parameter name * * @return mixed The parameter value * * @throws InvalidArgumentException if the parameter is not defined */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:828
/** * Gets the dependency container. * * @return ContainerBuilder|null */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:838
/** * Check if multistore feature is enabled. * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:848
/** * Get minimal product quantity or minimal product combination quantity. * * @deprecated This method is deprecated since 1.7.5 and will be dropped in 1.8.0, please use getProductMinimalQuantity instead. * * @param array $product * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:562
/** * Assign price and tax to the template. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:582
/** * Assign template vars related to attribute groups and colors. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:632
/** * Get and assign attributes combinations informations. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:859
/** * Assign template vars related to category. */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:880
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:907
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:920
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:960
/** * Calculation of currency-converted discounts for specific prices on product. * * @param array $specific_prices array of specific prices definitions (DEFAULT currency) * @param float $price current price in CURRENT currency * @param float $tax_rate in percents * @param float $ecotax_amount in DEFAULT currency, with tax * * @return array */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:997
/** * Return id_product_attribute by id_product_attribute request parameter. * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1041
/** * If the PS_DISP_UNAVAILABLE_ATTR functionality is enabled, this method check * if $checkedIdProductAttribute is available. * If not try to return the first available attribute, if none are available * simply returns the input. * * @param int $checkedIdProductAttribute * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1089
/** * @param array $product * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1251
/** * @param array $product * * @return float */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1272
/** * @param array $product * * @return int */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1319
Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1360
/** * {@inheritdoc} * * Indicates if the provided combination exists and belongs to the product * * @param int $productAttributeId * @param int $productId * * @return bool */ Inherited from ProductControllerCore Defined in <ROOT>/controllers/front/ProductController.php:1527
Inherited from ProductPresentingFrontControllerCore Defined in <ROOT>/classes/controller/ProductPresentingFrontController.php:33
Inherited from ProductPresentingFrontControllerCore Defined in <ROOT>/classes/controller/ProductPresentingFrontController.php:38
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:529
/** * Builds the "prestashop" javascript object that will be sent to the front end. * * @param array $object Variables inserted in the template (see FrontController::assignGeneralPurposeVariables) * * @return array Variables to be inserted in the "prestashop" javascript object * * @throws \PrestaShop\PrestaShop\Core\Filter\FilterException * @throws PrestaShopException */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:590
/** * Redirects to redirect_after link. * * @see $redirect_after */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:683
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:742
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:762
/** * Displays maintenance page if shop is closed. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:789
/** * Displays 'country restricted' page if user's country is not allowed. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:823
/** * Redirects to correct protocol if settings and request methods don't match. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:841
/** * Geolocation management. * * @param Country $defaultCountry * * @return Country|false */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:894
/** * Recovers cart information. * * @return int|false */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1293
/** * Removed in PrestaShop 1.7. * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1365
/** * Returns theme directory (regular or mobile). * * @return string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1375
/** * Returns layout name for the current controller. Used to display layout name in <body> tag. * * @return string layout name */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1435
/** * Returns cache ID for product color list. * * @deprecated since 8.1 and will be removed in next major version. * * @param int $id_product * * @return string */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1535
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1651
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1877
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1887
/** * Generate a URL corresponding to the current page but * with the query string altered. * * If $extraParams is set to NULL, then all query params are stripped. * * Otherwise, params from $extraParams that have a null value are stripped, * and other params are added. Params not in $extraParams are unchanged. */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1916
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1952
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1982
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2017
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2022
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2037
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2054
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2078
Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2087
/** * {@inheritdoc} */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2144
/** * @return array containing the URLs of the same page but for different languages */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2152
/** * Sanitize / Clean params of an URL * * @param string $url URL to clean * * @return string cleaned URL */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2177
/** * Recursively sanitize output query * * @param array $query URL query * * @return array */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2221
/** * Validate data recursively to be sure it's URL compliant * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:2240
Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:347
/** * Checks if a template is cached. * * @param string $template * @param string|null $cache_id Cache item ID * @param string|null $compile_id * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:687
/** * @deprecated deprecated since 1.7.5.0, use ajaxRender instead * Dies and echoes output value * * @param string|null $value * @param string|null $controller * @param string|null $method * * @throws PrestaShopException */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:760
/** * @param string|null $value * @param string|null $controller * @param string|null $method * * @throws PrestaShopException */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:773
/** * Sets and returns customer groups that the current customer(visitor) belongs to. * * @return array * * @throws PrestaShopDatabaseException */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1007
/** * returns a new instance of this controller. * * @param string $class_name * @param bool $auth * @param bool $ssl * * @return Controller */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:244
/** * Custom error handler. * * @param int $errno * @param string $errstr * @param string $errfile * @param int $errline * * @return bool */ Inherited from ControllerCore Defined in <ROOT>/classes/controller/Controller.php:706
/** * Checks if user's location is whitelisted. * * @staticvar bool|null $allowed * * @return bool */ Inherited from FrontControllerCore Defined in <ROOT>/classes/controller/FrontController.php:1036
** @author PrestaShop SA and Contributors <contact@prestashop.com>* @copyright Since 2007 PrestaShop SA and Contributors* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)*/require dirname(__FILE__).'/config/config.inc.php';Dispatcher::getInstance()->dispatch();
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:26
/** * Returns the parameters. * * @return array An array of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:36
/** * Returns the parameter keys. * * @return array An array of parameter keys */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:46
/** * Replaces the current parameters by a new set. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:54
/** * Adds parameters. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:62
/** * Returns a parameter by name. * * @param string $key The key * @param mixed $default The default value if the parameter key does not exist * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:75
/** * Sets a parameter by name. * * @param string $key The key * @param mixed $value The value */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:86
/** * Returns true if the parameter is defined. * * @param string $key The key * * @return bool true if the parameter exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:98
/** * Removes a parameter. * * @param string $key The key */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:108
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Returns an iterator for parameters. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:214
/** * Returns the number of parameters. * * @return int The number of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:225
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:26
/** * Returns the parameters. * * @return array An array of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:36
/** * Returns the parameter keys. * * @return array An array of parameter keys */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:46
/** * Replaces the current parameters by a new set. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:54
/** * Adds parameters. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:62
/** * Returns a parameter by name. * * @param string $key The key * @param mixed $default The default value if the parameter key does not exist * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:75
/** * Sets a parameter by name. * * @param string $key The key * @param mixed $value The value */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:86
/** * Returns true if the parameter is defined. * * @param string $key The key * * @return bool true if the parameter exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:98
/** * Removes a parameter. * * @param string $key The key */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:108
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Returns an iterator for parameters. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:214
/** * Returns the number of parameters. * * @return int The number of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:225
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:26
/** * Returns the parameters. * * @return array An array of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:36
/** * Returns the parameter keys. * * @return array An array of parameter keys */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:46
/** * Replaces the current parameters by a new set. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:54
/** * Adds parameters. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:62
/** * Returns a parameter by name. * * @param string $key The key * @param mixed $default The default value if the parameter key does not exist * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:75
/** * Sets a parameter by name. * * @param string $key The key * @param mixed $value The value */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:86
/** * Returns true if the parameter is defined. * * @param string $key The key * * @return bool true if the parameter exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:98
/** * Removes a parameter. * * @param string $key The key */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:108
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Returns an iterator for parameters. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:214
/** * Returns the number of parameters. * * @return int The number of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:225
drwxr-xr-x 1193 1196 4KB Apr 30 09:15 /unum/drukalabak/public_html
drwxr-xr-x 1193 1196 4KB Apr 30 09:15 /unum/drukalabak/public_html
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
-rw-r--r-- 1193 1196 1.1KB Apr 16 10:31 /unum/drukalabak/public_html/index.php
2024-04-30 07:43:36 UTC
/** * Gets the HTTP headers. * * @return array */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ServerBag.php:28
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:26
/** * Returns the parameters. * * @return array An array of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:36
/** * Returns the parameter keys. * * @return array An array of parameter keys */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:46
/** * Replaces the current parameters by a new set. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:54
/** * Adds parameters. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:62
/** * Returns a parameter by name. * * @param string $key The key * @param mixed $default The default value if the parameter key does not exist * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:75
/** * Sets a parameter by name. * * @param string $key The key * @param mixed $value The value */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:86
/** * Returns true if the parameter is defined. * * @param string $key The key * * @return bool true if the parameter exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:98
/** * Removes a parameter. * * @param string $key The key */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:108
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Returns an iterator for parameters. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:214
/** * Returns the number of parameters. * * @return int The number of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:225
drwxr-xr-x 1193 1196 4KB Apr 30 09:15 /unum/drukalabak/public_html
drwxr-xr-x 1193 1196 4KB Apr 30 09:15 /unum/drukalabak/public_html
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
-rw-r--r-- 1193 1196 1.1KB Apr 16 10:31 /unum/drukalabak/public_html/index.php
2024-04-30 07:43:36 UTC
/** * @param array|UploadedFile[] $parameters An array of HTTP files */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/FileBag.php:29
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/FileBag.php:37
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/FileBag.php:46
/** * {@inheritdoc} */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/FileBag.php:58
/** * Returns the parameters. * * @return array An array of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:36
/** * Returns the parameter keys. * * @return array An array of parameter keys */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:46
/** * Returns a parameter by name. * * @param string $key The key * @param mixed $default The default value if the parameter key does not exist * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:75
/** * Returns true if the parameter is defined. * * @param string $key The key * * @return bool true if the parameter exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:98
/** * Removes a parameter. * * @param string $key The key */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:108
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Returns an iterator for parameters. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:214
/** * Returns the number of parameters. * * @return int The number of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:225
/** * Converts uploaded files to UploadedFile instances. * * @param array|UploadedFile $file A (multi-dimensional) array of uploaded file information * * @return UploadedFile[]|UploadedFile|null A (multi-dimensional) array of UploadedFile instances */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/FileBag.php:72
/** * Fixes a malformed PHP $_FILES array. * * PHP has a bug that the format of the $_FILES array differs, depending on * whether the uploaded file fields had normal field names or array-like * field names ("normal" vs. "parent[child]"). * * This method fixes the array to look like the "normal" $_FILES array. * * It's safe to pass an already converted array, in which case this method * just returns the original array unmodified. * * @param array $data * * @return array */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/FileBag.php:114
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:26
/** * Returns the parameters. * * @return array An array of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:36
/** * Returns the parameter keys. * * @return array An array of parameter keys */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:46
/** * Replaces the current parameters by a new set. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:54
/** * Adds parameters. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:62
/** * Returns a parameter by name. * * @param string $key The key * @param mixed $default The default value if the parameter key does not exist * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:75
/** * Sets a parameter by name. * * @param string $key The key * @param mixed $value The value */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:86
/** * Returns true if the parameter is defined. * * @param string $key The key * * @return bool true if the parameter exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:98
/** * Removes a parameter. * * @param string $key The key */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:108
/** * Returns the alphabetic characters of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:121
/** * Returns the alphabetic characters and digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:134
/** * Returns the digits of the parameter value. * * @param string $key The parameter key * @param string $default The default value if the parameter key does not exist * * @return string The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:147
/** * Returns the parameter value converted to integer. * * @param string $key The parameter key * @param int $default The default value if the parameter key does not exist * * @return int The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:161
/** * Returns the parameter value converted to boolean. * * @param string $key The parameter key * @param bool $default The default value if the parameter key does not exist * * @return bool The filtered value */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:174
/** * Filter key. * * @param string $key Key * @param mixed $default Default = null * @param int $filter FILTER_* constant * @param mixed $options Filter options * * @see https://php.net/filter-var * * @return mixed */ Inherited from Symfony\Component\HttpFoundation\ParameterBag Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:191
/** * Returns an iterator for parameters. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:214
/** * Returns the number of parameters. * * @return int The number of parameters */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:225
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:27
/** * Returns the headers as a string. * * @return string The headers */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:39
/** * Returns the headers. * * @param string|null $key The name of the headers to return or null to get them all * * @return array An array of headers */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:65
/** * Returns the parameter keys. * * @return array An array of parameter keys */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:79
/** * Replaces the current HTTP headers by a new set. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:87
/** * Adds new headers the current HTTP headers set. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:96
/** * Returns a header value by name. * * @param string $key The header name * @param string|null $default The default value * * @return string|null The first header value or default value */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:111
/** * Sets a header by name. * * @param string $key The key * @param string|string[]|null $values The value or an array of values * @param bool $replace Whether to replace the actual value or not (true by default) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:140
/** * Returns true if the HTTP header is defined. * * @param string $key The HTTP header * * @return bool true if the parameter exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:172
/** * Returns true if the given HTTP header contains the given value. * * @param string $key The HTTP header name * @param string $value The HTTP value * * @return bool true if the value is contained in the header, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:185
/** * Removes a header. * * @param string $key The HTTP header name */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:195
/** * Returns the HTTP header value converted to a date. * * @param string $key The parameter key * * @return \DateTimeInterface|null The parsed DateTime or the default value if the header does not exist * * @throws \RuntimeException When the HTTP header is not parseable */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:215
/** * Adds a custom Cache-Control directive. * * @param string $key The Cache-Control directive name * @param bool|string $value The Cache-Control directive value */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:234
/** * Returns true if the Cache-Control directive is defined. * * @param string $key The Cache-Control directive * * @return bool true if the directive exists, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:248
/** * Returns a Cache-Control directive value by name. * * @param string $key The directive name * * @return bool|string|null The directive value if defined, null otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:260
/** * Removes a Cache-Control directive. * * @param string $key The Cache-Control directive */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:270
/** * Returns an iterator for headers. * * @return \ArrayIterator An \ArrayIterator instance */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:283
/** * Returns the number of headers. * * @return int The number of headers */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:294
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:299
/** * Parses a Cache-Control HTTP header. * * @param string $header The value of the Cache-Control HTTP header * * @return array An array representing the attribute values */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php:313
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
/** * @param array $query The GET parameters * @param array $request The POST parameters * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...) * @param array $cookies The COOKIE parameters * @param array $files The FILES parameters * @param array $server The SERVER parameters * @param string|resource|null $content The raw body data */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:245
/** * Sets the parameters for this request. * * This method also re-initializes all properties. * * @param array $query The GET parameters * @param array $request The POST parameters * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...) * @param array $cookies The COOKIE parameters * @param array $files The FILES parameters * @param array $server The SERVER parameters * @param string|resource|null $content The raw body data */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:263
/** * Clones a request and overrides some of its parameters. * * @param array $query The GET parameters * @param array $request The POST parameters * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...) * @param array $cookies The COOKIE parameters * @param array $files The FILES parameters * @param array $server The SERVER parameters * * @return static */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:440
/** * Clones the current request. * * Note that the session is not cloned as duplicated requests * are most of the time sub-requests of the main one. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:490
/** * Returns the request as a string. * * @return string The request */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:506
/** * Overrides the PHP global variables according to this request instance. * * It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE. * $_FILES is never overridden, see rfc1867 */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:534
/** * Gets a "parameter" value from any bag. * * This method is mainly useful for libraries that want to provide some flexibility. If you don't need the * flexibility in controllers, it is better to explicitly get request parameters from the appropriate * public property instead (attributes, query, request). * * Order of precedence: PATH (routing placeholders or custom attributes), GET, POST * * @param string $key The key * @param mixed $default The default value if the parameter key does not exist * * @return mixed */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:696
/** * Gets the Session. * * @return SessionInterface The session */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:718
/** * Whether the request contains a Session which was started in one of the * previous requests. * * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:739
/** * Whether the request contains a Session object. * * This method does not give any information about the state of the session object, * like whether the session is started or not. It is just a way to check if this Request * is associated with a Session instance. * * @return bool true when the Request contains a Session object, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:754
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:759
/** * @internal */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:767
/** * Returns the client IP addresses. * * In the returned array the most trusted IP address is first, and the * least trusted one last. The "real" client IP address is the last one, * but this is also the least trusted one. Trusted proxies are stripped. * * Use this method carefully; you should use getClientIp() instead. * * @return array The client IP addresses * * @see getClientIp() */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:785
/** * Returns the client IP address. * * This method can read the client IP address from the "X-Forwarded-For" header * when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-For" * header value is a comma+space separated list of IP addresses, the left-most * being the original client, and each successive proxy that passed the request * adding the IP address where it received the request from. * * If your reverse proxy uses a different header name than "X-Forwarded-For", * ("Client-Ip" for instance), configure it via the $trustedHeaderSet * argument of the Request::setTrustedProxies() method instead. * * @return string|null The client IP address * * @see getClientIps() * @see https://wikipedia.org/wiki/X-Forwarded-For */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:814
/** * Returns current script name. * * @return string */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:826
/** * Returns the path being requested relative to the executed script. * * The path info always starts with a /. * * Suppose this request is instantiated from /mysite on localhost: * * * http://localhost/mysite returns an empty string * * http://localhost/mysite/about returns '/about' * * http://localhost/mysite/enco%20ded returns '/enco%20ded' * * http://localhost/mysite/about?var=1 returns '/about' * * @return string The raw path (i.e. not urldecoded) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:845
/** * Returns the root path from which this request is executed. * * Suppose that an index.php file instantiates this request object: * * * http://localhost/index.php returns an empty string * * http://localhost/index.php/page returns an empty string * * http://localhost/web/index.php returns '/web' * * http://localhost/we%20b/index.php returns '/we%20b' * * @return string The raw path (i.e. not urldecoded) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:866
/** * Returns the root URL from which this request is executed. * * The base URL never ends with a /. * * This is similar to getBasePath(), except that it also includes the * script filename (e.g. index.php) if one exists. * * @return string The raw URL (i.e. not urldecoded) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:885
/** * Gets the request's scheme. * * @return string */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:899
/** * Returns the port on which the request is made. * * This method can read the client port from the "X-Forwarded-Port" header * when trusted proxies were set via "setTrustedProxies()". * * The "X-Forwarded-Port" header must contain the client port. * * @return int|string can be a string if fetched from the server bag */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:914
/** * Returns the user. * * @return string|null */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:942
/** * Returns the password. * * @return string|null */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:952
/** * Gets the user info. * * @return string|null A user name if any and, optionally, scheme-specific information about how to gain authorization to access the server */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:962
/** * Returns the HTTP host being requested. * * The port name will be appended to the host if it's non-standard. * * @return string */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:981
/** * Returns the requested URI (path and query string). * * @return string The raw URI (i.e. not URI decoded) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:998
/** * Gets the scheme and HTTP host. * * If the URL was called with basic authentication, the user * and the password are not added to the generated string. * * @return string The scheme and HTTP host */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1015
/** * Generates a normalized URI (URL) for the Request. * * @return string A normalized URI (URL) for the Request * * @see getQueryString() */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1027
/** * Generates a normalized URI for the given path. * * @param string $path A path to use instead of the current one * * @return string The normalized URI for the path */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1043
/** * Returns the path as relative reference from the current Request path. * * Only the URIs path component (no schema, host etc.) is relevant and must be given. * Both paths must be absolute and not contain relative parts. * Relative URLs from one resource to another are useful when generating self-contained downloadable document archives. * Furthermore, they can be used to reduce the link size in documents. * * Example target paths, given a base path of "/a/b/c/d": * - "/a/b/c/d" -> "" * - "/a/b/c/" -> "./" * - "/a/b/" -> "../" * - "/a/b/c/other" -> "other" * - "/a/x/y" -> "../../x/y" * * @param string $path The target path * * @return string The relative target path */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1067
/** * Generates the normalized query string for the Request. * * It builds a normalized query string, where keys/value pairs are alphabetized * and have consistent escaping. * * @return string|null A normalized query string for the Request */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1111
/** * Checks whether the request is secure or not. * * This method can read the client protocol from the "X-Forwarded-Proto" header * when trusted proxies were set via "setTrustedProxies()". * * The "X-Forwarded-Proto" header must contain the protocol: "https" or "http". * * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1128
/** * Returns the host name. * * This method can read the client host name from the "X-Forwarded-Host" header * when trusted proxies were set via "setTrustedProxies()". * * The "X-Forwarded-Host" header must contain the client host name. * * @return string * * @throws SuspiciousOperationException when the host name is invalid or not trusted */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1151
/** * Sets the request method. * * @param string $method */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1208
/** * Gets the request "intended" method. * * If the X-HTTP-Method-Override header is set, and if the method is a POST, * then it is used to determine the "real" intended HTTP method. * * The _method request parameter can also be used to determine the HTTP method, * but only if enableHttpMethodParameterOverride() has been called. * * The method is always an uppercased string. * * @return string The request method * * @see getRealMethod() */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1229
/** * Gets the "real" request method. * * @return string The request method * * @see getMethod() */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1271
/** * Gets the mime type associated with the format. * * @param string $format The format * * @return string|null The associated mime type (null if not found) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1283
/** * Gets the format associated with the mime type. * * @param string $mimeType The associated mime type * * @return string|null The format (null if not found) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1315
/** * Associates a format with mime types. * * @param string $format The format * @param string|array $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1344
/** * Gets the request format. * * Here is the process to determine the format: * * * format defined by the user (with setRequestFormat()) * * _format request attribute * * $default * * @see getPreferredFormat * * @param string|null $default The default format * * @return string|null The request format */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1368
/** * Sets the request format. * * @param string $format The request format */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1382
/** * Gets the format associated with the request. * * @return string|null The format (null if no content type is present) */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1392
/** * Sets the default locale. * * @param string $locale */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1402
/** * Get the default locale. * * @return string */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1416
/** * Sets the locale. * * @param string $locale */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1426
/** * Get the locale. * * @return string */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1436
/** * Checks if the request method is of specified type. * * @param string $method Uppercase request method (GET, POST etc) * * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1448
/** * Checks whether or not the method is safe. * * @see https://tools.ietf.org/html/rfc7231#section-4.2.1 * * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1460
/** * Checks whether or not the method is idempotent. * * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1474
/** * Checks whether the method is cacheable or not. * * @see https://tools.ietf.org/html/rfc7231#section-4.2.3 * * @return bool True for GET and HEAD, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1486
/** * Returns the protocol version. * * If the application is behind a proxy, the protocol version used in the * requests between the client and the proxy and between the proxy and the * server might be different. This returns the former (from the "Via" header) * if the proxy is trusted (see "setTrustedProxies()"), otherwise it returns * the latter (from the "SERVER_PROTOCOL" server parameter). * * @return string|null */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1502
/** * Returns the request body content. * * @param bool $asResource If true, a resource will be returned * * @return string|resource The request body content or a resource to read the body stream */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1522
/** * Gets the Etags. * * @return array The entity tags */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1565
/** * @return bool */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1573
/** * Gets the preferred format for the response by inspecting, in the following order: * * the request format set using setRequestFormat * * the values of the Accept HTTP header. * * Note that if you use this method, you should send the "Vary: Accept" header * in the response to prevent any issues with intermediary HTTP caches. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1586
/** * Returns the preferred language. * * @param string[] $locales An array of ordered available locales * * @return string|null The preferred locale */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1608
/** * Gets a list of languages acceptable by the client browser. * * @return array Languages ordered in the user browser preferences */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1641
/** * Gets a list of charsets acceptable by the client browser. * * @return array List of charsets in preferable order */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1682
/** * Gets a list of encodings acceptable by the client browser. * * @return array List of encodings in preferable order */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1696
/** * Gets a list of content types acceptable by the client browser. * * @return array List of content types in preferable order */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1710
/** * Returns true if the request is an XMLHttpRequest. * * It works if your JavaScript library sets an X-Requested-With HTTP header. * It is known to work with common JavaScript frameworks: * * @see https://wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript * * @return bool true if the request is an XMLHttpRequest, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1729
/** * Indicates whether this request originated from a trusted proxy. * * This can be useful to determine whether or not to trust the * contents of a proxy-specific header. * * @return bool true if the request came from a trusted proxy, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1989
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1742
/** * Prepares the base URL. * * @return string */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1792
/** * Prepares the base path. * * @return string base path */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1861
/** * Prepares the path info. * * @return string path info */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1887
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1934
/** * Returns the prefix as encoded in the string when the string starts with * the given prefix, null otherwise. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1951
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1994
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:2045
/** * Creates a new request with values from PHP's super globals. * * @return static */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:291
/** * Creates a Request based on a given URI and configuration. * * The information contained in the URI always take precedence * over the other information (server and parameters). * * @param string $uri The URI * @param string $method The HTTP method * @param array $parameters The query (GET) or request (POST) parameters * @param array $cookies The request cookies ($_COOKIE) * @param array $files The request files ($_FILES) * @param array $server The server parameters ($_SERVER) * @param string|resource|null $content The raw body data * * @return static */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:321
/** * Sets a callable able to create a Request instance. * * This is mainly useful when you need to override the Request class * to keep BC with an existing system. It should not be used for any * other purpose. * * @param callable|null $callable A PHP callable */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:423
/** * Sets a list of trusted proxies. * * You should only list the reverse proxies that you manage directly. * * @param array $proxies A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR'] * @param int $trustedHeaderSet A bit field of Request::HEADER_*, to set which headers to trust from your proxies */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:574
/** * Gets the list of trusted proxies. * * @return array An array of trusted proxies */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:593
/** * Gets the set of trusted headers from trusted proxies. * * @return int A bit field of Request::HEADER_* that defines which headers are trusted from your proxies */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:603
/** * Sets a list of trusted host patterns. * * You should only list the hosts you manage using regexs. * * @param array $hostPatterns A list of trusted host patterns */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:615
/** * Gets the list of trusted host patterns. * * @return array An array of trusted host patterns */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:629
/** * Normalizes a query string. * * It builds a normalized query string, where keys/value pairs are alphabetized, * have consistent escaping and unneeded delimiters are removed. * * @param string $qs Query string * * @return string A normalized query string for the Request */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:644
/** * Enables support for the _method request parameter to determine the intended HTTP method. * * Be warned that enabling this feature might lead to CSRF issues in your code. * Check that you are using CSRF tokens when required. * If the HTTP method parameter override is enabled, an html-form with method "POST" can be altered * and used to send a "PUT" or "DELETE" request via the _method request parameter. * If these methods are not protected against CSRF, this presents a possible vulnerability. * * The HTTP method can only be overridden when the real HTTP method is POST. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:667
/** * Checks whether support for the _method request parameter is enabled. * * @return bool True when the _method request parameter is enabled, false otherwise */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:677
/** * Gets the mime types associated with the format. * * @param string $format The format * * @return array The associated mime types */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1299
/** * Initializes HTTP request formats. */ Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1917
Defined in <ROOT>/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php:1966
regexp | param | |
---|---|---|
module | [_a-zA-Z0-9_-]+ | module |
controller | [_a-zA-Z0-9_-]+ | controller |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
regexp | param | |
---|---|---|
id | [0-9]+ | id |
rewrite | [_a-zA-Z0-9-\pL]* | rewrite |
rule | regexp | controller | keywords | params | |
---|---|---|---|---|---|
upload | upload/{file} | #^/upload/(?P<file>.+)$#u | upload | array (1) Depth Limit | array (0) |
category_rule | {id}-{rewrite} | #^/(?P<id_category>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?)$#u | category | array (2) Depth Limit | array (0) |
supplier_rule | supplier/{id}-{rewrite} | #^/supplier/(?P<id_supplier>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?)$#u | supplier | array (2) Depth Limit | array (0) |
manufacturer_rule | brand/{id}-{rewrite} | #^/brand/(?P<id_manufacturer>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?... | manufacturer | array (2) Depth Limit | array (0) |
cms_rule | content/{id}-{rewrite} | #^/content/(?P<id_cms>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?)$#u | cms | array (2) Depth Limit | array (0) |
cms_category_rule | content/category/{id}-{rewrite} | #^/content/category/(?P<id_cms_category>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF... | cms | array (2) Depth Limit | array (0) |
module | module/{module}{/:controller} | #^/module/(?P<module>[_a-zA-Z0-9_-]+)(/(?P<controller>[_a-zA-Z0-9_-]+))?$#u | null | array (2) Depth Limit | array (1) Depth Limit |
product_rule | {category:/}{id}{-:id_product_attribute}-{rewrite}{-:ean13}.html | #^/(([_a-zA-Z0-9-\pL]*)/)?(?P<id_product>[0-9]+)(\-(?P<id_product_attribute>[... | product | array (5) Depth Limit | array (0) |
xipblog-xipblog-module | drukas-skola.html | #^/drukas\-skola\.html$#u | archive | array (0) | array (4) Depth Limit |
xipblog-archive-module | drukas-skola/category/{id}_{rewrite}.html | #^/drukas\-skola/category/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u | archive | array (2) Depth Limit | array (4) Depth Limit |
xipblog-archive-aftrid-module | drukas-skola/category/{rewrite}_{id}.html | #^/drukas\-skola/category/(?P<rewrite>[_a-zA-Z0-9-\pL]*)_(?P<id>[0-9]+)\.html$#u | archive | array (2) Depth Limit | array (4) Depth Limit |
xipblog-archive-wid-module | drukas-skola/category/{id}_{rewrite}.html | #^/drukas\-skola/category/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u | archive | array (2) Depth Limit | array (4) Depth Limit |
xipblog-tag-module | drukas-skola/tag/{id}_{rewrite}.html | #^/drukas\-skola/tag/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u | archive | array (2) Depth Limit | array (4) Depth Limit |
xipblog-tag-aftrid-module | drukas-skola/tag/{rewrite}_{id}.html | #^/drukas\-skola/tag/(?P<rewrite>[_a-zA-Z0-9-\pL]*)_(?P<id>[0-9]+)\.html$#u | archive | array (2) Depth Limit | array (4) Depth Limit |
xipblog-tag-wid-module | drukas-skola/tag/{id}_{rewrite}.html | #^/drukas\-skola/tag/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u | archive | array (2) Depth Limit | array (4) Depth Limit |
xipblog-single-module | drukas-skola/post/{id}_{rewrite}.html | #^/drukas\-skola/post/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u | single | array (2) Depth Limit | array (3) Depth Limit |
xipblog-single-aftrid-module | drukas-skola/post/{rewrite}_{id}.html | #^/drukas\-skola/post/(?P<rewrite>[_a-zA-Z0-9-\pL]*)_(?P<id>[0-9]+)\.html$#u | single | array (2) Depth Limit | array (3) Depth Limit |
xipblog-single-wid-module | drukas-skola/post/{id}_{rewrite}.html | #^/drukas\-skola/post/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u | single | array (2) Depth Limit | array (3) Depth Limit |
order-follow | pasutījuma-izsekošana | #^/pasutījuma\-izsekošana$#u | order-follow | array (0) | array (0) |
history | pasūtījumu-vēsture | #^/pasūtījumu\-vēsture$#u | history | array (0) | array (0) |
password | paroles-atjaunošana | #^/paroles\-atjaunošana$#u | password | array (0) | array (0) |
contact | sazinieties-ar-mums | #^/sazinieties\-ar\-mums$#u | contact | array (0) | array (0) |
prices-drop | nocenotie-produkti | #^/nocenotie\-produkti$#u | prices-drop | array (0) | array (0) |
order-confirmation | order-confirmation | #^/order\-confirmation$#u | order-confirmation | array (0) | array (0) |
pagenotfound | lapa-nav-atrasta | #^/lapa\-nav\-atrasta$#u | pagenotfound | array (0) | array (0) |
new-products | jaunie-produkti | #^/jaunie\-produkti$#u | new-products | array (0) | array (0) |
order-slip | kredītrēķins | #^/kredītrēķins$#u | order-slip | array (0) | array (0) |
cart | iepirkumu-grozs | #^/iepirkumu\-grozs$#u | cart | array (0) | array (0) |
guest-tracking | guest-tracking | #^/guest\-tracking$#u | guest-tracking | array (0) | array (0) |
registration | registration | #^/registration$#u | registration | array (0) | array (0) |
order | pasūtījums | #^/pasūtījums$#u | order | array (0) | array (0) |
best-sales | best-sellers | #^/best\-sellers$#u | best-sales | array (0) | array (0) |
authentication | pieslēgties | #^/pieslēgties$#u | authentication | array (0) | array (0) |
sitemap | lapas karte | #^/lapas karte$#u | sitemap | array (0) | array (0) |
identity | identitāte | #^/identitāte$#u | identity | array (0) | array (0) |
my-account | mans-konts | #^/mans\-konts$#u | my-account | array (0) | array (0) |
supplier | suppliers | #^/suppliers$#u | supplier | array (0) | array (0) |
search | meklēt | #^/meklēt$#u | search | array (0) | array (0) |
stores | veikali | #^/veikali$#u | stores | array (0) | array (0) |
addresses | adreses | #^/adreses$#u | addresses | array (0) | array (0) |
discount | atlaide | #^/atlaide$#u | discount | array (0) | array (0) |
address | adrese | #^/adrese$#u | address | array (0) | array (0) |
manufacturer | brands | #^/brands$#u | manufacturer | array (0) | array (0) |
index | #^/$#u | index | array (0) | array (0) |
#^/supplier/(?P<id_supplier>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?)$#u
#^/brand/(?P<id_manufacturer>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?)$#u
#^/content/category/(?P<id_cms_category>[0-9]+)\-([_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?)$#u
#^/(([_a-zA-Z0-9-\pL]*)/)?(?P<id_product>[0-9]+)(\-(?P<id_product_attribute>[0-9]*+))?\-(?P<rewrite>[_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]*?)(\-([0-9\pL]*))?\.html$#u
#^/drukas\-skola/category/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u
#^/drukas\-skola/category/(?P<rewrite>[_a-zA-Z0-9-\pL]*)_(?P<id>[0-9]+)\.html$#u
#^/drukas\-skola/category/(?P<id>[0-9]+)_(?P<rewrite>[_a-zA-Z0-9-\pL]*)\.html$#u
/** * Sets use_default_controller to true, sets and returns the default controller. * * @return string */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:324
/** * Find the controller and instantiate it. */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:341
/** * Create the route array, by computing the final regex & keywords. * * @param string $rule Url rule * @param string $controller Controller to call if request uri match the rule * @param array $keywords keywords associated with the route * @param array $params optional params of the route * * @return array */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:721
/** * Adds a new route to the list of routes. If it already exists, it will override the existing one. * * @param string $route_id Name of the route * @param string $rule Url rule * @param string $controller Controller to call if request uri match the rule * @param int $id_lang * @param array $keywords * @param array $params * @param int $id_shop */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:791
/** * Returns a list of processed routes getting used. * * @return array List of routes */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:827
/** * Removes a route from a list of processed routes. * * @param string $route_id Name of the route * @param int $id_lang * @param int $id_shop */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:839
/** * Check if a route exists. * * @param string $route_id * @param int $id_lang * @param int $id_shop * * @return bool */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:865
/** * Check if a keyword is written in a route rule. * * @param string $route_id * @param int $id_lang * @param string $keyword * @param int $id_shop * * @return bool */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:887
/** * Check if a route rule contain all required keywords of default route definition. * * @param string $route_id * @param string $rule Rule to verify * @param array $errors List of missing keywords * * @return bool */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:915
/** * Create an url from. * * @param string $route_id Name the route * @param int $id_lang * @param array $params * @param bool $force_routes * @param string $anchor Optional anchor to add at the end of this url * @param null $id_shop * * @return string * * @throws PrestaShopException */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:945
/** * Retrieve the controller from url or request uri if routes are activated. * * @param int $id_shop * * @return string */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:1056
/** * Needs to be instantiated from getInstance() method. * * @param SymfonyRequest|null $request * * @throws PrestaShopException */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:214
/** * Sets request uri and if necessary $_GET['isolang']. */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:522
/** * Load default routes group by languages. * * @param int $id_shop */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:577
/** * Get current instance of dispatcher (singleton). * * @return Dispatcher * * @throws PrestaShopException */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:195
/** * Get list of all available FO controllers. * * @param mixed $dirs * * @return array */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:1170
/** * Get list of all available Module Front controllers. * * @param string $type * @param string|array|null $module * * @return array */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:1192
/** * Get list of available controllers from the specified dir. * * @param string $dir Directory to scan (recursively) * * @return array */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:1232
/** * Get the default php_self value of a controller. * * @param string $controller The controller class name * * @return string|null */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:1263
/** * Get list of all php_self property values of each available controller in the specified dir. * * @param string $dir Directory to scan (recursively) * @param bool $base_name_otherwise Return the controller base name if no php_self is found * * @return array */ Inherited from DispatcherCore Defined in <ROOT>/classes/Dispatcher.php:1283