update phpDoc and fix cs
This commit is contained in:
@@ -86,7 +86,7 @@ class ConditionCollection implements Iterator, Countable, ArrayAccess
|
|||||||
* @link http://php.net/manual/en/iterator.valid.php
|
* @link http://php.net/manual/en/iterator.valid.php
|
||||||
*
|
*
|
||||||
* @return boolean The return value will be casted to boolean and then evaluated.
|
* @return boolean The return value will be casted to boolean and then evaluated.
|
||||||
* Returns true on success or false on failure.
|
* Returns true on success or false on failure.
|
||||||
*/
|
*/
|
||||||
public function valid()
|
public function valid()
|
||||||
{
|
{
|
||||||
@@ -114,7 +114,7 @@ class ConditionCollection implements Iterator, Countable, ArrayAccess
|
|||||||
* @link http://php.net/manual/en/countable.count.php
|
* @link http://php.net/manual/en/countable.count.php
|
||||||
*
|
*
|
||||||
* @return int The custom count as an integer.
|
* @return int The custom count as an integer.
|
||||||
* The return value is cast to an integer.
|
* The return value is cast to an integer.
|
||||||
*/
|
*/
|
||||||
public function count()
|
public function count()
|
||||||
{
|
{
|
||||||
@@ -126,10 +126,10 @@ class ConditionCollection implements Iterator, Countable, ArrayAccess
|
|||||||
* Whether a offset exists
|
* Whether a offset exists
|
||||||
* @link http://php.net/manual/en/arrayaccess.offsetexists.php
|
* @link http://php.net/manual/en/arrayaccess.offsetexists.php
|
||||||
* @param mixed $offset
|
* @param mixed $offset
|
||||||
* An offset to check for.
|
* An offset to check for.
|
||||||
*
|
*
|
||||||
* @return boolean true on success or false on failure.
|
* @return boolean true on success or false on failure.
|
||||||
* The return value will be casted to boolean if non-boolean was returned.
|
* The return value will be casted to boolean if non-boolean was returned.
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset)
|
public function offsetExists($offset)
|
||||||
{
|
{
|
||||||
@@ -141,7 +141,7 @@ class ConditionCollection implements Iterator, Countable, ArrayAccess
|
|||||||
* Offset to retrieve
|
* Offset to retrieve
|
||||||
* @link http://php.net/manual/en/arrayaccess.offsetget.php
|
* @link http://php.net/manual/en/arrayaccess.offsetget.php
|
||||||
* @param mixed $offset
|
* @param mixed $offset
|
||||||
* The offset to retrieve.
|
* The offset to retrieve.
|
||||||
*
|
*
|
||||||
* @return mixed Can return all value types.
|
* @return mixed Can return all value types.
|
||||||
*/
|
*/
|
||||||
@@ -155,9 +155,9 @@ class ConditionCollection implements Iterator, Countable, ArrayAccess
|
|||||||
* Offset to set
|
* Offset to set
|
||||||
* @link http://php.net/manual/en/arrayaccess.offsetset.php
|
* @link http://php.net/manual/en/arrayaccess.offsetset.php
|
||||||
* @param mixed $offset
|
* @param mixed $offset
|
||||||
* The offset to assign the value to.
|
* The offset to assign the value to.
|
||||||
* @param mixed $value
|
* @param mixed $value
|
||||||
* The value to set.
|
* The value to set.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
@@ -175,7 +175,7 @@ class ConditionCollection implements Iterator, Countable, ArrayAccess
|
|||||||
* Offset to unset
|
* Offset to unset
|
||||||
* @link http://php.net/manual/en/arrayaccess.offsetunset.php
|
* @link http://php.net/manual/en/arrayaccess.offsetunset.php
|
||||||
* @param mixed $offset
|
* @param mixed $offset
|
||||||
* The offset to unset.
|
* The offset to unset.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ namespace Thelia\Condition;
|
|||||||
|
|
||||||
use Thelia\Condition\Implementation\ConditionInterface;
|
use Thelia\Condition\Implementation\ConditionInterface;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validate Conditions
|
* Validate Conditions
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
|||||||
use Thelia\Condition\Implementation\ConditionInterface;
|
use Thelia\Condition\Implementation\ConditionInterface;
|
||||||
use Thelia\Coupon\FacadeInterface;
|
use Thelia\Coupon\FacadeInterface;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Manage how Condition could interact with the current application state (Thelia)
|
* Manage how Condition could interact with the current application state (Thelia)
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
namespace Thelia\Condition\Implementation;
|
namespace Thelia\Condition\Implementation;
|
||||||
|
|
||||||
|
|
||||||
use Thelia\Condition\ConditionEvaluator;
|
use Thelia\Condition\ConditionEvaluator;
|
||||||
use Thelia\Condition\Operators;
|
use Thelia\Condition\Operators;
|
||||||
use Thelia\Condition\SerializableCondition;
|
use Thelia\Condition\SerializableCondition;
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ namespace Thelia\Condition\Implementation;
|
|||||||
|
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allow every one, perform no check
|
* Allow every one, perform no check
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
namespace Thelia\Condition\Implementation;
|
namespace Thelia\Condition\Implementation;
|
||||||
|
|
||||||
|
|
||||||
use Thelia\Condition\Operators;
|
use Thelia\Condition\Operators;
|
||||||
use Thelia\Exception\InvalidConditionOperatorException;
|
use Thelia\Exception\InvalidConditionOperatorException;
|
||||||
use Thelia\Model\Currency;
|
use Thelia\Model\Currency;
|
||||||
|
|||||||
@@ -266,8 +266,9 @@ class BaseAdminController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* Redirect to à route ID related URL
|
* Redirect to à route ID related URL
|
||||||
*
|
*
|
||||||
* @param unknown $routeId the route ID, as found in Config/Resources/routing/admin.xml
|
* @param unknown $routeId the route ID, as found in Config/Resources/routing/admin.xml
|
||||||
* @param unknown $urlParameters the URL parametrs, as a var/value pair array
|
* @param array|\Thelia\Controller\Admin\unknown $urlParameters the URL parametrs, as a var/value pair array
|
||||||
|
* @param array $routeParameters
|
||||||
*/
|
*/
|
||||||
public function redirectToRoute($routeId, array $urlParameters = array(), array $routeParameters = array())
|
public function redirectToRoute($routeId, array $urlParameters = array(), array $routeParameters = array())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -259,6 +259,8 @@ abstract class BaseController extends ContainerAware
|
|||||||
* redirect request to the specified url
|
* redirect request to the specified url
|
||||||
*
|
*
|
||||||
* @param string $url
|
* @param string $url
|
||||||
|
* @param int $status http status. Must be a 30x status
|
||||||
|
* @param array $cookies
|
||||||
*/
|
*/
|
||||||
public function redirect($url, $status = 302, $cookies = array())
|
public function redirect($url, $status = 302, $cookies = array())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -48,8 +48,9 @@ class BaseFrontController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* Redirect to à route ID related URL
|
* Redirect to à route ID related URL
|
||||||
*
|
*
|
||||||
* @param unknown $routeId the route ID, as found in Config/Resources/routing/admin.xml
|
* @param unknown $routeId the route ID, as found in Config/Resources/routing/admin.xml
|
||||||
* @param unknown $urlParameters the URL parametrs, as a var/value pair array
|
* @param array|\Thelia\Controller\Front\unknown $urlParameters the URL parametrs, as a var/value pair array
|
||||||
|
* @param bool $referenceType
|
||||||
*/
|
*/
|
||||||
public function redirectToRoute($routeId, $urlParameters = array(), $referenceType = Router::ABSOLUTE_PATH)
|
public function redirectToRoute($routeId, $urlParameters = array(), $referenceType = Router::ABSOLUTE_PATH)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ class NewsletterEvent extends ActionEvent
|
|||||||
return $this->newsletter;
|
return $this->newsletter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $email
|
* @param string $email
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -37,7 +37,11 @@ class OrderManualEvent extends OrderEvent
|
|||||||
protected $customer = null;
|
protected $customer = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Order $order
|
* @param \Thelia\Model\Order $order
|
||||||
|
* @param \Thelia\Model\Currency $currency
|
||||||
|
* @param \Thelia\Model\Lang $lang
|
||||||
|
* @param \Thelia\Model\Cart $cart
|
||||||
|
* @param \Thelia\Model\Customer $customer
|
||||||
*/
|
*/
|
||||||
public function __construct(Order $order, Currency $currency, Lang $lang, Cart $cart, Customer $customer)
|
public function __construct(Order $order, Currency $currency, Lang $lang, Cart $cart, Customer $customer)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class ShippingZoneAddAreaEvent extends ActionEvent
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param mixed $shopping_zone_id
|
* @param mixed $shipping_zone_id
|
||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -51,13 +51,13 @@ class ViewListener implements EventSubscriberInterface
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @var Symfony\Component\DependencyInjection\ContainerInterface
|
* @var \Symfony\Component\DependencyInjection\ContainerInterface
|
||||||
*/
|
*/
|
||||||
private $container;
|
private $container;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param \Thelia\Core\Template\ParserInterface $parser
|
* @param \Symfony\Component\DependencyInjection\ContainerInterfac $container
|
||||||
*/
|
*/
|
||||||
public function __construct(ContainerInterface $container)
|
public function __construct(ContainerInterface $container)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ class TheliaLoop extends AbstractSmartyPlugin
|
|||||||
|
|
||||||
if ($content === null) {
|
if ($content === null) {
|
||||||
$page = $pagination->getPage();
|
$page = $pagination->getPage();
|
||||||
if($maxPage > ($page + $nbPage)) {
|
if ($maxPage > ($page + $nbPage)) {
|
||||||
$end = $page + $nbPage;
|
$end = $page + $nbPage;
|
||||||
} else {
|
} else {
|
||||||
$end = $maxPage;
|
$end = $maxPage;
|
||||||
|
|||||||
@@ -12,11 +12,12 @@ class AdminLog extends BaseAdminLog
|
|||||||
/**
|
/**
|
||||||
* A simple helper to insert an entry in the admin log
|
* A simple helper to insert an entry in the admin log
|
||||||
*
|
*
|
||||||
* @param $resource
|
* @param $resource
|
||||||
* @param $action
|
* @param $action
|
||||||
* @param $message
|
* @param $message
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Base\Admin $adminUser
|
* @param Base\Admin $adminUser
|
||||||
|
* @param bool $withRequestContent
|
||||||
*/
|
*/
|
||||||
public static function append($resource, $action, $message, Request $request, BaseAdminUser $adminUser = null, $withRequestContent = true)
|
public static function append($resource, $action, $message, Request $request, BaseAdminUser $adminUser = null, $withRequestContent = true)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,24 +33,27 @@ class Customer extends BaseCustomer implements UserInterface
|
|||||||
use \Thelia\Model\Tools\ModelEventDispatcherTrait;
|
use \Thelia\Model\Tools\ModelEventDispatcherTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $titleId customer title id (from customer_title table)
|
* @param int $titleId customer title id (from customer_title table)
|
||||||
* @param string $firstname customer first name
|
* @param string $firstname customer first name
|
||||||
* @param string $lastname customer last name
|
* @param string $lastname customer last name
|
||||||
* @param string $address1 customer address
|
* @param string $address1 customer address
|
||||||
* @param string $address2 customer adress complement 1
|
* @param string $address2 customer adress complement 1
|
||||||
* @param string $address3 customer adress complement 2
|
* @param string $address3 customer adress complement 2
|
||||||
* @param string $phone customer phone number
|
* @param string $phone customer phone number
|
||||||
* @param string $cellphone customer cellphone number
|
* @param string $cellphone customer cellphone number
|
||||||
* @param string $zipcode customer zipcode
|
* @param string $zipcode customer zipcode
|
||||||
* @param string $city
|
* @param string $city
|
||||||
* @param int $countryId customer country id (from Country table)
|
* @param int $countryId customer country id (from Country table)
|
||||||
* @param string $email customer email, must be unique
|
* @param string $email customer email, must be unique
|
||||||
* @param string $plainPassword customer plain password, hash is made calling setPassword method. Not mandatory parameter but an exception is thrown if customer is new without password
|
* @param string $plainPassword customer plain password, hash is made calling setPassword method. Not mandatory parameter but an exception is thrown if customer is new without password
|
||||||
* @param string $lang
|
* @param string $lang
|
||||||
* @param int $reseller
|
* @param int $reseller
|
||||||
* @param null $sponsor
|
* @param null $sponsor
|
||||||
* @param int $discount
|
* @param int $discount
|
||||||
* @throws \Exception|\Symfony\Component\Config\Definition\Exception\Exception
|
* @param null $company
|
||||||
|
* @param null $ref
|
||||||
|
* @throws \Exception
|
||||||
|
* @throws \Propel\Runtime\Exception\PropelException
|
||||||
*/
|
*/
|
||||||
public function createOrUpdate($titleId, $firstname, $lastname, $address1, $address2, $address3, $phone, $cellphone, $zipcode, $city, $countryId, $email = null, $plainPassword = null, $lang = null, $reseller = 0, $sponsor = null, $discount = 0, $company = null, $ref = null)
|
public function createOrUpdate($titleId, $firstname, $lastname, $address1, $address2, $address3, $phone, $cellphone, $zipcode, $city, $countryId, $email = null, $plainPassword = null, $lang = null, $reseller = 0, $sponsor = null, $discount = 0, $company = null, $ref = null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -45,13 +45,12 @@ class Order extends BaseOrder
|
|||||||
return uniqid('ORD', true);
|
return uniqid('ORD', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compute this order amount.
|
* Compute this order amount.
|
||||||
*
|
*
|
||||||
* @param float $tax (output only) returns the tax amount for this order
|
* @param float $tax (output only) returns the tax amount for this order
|
||||||
* @param bool $includePostage if true, the postage cost is included to the total
|
* @param bool $includePostage if true, the postage cost is included to the total
|
||||||
* @param bool $includeDiscount if true, the discount will be included to the total
|
* @param bool $includeDiscount if true, the discount will be included to the total
|
||||||
* @return float
|
* @return float
|
||||||
*/
|
*/
|
||||||
public function getTotalAmount(&$tax = 0, $includePostage = true, $includeDiscount = true)
|
public function getTotalAmount(&$tax = 0, $includePostage = true, $includeDiscount = true)
|
||||||
@@ -98,7 +97,8 @@ class Order extends BaseOrder
|
|||||||
/**
|
/**
|
||||||
* Set the status of the current order to NOT PAID
|
* Set the status of the current order to NOT PAID
|
||||||
*/
|
*/
|
||||||
public function setNotPaid() {
|
public function setNotPaid()
|
||||||
|
{
|
||||||
$this->setStatusHelper(OrderStatus::CODE_NOT_PAID);
|
$this->setStatusHelper(OrderStatus::CODE_NOT_PAID);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -107,14 +107,16 @@ class Order extends BaseOrder
|
|||||||
*
|
*
|
||||||
* @return bool true if this order is NOT PAID, false otherwise.
|
* @return bool true if this order is NOT PAID, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function isNotPaid() {
|
public function isNotPaid()
|
||||||
|
{
|
||||||
return $this->hasStatusHelper(OrderStatus::CODE_NOT_PAID);
|
return $this->hasStatusHelper(OrderStatus::CODE_NOT_PAID);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the status of the current order to PAID
|
* Set the status of the current order to PAID
|
||||||
*/
|
*/
|
||||||
public function setPaid() {
|
public function setPaid()
|
||||||
|
{
|
||||||
$this->setStatusHelper(OrderStatus::CODE_PAID);
|
$this->setStatusHelper(OrderStatus::CODE_PAID);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,14 +125,16 @@ class Order extends BaseOrder
|
|||||||
*
|
*
|
||||||
* @return bool true if this order is PAID, false otherwise.
|
* @return bool true if this order is PAID, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function isPaid() {
|
public function isPaid()
|
||||||
|
{
|
||||||
return $this->hasStatusHelper(OrderStatus::CODE_PAID);
|
return $this->hasStatusHelper(OrderStatus::CODE_PAID);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the status of the current order to PROCESSING
|
* Set the status of the current order to PROCESSING
|
||||||
*/
|
*/
|
||||||
public function setProcessing() {
|
public function setProcessing()
|
||||||
|
{
|
||||||
$this->setStatusHelper(OrderStatus::CODE_PROCESSING);
|
$this->setStatusHelper(OrderStatus::CODE_PROCESSING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,14 +143,16 @@ class Order extends BaseOrder
|
|||||||
*
|
*
|
||||||
* @return bool true if this order is PROCESSING, false otherwise.
|
* @return bool true if this order is PROCESSING, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function isProcessing() {
|
public function isProcessing()
|
||||||
|
{
|
||||||
return $this->hasStatusHelper(OrderStatus::CODE_PROCESSING);
|
return $this->hasStatusHelper(OrderStatus::CODE_PROCESSING);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the status of the current order to SENT
|
* Set the status of the current order to SENT
|
||||||
*/
|
*/
|
||||||
public function setSent() {
|
public function setSent()
|
||||||
|
{
|
||||||
$this->setStatusHelper(OrderStatus::CODE_SENT);
|
$this->setStatusHelper(OrderStatus::CODE_SENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -155,14 +161,16 @@ class Order extends BaseOrder
|
|||||||
*
|
*
|
||||||
* @return bool true if this order is SENT, false otherwise.
|
* @return bool true if this order is SENT, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function isSent() {
|
public function isSent()
|
||||||
|
{
|
||||||
return $this->hasStatusHelper(OrderStatus::CODE_SENT);
|
return $this->hasStatusHelper(OrderStatus::CODE_SENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the status of the current order to CANCELED
|
* Set the status of the current order to CANCELED
|
||||||
*/
|
*/
|
||||||
public function setCancelled() {
|
public function setCancelled()
|
||||||
|
{
|
||||||
$this->setStatusHelper(OrderStatus::CODE_CANCELED);
|
$this->setStatusHelper(OrderStatus::CODE_CANCELED);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,7 +179,8 @@ class Order extends BaseOrder
|
|||||||
*
|
*
|
||||||
* @return bool true if this order is CANCELED, false otherwise.
|
* @return bool true if this order is CANCELED, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function isCancelled() {
|
public function isCancelled()
|
||||||
|
{
|
||||||
return $this->hasStatusHelper(OrderStatus::CODE_CANCELED);
|
return $this->hasStatusHelper(OrderStatus::CODE_CANCELED);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -180,7 +189,8 @@ class Order extends BaseOrder
|
|||||||
*
|
*
|
||||||
* @param string $statusCode the status code, one of OrderStatus::CODE_xxx constants.
|
* @param string $statusCode the status code, one of OrderStatus::CODE_xxx constants.
|
||||||
*/
|
*/
|
||||||
public function setStatusHelper($statusCode) {
|
public function setStatusHelper($statusCode)
|
||||||
|
{
|
||||||
if (null !== $ordeStatus = OrderStatusQuery::create()->findOneByCode($statusCode)) {
|
if (null !== $ordeStatus = OrderStatusQuery::create()->findOneByCode($statusCode)) {
|
||||||
$this->setOrderStatus($ordeStatus)->save();
|
$this->setOrderStatus($ordeStatus)->save();
|
||||||
}
|
}
|
||||||
@@ -189,10 +199,11 @@ class Order extends BaseOrder
|
|||||||
/**
|
/**
|
||||||
* Check if the current status of this order is $statusCode
|
* Check if the current status of this order is $statusCode
|
||||||
*
|
*
|
||||||
* @param string $statusCode the status code, one of OrderStatus::CODE_xxx constants.
|
* @param string $statusCode the status code, one of OrderStatus::CODE_xxx constants.
|
||||||
* @return bool true if this order have the provided status, false otherwise.
|
* @return bool true if this order have the provided status, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function hasStatusHelper($statusCode) {
|
public function hasStatusHelper($statusCode)
|
||||||
|
{
|
||||||
return $this->getOrderStatus()->getCode() == $statusCode;
|
return $this->getOrderStatus()->getCode() == $statusCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,10 @@ class TaxRule extends BaseTaxRule
|
|||||||
use ModelEventDispatcherTrait;
|
use ModelEventDispatcherTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @param Product $product
|
||||||
* @param Country $country
|
* @param Country $country
|
||||||
* @param $untaxedAmount
|
* @param $untaxedAmount
|
||||||
* @param $untaxedPromoAmount
|
* @param $untaxedPromoAmount
|
||||||
* @param null $askedLocale
|
* @param null $askedLocale
|
||||||
*
|
*
|
||||||
* @return OrderProductTaxCollection
|
* @return OrderProductTaxCollection
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ class ModelCriteriaTools
|
|||||||
* @param array $columns
|
* @param array $columns
|
||||||
* @param null $foreignTable
|
* @param null $foreignTable
|
||||||
* @param string $foreignKey
|
* @param string $foreignKey
|
||||||
|
* @param bool $forceReturn
|
||||||
*/
|
*/
|
||||||
public static function getFrontEndI18n(ModelCriteria &$search, $requestedLocale, $columns, $foreignTable, $foreignKey, $forceReturn = false)
|
public static function getFrontEndI18n(ModelCriteria &$search, $requestedLocale, $columns, $foreignTable, $foreignKey, $forceReturn = false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user