From 8702184834089fd80a0caedd34297f834e716f52 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Tue, 24 Sep 2019 22:51:24 +0200 Subject: Import Upstream version 2019-01-13 --- bridges/DemoBridge.php | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bridges/DemoBridge.php (limited to 'bridges/DemoBridge.php') diff --git a/bridges/DemoBridge.php b/bridges/DemoBridge.php new file mode 100644 index 0000000..f48b451 --- /dev/null +++ b/bridges/DemoBridge.php @@ -0,0 +1,46 @@ + array( + 'testCheckbox' => array( + 'type' => 'checkbox', + 'name' => 'test des checkbox' + ) + ), + 'testList' => array( + 'testList' => array( + 'type' => 'list', + 'name' => 'test des listes', + 'values' => array( + 'Test' => 'test', + 'Test 2' => 'test2' + ) + ) + ), + 'testNumber' => array( + 'testNumber' => array( + 'type' => 'number', + 'name' => 'test des numéros', + 'exampleValue' => '1515632' + ) + ) + ); + + public function collectData(){ + + $item = array(); + $item['author'] = 'Me!'; + $item['title'] = 'Test'; + $item['content'] = 'Awesome content !'; + $item['id'] = 'Lalala'; + $item['uri'] = 'http://example.com/test'; + + $this->items[] = $item; + } +} -- cgit v1.2.3