TheliaAdminHook::onBrandEditJs()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
/*************************************************************************************/
3
/*      This file is part of the Thelia package.                                     */
4
/*                                                                                   */
5
/*      Copyright (c) OpenStudio                                                     */
6
/*      email : [email protected]                                                       */
7
/*      web : http://www.thelia.net                                                  */
8
/*                                                                                   */
9
/*      For the full copyright and license information, please view the LICENSE.txt  */
10
/*      file that was distributed with this source code.                             */
11
/*************************************************************************************/
12
/*************************************************************************************/
13
14
namespace Dealer\Hook;
15
16
use Thelia\Core\Event\Hook\HookRenderEvent;
17
use Thelia\Core\Hook\BaseHook;
18
19
/**
20
 * Class TheliaAdminHook
21
 * @package Dealer\Hook
22
 */
23
class TheliaAdminHook extends BaseHook
24
{
25
    public function onContentModuleTab(HookRenderEvent $event)
26
    {
27
        $event->add($this->render("hook/content.html",$event->getArguments()));
28
    }
29
30
    public function onContentEditJs(HookRenderEvent $event){
31
        $event->add($this->render("script/dealer-content-js.html",$event->getArguments()));
32
    }
33
34
    public function onFolderModuleTab(HookRenderEvent $event)
35
    {
36
        $event->add($this->render("hook/folder.html",$event->getArguments()));
37
    }
38
39
    public function onFolderEditJs(HookRenderEvent $event){
40
        $event->add($this->render("script/dealer-folder-js.html",$event->getArguments()));
41
    }
42
43
    public function onBrandModuleTab(HookRenderEvent $event)
44
    {
45
        $event->add($this->render("hook/brand.html",$event->getArguments()));
46
    }
47
48
    public function onBrandEditJs(HookRenderEvent $event){
49
        $event->add($this->render("script/dealer-brand-js.html",$event->getArguments()));
50
    }
51
52
    public function onProductModuleTab(HookRenderEvent $event)
53
    {
54
        $event->add($this->render("hook/product.html",$event->getArguments()));
55
    }
56
57
    public function onProductEditJs(HookRenderEvent $event){
58
        $event->add($this->render("script/dealer-product-js.html",$event->getArguments()));
59
    }
60
}