Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
1602010548
s:848:"HTTP/1.1 200 OK
Server: nginx
Date: Tue, 06 Oct 2020 16:55:48 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-XSS-Protection: 1; mode=block;
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Feature-Policy: accelerometer 'self'; ambient-light-sensor 'self'; autoplay 'self'; camera 'self'; encrypted-media 'self'; fullscreen 'self'; geolocation 'self'; gyroscope 'self'; magnetometer 'self'; microphone 'self'; midi 'self'; payment 'self'; picture-in-picture *; speaker 'self'; sync-xhr *; usb 'self'; vr 'self';
X-Permitted-Cross-Domain-Policies: none
Expect-CT: enforce, max-age=604800
X-Backend-Server: vm2730.jn-hebergement.com
{"services":[]}";

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,345 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AdminFilter extends \PrestaShopBundle\Entity\AdminFilter implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'employee', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'shop', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'controller', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'action', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filter', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filterId');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'employee', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'shop', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'controller', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'action', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filter', '' . "\0" . 'PrestaShopBundle\\Entity\\AdminFilter' . "\0" . 'filterId');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AdminFilter $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setEmployee($employee)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmployee', array($employee));
return parent::setEmployee($employee);
}
/**
* {@inheritDoc}
*/
public function getEmployee()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmployee', array());
return parent::getEmployee();
}
/**
* {@inheritDoc}
*/
public function setShop($shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShop', array($shop));
return parent::setShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShop()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShop', array());
return parent::getShop();
}
/**
* {@inheritDoc}
*/
public function setController($controller)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setController', array($controller));
return parent::setController($controller);
}
/**
* {@inheritDoc}
*/
public function getController()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getController', array());
return parent::getController();
}
/**
* {@inheritDoc}
*/
public function setAction($action)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAction', array($action));
return parent::setAction($action);
}
/**
* {@inheritDoc}
*/
public function getAction()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAction', array());
return parent::getAction();
}
/**
* {@inheritDoc}
*/
public function setFilter($filter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilter', array($filter));
return parent::setFilter($filter);
}
/**
* {@inheritDoc}
*/
public function getFilter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilter', array());
return parent::getFilter();
}
/**
* {@inheritDoc}
*/
public function getFilterId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilterId', array());
return parent::getFilterId();
}
/**
* {@inheritDoc}
*/
public function setFilterId($filterId)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilterId', array($filterId));
return parent::setFilterId($filterId);
}
/**
* {@inheritDoc}
*/
public function getProductCatalogFilter()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getProductCatalogFilter', array());
return parent::getProductCatalogFilter();
}
/**
* {@inheritDoc}
*/
public function setProductCatalogFilter($filter)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setProductCatalogFilter', array($filter));
return parent::setProductCatalogFilter($filter);
}
}

View File

@@ -0,0 +1,323 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Attribute extends \PrestaShopBundle\Entity\Attribute implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeLangs');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'color', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\Attribute' . "\0" . 'attributeLangs');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Attribute $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setColor($color)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setColor', array($color));
return parent::setColor($color);
}
/**
* {@inheritDoc}
*/
public function getColor()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getColor', array());
return parent::getColor();
}
/**
* {@inheritDoc}
*/
public function setPosition($position)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position));
return parent::setPosition($position);
}
/**
* {@inheritDoc}
*/
public function getPosition()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array());
return parent::getPosition();
}
/**
* {@inheritDoc}
*/
public function setAttributeGroup(\PrestaShopBundle\Entity\AttributeGroup $attributeGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttributeGroup', array($attributeGroup));
return parent::setAttributeGroup($attributeGroup);
}
/**
* {@inheritDoc}
*/
public function getAttributeGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeGroup', array());
return parent::getAttributeGroup();
}
/**
* {@inheritDoc}
*/
public function addShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addShop', array($shop));
return parent::addShop($shop);
}
/**
* {@inheritDoc}
*/
public function removeShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShop', array($shop));
return parent::removeShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShops()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShops', array());
return parent::getShops();
}
/**
* {@inheritDoc}
*/
public function addAttributeLang(\PrestaShopBundle\Entity\AttributeLang $attributeLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAttributeLang', array($attributeLang));
return parent::addAttributeLang($attributeLang);
}
/**
* {@inheritDoc}
*/
public function removeAttributeLang(\PrestaShopBundle\Entity\AttributeLang $attributeLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAttributeLang', array($attributeLang));
return parent::removeAttributeLang($attributeLang);
}
/**
* {@inheritDoc}
*/
public function getAttributeLangs()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeLangs', array());
return parent::getAttributeLangs();
}
}

