46 $blogs = $this->blogRepository->findAll();
49 $this->view->assign(
'value', $value);
54 return $blog ? $blog->getTitle() :
'';
62 return 'testFormAction';
72 $this->
forward(
'testForwardTarget',
null,
null, [
'blogPost' => $blogPost]);
81 return 'testForwardTargetAction';
91 return 'testRelatedObject';
104 throw new \RuntimeException(
105 $this->
getRuntimeIdentifier() .
': ' . $exception->getMessage() .
' (' . $exception->getCode() .
')',
130 if (!$iterator instanceof \Iterator) {
131 $iterator = [$iterator];
134 foreach ($iterator as $entity) {
135 $dataMap = $this->dataMapFactory->buildDataMap(get_class($entity));
136 $tableName = $dataMap->getTableName();
137 $identifier = $tableName .
':' . $entity->getUid();
141 foreach ($properties as $propertyName => $propertyValue) {
142 $columnMap = $dataMap->getColumnMap($propertyName);
143 if ($columnMap !==
null) {
144 $propertyName = $columnMap->getColumnName();
146 if ($propertyValue instanceof \Iterator) {
147 $structureItem[$propertyName] = $this->
getStructure($propertyValue);
149 $structureItem[$propertyName] = $propertyValue;
152 $structure[$identifier] = $structureItem;
164 foreach ($this->request->getArguments() as $argumentName => $argumentValue) {
165 $arguments[] = $argumentName .
'=' . $argumentValue;
167 return $this->request->getControllerActionName() .
'(' . implode(
', ',
$arguments) .
')';