| 1 | <?php |
||
| 4 | class Data extends AbstractData |
||
| 5 | { |
||
| 6 | // +----------------------------------------------------------------------+ |
||
| 7 | // construction |
||
| 8 | // +----------------------------------------------------------------------+ |
||
| 9 | /** |
||
| 10 | * @param \Closure $closure |
||
| 11 | */ |
||
| 12 | public function execute($closure) |
||
| 16 | |||
| 17 | /** |
||
| 18 | * get value as hidden tag using $key as name. |
||
| 19 | * |
||
| 20 | * @param string $key |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public function hiddenTag($key) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * get keys of current data (if it is an array). |
||
| 34 | * |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function getKeys() |
||
| 41 | |||
| 42 | } |