View File

@@ -0,0 +1,323 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AttributeGroup extends \PrestaShopBundle\Entity\AttributeGroup implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'isColorGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupType', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'attributeGroupLangs', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupTypeAvailable');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'isColorGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupType', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'shops', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'attributeGroupLangs', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroup' . "\0" . 'groupTypeAvailable');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AttributeGroup $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setIsColorGroup($isColorGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsColorGroup', array($isColorGroup));
return parent::setIsColorGroup($isColorGroup);
}
/**
* {@inheritDoc}
*/
public function getIsColorGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsColorGroup', array());
return parent::getIsColorGroup();
}
/**
* {@inheritDoc}
*/
public function setGroupType($groupType)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGroupType', array($groupType));
return parent::setGroupType($groupType);
}
/**
* {@inheritDoc}
*/
public function getGroupType()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGroupType', array());
return parent::getGroupType();
}
/**
* {@inheritDoc}
*/
public function setPosition($position)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position));
return parent::setPosition($position);
}
/**
* {@inheritDoc}
*/
public function getPosition()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array());
return parent::getPosition();
}
/**
* {@inheritDoc}
*/
public function addShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addShop', array($shop));
return parent::addShop($shop);
}
/**
* {@inheritDoc}
*/
public function removeShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShop', array($shop));
return parent::removeShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShops()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShops', array());
return parent::getShops();
}
/**
* {@inheritDoc}
*/
public function addAttributeGroupLang(\PrestaShopBundle\Entity\AttributeGroupLang $attributeGroupLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAttributeGroupLang', array($attributeGroupLang));
return parent::addAttributeGroupLang($attributeGroupLang);
}
/**
* {@inheritDoc}
*/
public function removeAttributeGroupLang(\PrestaShopBundle\Entity\AttributeGroupLang $attributeGroupLang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAttributeGroupLang', array($attributeGroupLang));
return parent::removeAttributeGroupLang($attributeGroupLang);
}
/**
* {@inheritDoc}
*/
public function getAttributeGroupLangs()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeGroupLangs', array());
return parent::getAttributeGroupLangs();
}
}

View File

@@ -0,0 +1,275 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AttributeGroupLang extends \PrestaShopBundle\Entity\AttributeGroupLang implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'publicName');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'attributeGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeGroupLang' . "\0" . 'publicName');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AttributeGroupLang $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name));
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array());
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setPublicName($publicName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublicName', array($publicName));
return parent::setPublicName($publicName);
}
/**
* {@inheritDoc}
*/
public function getPublicName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublicName', array());
return parent::getPublicName();
}
/**
* {@inheritDoc}
*/
public function setAttributeGroup(\PrestaShopBundle\Entity\AttributeGroup $attributeGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttributeGroup', array($attributeGroup));
return parent::setAttributeGroup($attributeGroup);
}
/**
* {@inheritDoc}
*/
public function getAttributeGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeGroup', array());
return parent::getAttributeGroup();
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', array($lang));
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', array());
return parent::getLang();
}
}

View File

@@ -0,0 +1,253 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AttributeLang extends \PrestaShopBundle\Entity\AttributeLang implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'attribute', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'name');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'attribute', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\AttributeLang' . "\0" . 'name');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AttributeLang $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name));
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array());
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setAttribute(\PrestaShopBundle\Entity\Attribute $attribute)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttribute', array($attribute));
return parent::setAttribute($attribute);
}
/**
* {@inheritDoc}
*/
public function getAttribute()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttribute', array());
return parent::getAttribute();
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', array($lang));
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', array());
return parent::getLang();
}
}

View File

