Des modules ajoutés et mise en page du CSS
This commit is contained in:
48
local/modules/PayPal/Model/PaypalCart.php
Normal file
48
local/modules/PayPal/Model/PaypalCart.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalCart as BasePaypalCart;
|
||||
use Propel\Runtime\Connection\ConnectionInterface;
|
||||
use Propel\Runtime\Exception\PropelException;
|
||||
use Thelia\Model\Cart;
|
||||
use Thelia\Model\CartQuery;
|
||||
|
||||
class PaypalCart extends BasePaypalCart
|
||||
{
|
||||
/**
|
||||
* Get the associated ChildCart object
|
||||
*
|
||||
* @param ConnectionInterface $con Optional Connection object.
|
||||
* @return Cart The associated ChildCart object.
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function getCart(ConnectionInterface $con = null)
|
||||
{
|
||||
if ($this->aCart === null && ($this->id !== null)) {
|
||||
$this->aCart = CartQuery::create()->findPk($this->id, $con);
|
||||
}
|
||||
|
||||
return $this->aCart;
|
||||
}
|
||||
|
||||
/**
|
||||
* Declares an association between this object and a ChildCart object.
|
||||
*
|
||||
* @param Cart $cart
|
||||
* @return \PayPal\Model\PaypalCart The current object (for fluent API support)
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function setCart(Cart $cart = null)
|
||||
{
|
||||
if ($cart === null) {
|
||||
$this->setId(NULL);
|
||||
} else {
|
||||
$this->setId($cart->getId());
|
||||
}
|
||||
|
||||
$this->aCart = $cart;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
21
local/modules/PayPal/Model/PaypalCartQuery.php
Normal file
21
local/modules/PayPal/Model/PaypalCartQuery.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalCartQuery as BasePaypalCartQuery;
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'paypal_cart' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
* long as it does not already exist in the output directory.
|
||||
*
|
||||
*/
|
||||
class PaypalCartQuery extends BasePaypalCartQuery
|
||||
{
|
||||
|
||||
} // PaypalCartQuery
|
||||
52
local/modules/PayPal/Model/PaypalCustomer.php
Normal file
52
local/modules/PayPal/Model/PaypalCustomer.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Api\OpenIdUserinfo;
|
||||
use PayPal\Model\Base\PaypalCustomer as BasePaypalCustomer;
|
||||
use Propel\Runtime\Connection\ConnectionInterface;
|
||||
use Propel\Runtime\Exception\PropelException;
|
||||
use Thelia\Model\Customer;
|
||||
use Thelia\Model\CustomerQuery;
|
||||
|
||||
class PaypalCustomer extends BasePaypalCustomer
|
||||
{
|
||||
/** @var OpenIdUserinfo */
|
||||
protected $openIdUserinfo;
|
||||
|
||||
/**
|
||||
* Get the associated ChildCustomer object
|
||||
*
|
||||
* @param ConnectionInterface $con Optional Connection object.
|
||||
* @return Customer The associated ChildCustomer object.
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function getCustomer(ConnectionInterface $con = null)
|
||||
{
|
||||
if ($this->aCustomer === null && ($this->id !== null)) {
|
||||
$this->aCustomer = CustomerQuery::create()->findPk($this->id, $con);
|
||||
}
|
||||
|
||||
return $this->aCustomer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Declares an association between this object and a ChildCustomer object.
|
||||
*
|
||||
* @param Customer $customer
|
||||
* @return \PayPal\Model\PaypalCustomer The current object (for fluent API support)
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function setCustomer(Customer $customer = null)
|
||||
{
|
||||
if ($customer === null) {
|
||||
$this->setId(NULL);
|
||||
} else {
|
||||
$this->setId($customer->getId());
|
||||
}
|
||||
|
||||
$this->aCustomer = $customer;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
21
local/modules/PayPal/Model/PaypalCustomerQuery.php
Normal file
21
local/modules/PayPal/Model/PaypalCustomerQuery.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalCustomerQuery as BasePaypalCustomerQuery;
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'paypal_customer' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
* long as it does not already exist in the output directory.
|
||||
*
|
||||
*/
|
||||
class PaypalCustomerQuery extends BasePaypalCustomerQuery
|
||||
{
|
||||
|
||||
} // PaypalCustomerQuery
|
||||
10
local/modules/PayPal/Model/PaypalLog.php
Normal file
10
local/modules/PayPal/Model/PaypalLog.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalLog as BasePaypalLog;
|
||||
|
||||
class PaypalLog extends BasePaypalLog
|
||||
{
|
||||
|
||||
}
|
||||
21
local/modules/PayPal/Model/PaypalLogQuery.php
Normal file
21
local/modules/PayPal/Model/PaypalLogQuery.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalLogQuery as BasePaypalLogQuery;
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'paypal_log' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
* long as it does not already exist in the output directory.
|
||||
*
|
||||
*/
|
||||
class PaypalLogQuery extends BasePaypalLogQuery
|
||||
{
|
||||
|
||||
} // PaypalLogQuery
|
||||
48
local/modules/PayPal/Model/PaypalOrder.php
Normal file
48
local/modules/PayPal/Model/PaypalOrder.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalOrder as BasePaypalOrder;
|
||||
use Propel\Runtime\Connection\ConnectionInterface;
|
||||
use Propel\Runtime\Exception\PropelException;
|
||||
use Thelia\Model\Order;
|
||||
use Thelia\Model\OrderQuery;
|
||||
|
||||
class PaypalOrder extends BasePaypalOrder
|
||||
{
|
||||
/**
|
||||
* Get the associated ChildOrder object
|
||||
*
|
||||
* @param ConnectionInterface $con Optional Connection object.
|
||||
* @return Order The associated ChildOrder object.
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function getOrder(ConnectionInterface $con = null)
|
||||
{
|
||||
if ($this->aOrder === null && ($this->id !== null)) {
|
||||
$this->aOrder = OrderQuery::create()->findPk($this->id, $con);
|
||||
}
|
||||
|
||||
return $this->aOrder;
|
||||
}
|
||||
|
||||
/**
|
||||
* Declares an association between this object and a ChildOrder object.
|
||||
*
|
||||
* @param Order $order
|
||||
* @return \PayPal\Model\PaypalOrder The current object (for fluent API support)
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function setOrder(Order $order = null)
|
||||
{
|
||||
if ($order === null) {
|
||||
$this->setId(NULL);
|
||||
} else {
|
||||
$this->setId($order->getId());
|
||||
}
|
||||
|
||||
$this->aOrder = $order;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
21
local/modules/PayPal/Model/PaypalOrderQuery.php
Normal file
21
local/modules/PayPal/Model/PaypalOrderQuery.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalOrderQuery as BasePaypalOrderQuery;
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'paypal_order' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
* long as it does not already exist in the output directory.
|
||||
*
|
||||
*/
|
||||
class PaypalOrderQuery extends BasePaypalOrderQuery
|
||||
{
|
||||
|
||||
} // PaypalOrderQuery
|
||||
10
local/modules/PayPal/Model/PaypalPlan.php
Normal file
10
local/modules/PayPal/Model/PaypalPlan.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalPlan as BasePaypalPlan;
|
||||
|
||||
class PaypalPlan extends BasePaypalPlan
|
||||
{
|
||||
|
||||
}
|
||||
21
local/modules/PayPal/Model/PaypalPlanQuery.php
Normal file
21
local/modules/PayPal/Model/PaypalPlanQuery.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalPlanQuery as BasePaypalPlanQuery;
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'paypal_plan' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
* long as it does not already exist in the output directory.
|
||||
*
|
||||
*/
|
||||
class PaypalPlanQuery extends BasePaypalPlanQuery
|
||||
{
|
||||
|
||||
} // PaypalPlanQuery
|
||||
10
local/modules/PayPal/Model/PaypalPlanifiedPayment.php
Normal file
10
local/modules/PayPal/Model/PaypalPlanifiedPayment.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalPlanifiedPayment as BasePaypalPlanifiedPayment;
|
||||
|
||||
class PaypalPlanifiedPayment extends BasePaypalPlanifiedPayment
|
||||
{
|
||||
|
||||
}
|
||||
10
local/modules/PayPal/Model/PaypalPlanifiedPaymentI18n.php
Normal file
10
local/modules/PayPal/Model/PaypalPlanifiedPaymentI18n.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalPlanifiedPaymentI18n as BasePaypalPlanifiedPaymentI18n;
|
||||
|
||||
class PaypalPlanifiedPaymentI18n extends BasePaypalPlanifiedPaymentI18n
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalPlanifiedPaymentI18nQuery as BasePaypalPlanifiedPaymentI18nQuery;
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'paypal_planified_payment_i18n' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
* long as it does not already exist in the output directory.
|
||||
*
|
||||
*/
|
||||
class PaypalPlanifiedPaymentI18nQuery extends BasePaypalPlanifiedPaymentI18nQuery
|
||||
{
|
||||
|
||||
} // PaypalPlanifiedPaymentI18nQuery
|
||||
21
local/modules/PayPal/Model/PaypalPlanifiedPaymentQuery.php
Normal file
21
local/modules/PayPal/Model/PaypalPlanifiedPaymentQuery.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Model;
|
||||
|
||||
use PayPal\Model\Base\PaypalPlanifiedPaymentQuery as BasePaypalPlanifiedPaymentQuery;
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'paypal_planified_payment' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
* long as it does not already exist in the output directory.
|
||||
*
|
||||
*/
|
||||
class PaypalPlanifiedPaymentQuery extends BasePaypalPlanifiedPaymentQuery
|
||||
{
|
||||
|
||||
} // PaypalPlanifiedPaymentQuery
|
||||
Reference in New Issue
Block a user