refactor document events

This commit is contained in:
Manuel Raynaud
2013-09-30 10:32:48 +02:00
parent 7bf5ee31c9
commit 6d5f34767d
19 changed files with 42 additions and 31 deletions

View File

@@ -21,8 +21,9 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Document;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Thelia\Core\Event\ActionEvent;
use Thelia\Model\CategoryDocument;
use Thelia\Model\ContentDocument;
use Thelia\Model\FolderDocument;

View File

@@ -21,8 +21,9 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Document;
use Thelia\Core\Event\ActionEvent;
use Thelia\Model\CategoryDocument;
use Thelia\Model\ContentDocument;
use Thelia\Model\FolderDocument;

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Document;
use Thelia\Core\Event\CachedFileEvent;
/**
* Class DocumentEvent

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\FeatureProduct;
use Thelia\Core\Event\FeatureProduct\FeatureProductEvent;
use Thelia\Model\FeatureProduct;
class FeatureProductDeleteEvent extends FeatureProductEvent

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\FeatureProduct;
use Thelia\Core\Event\ActionEvent;
use Thelia\Model\FeatureProduct;
class FeatureProductEvent extends ActionEvent

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\FeatureProduct;
use Thelia\Core\Event\FeatureProduct\FeatureProductEvent;
use Thelia\Model\FeatureProduct;
class FeatureProductUpdateEvent extends FeatureProductEvent

View File

@@ -21,8 +21,9 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Product;
use Thelia\Core\Event\ProductEvent;
use Thelia\Model\Product;
class ProductAddCategoryEvent extends ProductEvent

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Product;
use Thelia\Core\Event\ProductEvent;
use Thelia\Model\Product;
class ProductCreateCombinationEvent extends ProductEvent

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Product;
use Thelia\Core\Event\ProductEvent;
use Thelia\Model\Product;
class ProductDeleteCategoryEvent extends ProductEvent

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Product;
use Thelia\Core\Event\ProductEvent;
use Thelia\Model\Product;
class ProductDeleteCombinationEvent extends ProductEvent

View File

@@ -21,7 +21,8 @@
/* */
/*************************************************************************************/
namespace Thelia\Core\Event;
namespace Thelia\Core\Event\Product;
use Thelia\Core\Event\ProductEvent;
use Thelia\Model\Product;
use Thelia\Core\Event\ActionEvent;

View File

@@ -24,7 +24,7 @@
namespace Thelia\Core\Template\Loop;
use Thelia\Core\Template\Element\BaseI18nLoop;
use Thelia\Core\Template\Loop\Argument\Argument;
use Thelia\Core\Event\DocumentEvent;
use Thelia\Core\Event\Document\DocumentEvent;
use Thelia\Core\Event\TheliaEvents;
use Thelia\Core\Template\Loop\Argument\ArgumentCollection;
use Thelia\Type\TypeCollection;