@@ -0,0 +1,411 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Lang extends \PrestaShopBundle\Entity\Lang implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isoCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'languageCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'locale', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatLite', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatFull', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isRtl', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'translations', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'shops');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isoCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'languageCode', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'locale', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatLite', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'dateFormatFull', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'isRtl', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'translations', '' . "\0" . 'PrestaShopBundle\\Entity\\Lang' . "\0" . 'shops');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Lang $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name));
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array());
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', array($active));
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', array());
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function setIsoCode($isoCode)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsoCode', array($isoCode));
return parent::setIsoCode($isoCode);
}
/**
* {@inheritDoc}
*/
public function getIsoCode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsoCode', array());
return parent::getIsoCode();
}
/**
* {@inheritDoc}
*/
public function setLanguageCode($languageCode)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLanguageCode', array($languageCode));
return parent::setLanguageCode($languageCode);
}
/**
* {@inheritDoc}
*/
public function getLanguageCode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLanguageCode', array());
return parent::getLanguageCode();
}
/**
* {@inheritDoc}
*/
public function setDateFormatLite($dateFormatLite)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateFormatLite', array($dateFormatLite));
return parent::setDateFormatLite($dateFormatLite);
}
/**
* {@inheritDoc}
*/
public function getDateFormatLite()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateFormatLite', array());
return parent::getDateFormatLite();
}
/**
* {@inheritDoc}
*/
public function setDateFormatFull($dateFormatFull)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateFormatFull', array($dateFormatFull));
return parent::setDateFormatFull($dateFormatFull);
}
/**
* {@inheritDoc}
*/
public function getDateFormatFull()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateFormatFull', array());
return parent::getDateFormatFull();
}
/**
* {@inheritDoc}
*/
public function setIsRtl($isRtl)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsRtl', array($isRtl));
return parent::setIsRtl($isRtl);
}
/**
* {@inheritDoc}
*/
public function getIsRtl()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsRtl', array());
return parent::getIsRtl();
}
/**
* {@inheritDoc}
*/
public function isRTL()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isRTL', array());
return parent::isRTL();
}
/**
* {@inheritDoc}
*/
public function getLocale()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocale', array());
return parent::getLocale();
}
/**
* {@inheritDoc}
*/
public function setLocale($locale)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocale', array($locale));
return parent::setLocale($locale);
}
/**
* {@inheritDoc}
*/
public function addShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addShop', array($shop));
return parent::addShop($shop);
}
/**
* {@inheritDoc}
*/
public function removeShop(\PrestaShopBundle\Entity\Shop $shop)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeShop', array($shop));
return parent::removeShop($shop);
}
/**
* {@inheritDoc}
*/
public function getShops()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShops', array());
return parent::getShops();
}
}

View File

@@ -0,0 +1,290 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ModuleHistory extends \PrestaShopBundle\Entity\ModuleHistory implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idModule', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateUpd');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'idModule', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ModuleHistory' . "\0" . 'dateUpd');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ModuleHistory $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setIdEmployee($idEmployee)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdEmployee', array($idEmployee));
return parent::setIdEmployee($idEmployee);
}
/**
* {@inheritDoc}
*/
public function getIdEmployee()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdEmployee', array());
return parent::getIdEmployee();
}
/**
* {@inheritDoc}
*/
public function setIdModule($idModule)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdModule', array($idModule));
return parent::setIdModule($idModule);
}
/**
* {@inheritDoc}
*/
public function getIdModule()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdModule', array());
return parent::getIdModule();
}
/**
* {@inheritDoc}
*/
public function setDateAdd($dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', array($dateAdd));
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', array());
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function setDateUpd($dateUpd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateUpd', array($dateUpd));
return parent::setDateUpd($dateUpd);
}
/**
* {@inheritDoc}
*/
public function getDateUpd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateUpd', array());
return parent::getDateUpd();
}
/**
* {@inheritDoc}
*/
public function updatedTimestamps()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'updatedTimestamps', array());
return parent::updatedTimestamps();
}
}

View File

