~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Event/LayoutBuildRegionEvent.php

  • Committer: Dan Garner
  • Date: 2016-06-28 15:02:11 UTC
  • mto: This revision was merged to the branch mainline in revision 528.
  • Revision ID: git-v1:51031805c36c1d366fa330b2c2320d1927c57003
Fixes for upgrade steps

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * Spring Signage Ltd - http://www.springsignage.com
4
 
 * Copyright (C) 2016 Spring Signage Ltd
5
 
 * (LayoutBuildEvent.php)
6
 
 */
7
 
 
8
 
 
9
 
namespace Xibo\Event;
10
 
 
11
 
 
12
 
use Symfony\Component\EventDispatcher\Event;
13
 
 
14
 
/**
15
 
 * Class LayoutBuildRegionEvent
16
 
 * @package Xibo\Event
17
 
 */
18
 
class LayoutBuildRegionEvent extends Event
19
 
{
20
 
    const NAME = 'layout.build.region';
21
 
 
22
 
    /** @var  int */
23
 
    protected $regionId;
24
 
 
25
 
    /** @var  \DOMElement */
26
 
    protected $regionNode;
27
 
 
28
 
    /**
29
 
     * LayoutBuildEvent constructor.
30
 
     * @param int $regionId
31
 
     * @param \DOMElement $regionNode
32
 
     */
33
 
    public function __construct($regionId, $regionNode)
34
 
    {
35
 
        $this->regionId = $regionId;
36
 
        $this->regionNode = $regionNode;
37
 
    }
38
 
 
39
 
    /**
40
 
     * @return \DOMElement
41
 
     */
42
 
    public function getRegionNode()
43
 
    {
44
 
        return $this->regionNode;
45
 
    }
46
 
}
 
 
b'\\ No newline at end of file'