| 1 | <?php |
||
| 20 | class DataTablesMapping implements DataTablesMappingInterface { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Column. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $column; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Parent. |
||
| 31 | * |
||
| 32 | * @var DataTablesColumnInterface |
||
| 33 | */ |
||
| 34 | private $parent; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Prefix. |
||
| 38 | * |
||
| 39 | * @var string |
||
| 40 | */ |
||
| 41 | private $prefix; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Constructor. |
||
| 45 | */ |
||
| 46 | public function __construct() { |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | public function getAlias() { |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function getColumn() { |
||
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | public function getParent() { |
||
| 73 | |||
| 74 | /** |
||
| 75 | * {@inheritdoc} |
||
| 76 | */ |
||
| 77 | public function getPrefix() { |
||
| 80 | |||
| 81 | /** |
||
| 82 | * {@inheritdoc} |
||
| 83 | */ |
||
| 84 | public function setColumn($column) { |
||
| 88 | |||
| 89 | /** |
||
| 90 | * Set the parent. |
||
| 91 | * |
||
| 92 | * @param DataTablesColumnInterface $parent The parent. |
||
| 93 | * @return DataTablesMappingInterface Returns this mapping. |
||
| 94 | */ |
||
| 95 | public function setParent(DataTablesColumnInterface $parent) { |
||
| 99 | |||
| 100 | /** |
||
| 101 | * {@inheritdoc} |
||
| 102 | */ |
||
| 103 | public function setPrefix($prefix) { |
||
| 107 | } |
||
| 108 |