@@ -0,0 +1,411 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ProductDownload extends \PrestaShopBundle\Entity\ProductDownload implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'idProduct', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'displayFilename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'filename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateExpiration', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDaysAccessible', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDownloadable', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'isShareable');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'idProduct', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'displayFilename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'filename', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'dateExpiration', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDaysAccessible', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'nbDownloadable', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ProductDownload' . "\0" . 'isShareable');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ProductDownload $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getIdProduct()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdProduct', array());
return parent::getIdProduct();
}
/**
* {@inheritDoc}
*/
public function getDisplayFilename()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDisplayFilename', array());
return parent::getDisplayFilename();
}
/**
* {@inheritDoc}
*/
public function getFilename()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilename', array());
return parent::getFilename();
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', array());
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function getDateExpiration()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateExpiration', array());
return parent::getDateExpiration();
}
/**
* {@inheritDoc}
*/
public function getNbDaysAccessible()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNbDaysAccessible', array());
return parent::getNbDaysAccessible();
}
/**
* {@inheritDoc}
*/
public function getNbDownloadable()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getNbDownloadable', array());
return parent::getNbDownloadable();
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', array());
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function getIsShareable()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsShareable', array());
return parent::getIsShareable();
}
/**
* {@inheritDoc}
*/
public function setId($id)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', array($id));
return parent::setId($id);
}
/**
* {@inheritDoc}
*/
public function setIdProduct($idProduct)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdProduct', array($idProduct));
return parent::setIdProduct($idProduct);
}
/**
* {@inheritDoc}
*/
public function setDisplayFilename($displayFilename)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDisplayFilename', array($displayFilename));
return parent::setDisplayFilename($displayFilename);
}
/**
* {@inheritDoc}
*/
public function setFilename($filename)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilename', array($filename));
return parent::setFilename($filename);
}
/**
* {@inheritDoc}
*/
public function setDateAdd(\DateTime $dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', array($dateAdd));
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function setDateExpiration(\DateTime $dateExpiration)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateExpiration', array($dateExpiration));
return parent::setDateExpiration($dateExpiration);
}
/**
* {@inheritDoc}
*/
public function setNbDaysAccessible($nbDaysAccessible)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNbDaysAccessible', array($nbDaysAccessible));
return parent::setNbDaysAccessible($nbDaysAccessible);
}
/**
* {@inheritDoc}
*/
public function setNbDownloadable($nbDownloadable)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setNbDownloadable', array($nbDownloadable));
return parent::setNbDownloadable($nbDownloadable);
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', array($active));
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function setIsShareable($isShareable)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsShareable', array($isShareable));
return parent::setIsShareable($isShareable);
}
/**
* {@inheritDoc}
*/
public function updateTimestamps()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'updateTimestamps', array());
return parent::updateTimestamps();
}
}

View File

@@ -0,0 +1,323 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Shop extends \PrestaShopBundle\Entity\Shop implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'shopGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'idCategory', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'themeName', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'deleted');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'shopGroup', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'idCategory', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'themeName', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Shop' . "\0" . 'deleted');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Shop $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name));
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array());
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setIdCategory($idCategory)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdCategory', array($idCategory));
return parent::setIdCategory($idCategory);
}
/**
* {@inheritDoc}
*/
public function getIdCategory()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdCategory', array());
return parent::getIdCategory();
}
/**
* {@inheritDoc}
*/
public function setThemeName($themeName)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setThemeName', array($themeName));
return parent::setThemeName($themeName);
}
/**
* {@inheritDoc}
*/
public function getThemeName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getThemeName', array());
return parent::getThemeName();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', array($active));
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', array());
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function setDeleted($deleted)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', array($deleted));
return parent::setDeleted($deleted);
}
/**
* {@inheritDoc}
*/
public function getDeleted()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeleted', array());
return parent::getDeleted();
}
/**
* {@inheritDoc}
*/
public function setShopGroup(\PrestaShopBundle\Entity\ShopGroup $shopGroup)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShopGroup', array($shopGroup));
return parent::setShopGroup($shopGroup);
}
/**
* {@inheritDoc}
*/
public function getShopGroup()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShopGroup', array());
return parent::getShopGroup();
}
}

View File

@@ -0,0 +1,323 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class ShopGroup extends \PrestaShopBundle\Entity\ShopGroup implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareCustomer', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareStock', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'deleted');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'name', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareCustomer', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'shareStock', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\ShopGroup' . "\0" . 'deleted');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (ShopGroup $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name));
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array());
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setShareCustomer($shareCustomer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShareCustomer', array($shareCustomer));
return parent::setShareCustomer($shareCustomer);
}
/**
* {@inheritDoc}
*/
public function getShareCustomer()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShareCustomer', array());
return parent::getShareCustomer();
}
/**
* {@inheritDoc}
*/
public function setShareOrder($shareOrder)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShareOrder', array($shareOrder));
return parent::setShareOrder($shareOrder);
}
/**
* {@inheritDoc}
*/
public function getShareOrder()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShareOrder', array());
return parent::getShareOrder();
}
/**
* {@inheritDoc}
*/
public function setShareStock($shareStock)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setShareStock', array($shareStock));
return parent::setShareStock($shareStock);
}
/**
* {@inheritDoc}
*/
public function getShareStock()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getShareStock', array());
return parent::getShareStock();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', array($active));
return parent::setActive($active);
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', array());
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function setDeleted($deleted)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDeleted', array($deleted));
return parent::setDeleted($deleted);
}
/**
* {@inheritDoc}
*/
public function getDeleted()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDeleted', array());
return parent::getDeleted();
}
}

