1 | <?php |
||
8 | class RowProcessor |
||
9 | { |
||
10 | /** |
||
11 | * @var mixed |
||
12 | */ |
||
13 | private $data; |
||
14 | |||
15 | /** |
||
16 | * @var mixed |
||
17 | */ |
||
18 | private $row; |
||
19 | |||
20 | /** |
||
21 | * @param mixed $data |
||
22 | * @param mixed $row |
||
23 | */ |
||
24 | public function __construct($data, $row) |
||
29 | |||
30 | /** |
||
31 | * Process DT RowId and Class value. |
||
32 | * |
||
33 | * @param string $attribute |
||
34 | * @param string|callable $template |
||
35 | * @return $this |
||
36 | */ |
||
37 | public function rowValue($attribute, $template) |
||
49 | |||
50 | /** |
||
51 | * Process DT Row Data and Attr. |
||
52 | * |
||
53 | * @param string $attribute |
||
54 | * @param array $template |
||
55 | * @return $this |
||
56 | */ |
||
57 | public function rowData($attribute, array $template) |
||
68 | |||
69 | /** |
||
70 | * @return mixed |
||
71 | */ |
||
72 | public function getData() |
||
76 | } |
||
77 |