1 | <?php |
||
11 | class Separatable extends AbstractRowDecorator |
||
12 | { |
||
13 | /** |
||
14 | * Flag to inform if iterable is just started |
||
15 | * @var boolean |
||
16 | */ |
||
17 | protected $isStarted = true; |
||
18 | |||
19 | /** |
||
20 | * |
||
21 | * @var mixed Value of previous iterated |
||
22 | */ |
||
23 | protected $previousColumnValue = null; |
||
24 | |||
25 | /** |
||
26 | * Default column value |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $defaultColumn = null; |
||
30 | |||
31 | |||
32 | public function getIsStarted() |
||
36 | |||
37 | public function setIsStarted($isStarted) |
||
41 | |||
42 | public function getPreviousColumnValue() |
||
46 | |||
47 | public function setPreviousColumnValue($previousColumnValue) |
||
51 | |||
52 | public function __construct($options = array()) |
||
56 | |||
57 | /** |
||
58 | * Rendering decorator |
||
59 | * |
||
60 | * @param string $context |
||
61 | * @return string |
||
62 | */ |
||
63 | public function render($context) |
||
88 | |||
89 | public function getDefaultColumn() |
||
93 | } |
||
94 |