/** * Provide read only form page */ public function viewAction() { $tiles = []; // Reuse the parameters from $_REQUEST // If we are going to render a full page for edit form, we shall also render the _form_controls $tiles[] = Region::create($this->getViewRegionPath(), array_merge($_REQUEST, ['_form_controls' => true])); return $this->render($this->findTemplatePath('page.html'), ['tiles' => $tiles]); }
public function testRegionIdFactory() { $id = Region::newRegionSerialId(); $this->assertTrue(is_string($id)); }