View File

@@ -0,0 +1,499 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class StockMvt extends \PrestaShopBundle\Entity\StockMvt implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvt', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStock', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idSupplyOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvtReason', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeLastname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeFirstname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'physicalQuantity', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'sign', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'priceTe', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'lastWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'currentWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'referer');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvt', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStock', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idSupplyOrder', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idStockMvtReason', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'idEmployee', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeLastname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'employeeFirstname', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'physicalQuantity', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'dateAdd', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'sign', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'priceTe', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'lastWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'currentWa', '' . "\0" . 'PrestaShopBundle\\Entity\\StockMvt' . "\0" . 'referer');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (StockMvt $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getIdStockMvt()
{
if ($this->__isInitialized__ === false) {
return parent::getIdStockMvt();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdStockMvt', array());
return parent::getIdStockMvt();
}
/**
* {@inheritDoc}
*/
public function setIdStock($idStock)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdStock', array($idStock));
return parent::setIdStock($idStock);
}
/**
* {@inheritDoc}
*/
public function getIdStock()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdStock', array());
return parent::getIdStock();
}
/**
* {@inheritDoc}
*/
public function setIdOrder($idOrder)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdOrder', array($idOrder));
return parent::setIdOrder($idOrder);
}
/**
* {@inheritDoc}
*/
public function getIdOrder()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdOrder', array());
return parent::getIdOrder();
}
/**
* {@inheritDoc}
*/
public function setIdSupplyOrder($idSupplyOrder)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdSupplyOrder', array($idSupplyOrder));
return parent::setIdSupplyOrder($idSupplyOrder);
}
/**
* {@inheritDoc}
*/
public function getIdSupplyOrder()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdSupplyOrder', array());
return parent::getIdSupplyOrder();
}
/**
* {@inheritDoc}
*/
public function setIdStockMvtReason($idStockMvtReason)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdStockMvtReason', array($idStockMvtReason));
return parent::setIdStockMvtReason($idStockMvtReason);
}
/**
* {@inheritDoc}
*/
public function getIdStockMvtReason()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdStockMvtReason', array());
return parent::getIdStockMvtReason();
}
/**
* {@inheritDoc}
*/
public function setIdEmployee($idEmployee)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setIdEmployee', array($idEmployee));
return parent::setIdEmployee($idEmployee);
}
/**
* {@inheritDoc}
*/
public function getIdEmployee()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdEmployee', array());
return parent::getIdEmployee();
}
/**
* {@inheritDoc}
*/
public function setEmployeeLastname($employeeLastname)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmployeeLastname', array($employeeLastname));
return parent::setEmployeeLastname($employeeLastname);
}
/**
* {@inheritDoc}
*/
public function getEmployeeLastname()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmployeeLastname', array());
return parent::getEmployeeLastname();
}
/**
* {@inheritDoc}
*/
public function setEmployeeFirstname($employeeFirstname)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmployeeFirstname', array($employeeFirstname));
return parent::setEmployeeFirstname($employeeFirstname);
}
/**
* {@inheritDoc}
*/
public function getEmployeeFirstname()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmployeeFirstname', array());
return parent::getEmployeeFirstname();
}
/**
* {@inheritDoc}
*/
public function setPhysicalQuantity($physicalQuantity)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPhysicalQuantity', array($physicalQuantity));
return parent::setPhysicalQuantity($physicalQuantity);
}
/**
* {@inheritDoc}
*/
public function getPhysicalQuantity()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPhysicalQuantity', array());
return parent::getPhysicalQuantity();
}
/**
* {@inheritDoc}
*/
public function setDateAdd($dateAdd)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdd', array($dateAdd));
return parent::setDateAdd($dateAdd);
}
/**
* {@inheritDoc}
*/
public function getDateAdd()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdd', array());
return parent::getDateAdd();
}
/**
* {@inheritDoc}
*/
public function setSign($sign)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSign', array($sign));
return parent::setSign($sign);
}
/**
* {@inheritDoc}
*/
public function getSign()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSign', array());
return parent::getSign();
}
/**
* {@inheritDoc}
*/
public function setPriceTe($priceTe)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPriceTe', array($priceTe));
return parent::setPriceTe($priceTe);
}
/**
* {@inheritDoc}
*/
public function getPriceTe()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPriceTe', array());
return parent::getPriceTe();
}
/**
* {@inheritDoc}
*/
public function setLastWa($lastWa)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastWa', array($lastWa));
return parent::setLastWa($lastWa);
}
/**
* {@inheritDoc}
*/
public function getLastWa()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastWa', array());
return parent::getLastWa();
}
/**
* {@inheritDoc}
*/
public function setCurrentWa($currentWa)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCurrentWa', array($currentWa));
return parent::setCurrentWa($currentWa);
}
/**
* {@inheritDoc}
*/
public function getCurrentWa()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCurrentWa', array());
return parent::getCurrentWa();
}
/**
* {@inheritDoc}
*/
public function setReferer($referer)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReferer', array($referer));
return parent::setReferer($referer);
}
/**
* {@inheritDoc}
*/
public function getReferer()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReferer', array());
return parent::getReferer();
}
}

View File

@@ -0,0 +1,290 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Tab extends \PrestaShopBundle\Entity\Tab implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'idParent', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'module', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'className', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'hideHostMode', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'icon', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'tabLangs');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'idParent', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'position', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'module', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'className', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'active', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'hideHostMode', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'icon', '' . "\0" . 'PrestaShopBundle\\Entity\\Tab' . "\0" . 'tabLangs');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Tab $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getIdParent()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdParent', array());
return parent::getIdParent();
}
/**
* {@inheritDoc}
*/
public function getPosition()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array());
return parent::getPosition();
}
/**
* {@inheritDoc}
*/
public function getModule()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getModule', array());
return parent::getModule();
}
/**
* {@inheritDoc}
*/
public function getClassName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getClassName', array());
return parent::getClassName();
}
/**
* {@inheritDoc}
*/
public function getActive()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getActive', array());
return parent::getActive();
}
/**
* {@inheritDoc}
*/
public function getHideHostMode()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getHideHostMode', array());
return parent::getHideHostMode();
}
/**
* {@inheritDoc}
*/
public function getIcon()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getIcon', array());
return parent::getIcon();
}
/**
* {@inheritDoc}
*/
public function getTabLangs()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTabLangs', array());
return parent::getTabLangs();
}
/**
* {@inheritDoc}
*/
public function setActive($active)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive', array($active));
return parent::setActive($active);
}
}

View File

@@ -0,0 +1,231 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class TabLang extends \PrestaShopBundle\Entity\TabLang implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'name');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\TabLang' . "\0" . 'name');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (TabLang $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name));
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array());
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', array($lang));
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', array());
return parent::getLang();
}
}

View File

@@ -0,0 +1,301 @@
<?php
namespace Proxies\__CG__\PrestaShopBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Translation extends \PrestaShopBundle\Entity\Translation implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'key', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'translation', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'domain', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'theme');
}
return array('__isInitialized__', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'id', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'lang', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'key', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'translation', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'domain', '' . "\0" . 'PrestaShopBundle\\Entity\\Translation' . "\0" . 'theme');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Translation $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getKey()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getKey', array());
return parent::getKey();
}
/**
* {@inheritDoc}
*/
public function getTranslation()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslation', array());
return parent::getTranslation();
}
/**
* {@inheritDoc}
*/
public function getLang()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLang', array());
return parent::getLang();
}
/**
* {@inheritDoc}
*/
public function getDomain()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDomain', array());
return parent::getDomain();
}
/**
* {@inheritDoc}
*/
public function setKey($key)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setKey', array($key));
return parent::setKey($key);
}
/**
* {@inheritDoc}
*/
public function setTranslation($translation)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTranslation', array($translation));
return parent::setTranslation($translation);
}
/**
* {@inheritDoc}
*/
public function setLang(\PrestaShopBundle\Entity\Lang $lang)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLang', array($lang));
return parent::setLang($lang);
}
/**
* {@inheritDoc}
*/
public function setDomain($domain)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDomain', array($domain));
return parent::setDomain($domain);
}
/**
* {@inheritDoc}
*/
public function getTheme()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getTheme', array());
return parent::getTheme();
}
/**
* {@inheritDoc}
*/
public function setTheme($theme)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setTheme', array($theme));
return parent::setTheme($theme);
}
}