Skip to content
Snippets Groups Projects
Commit 372c22ec authored by damjan's avatar damjan
Browse files

[TASK] Initial commit

parents
No related branches found
No related tags found
No related merge requests found
<?php
namespace SGalinski\TypoScriptReferenceFrontend\Controller;
/* *
* This script belongs to the TYPO3 Flow package "SGalinski.TypoScriptReferenceFrontend".*
* *
* */
use TYPO3\Flow\Annotations as Flow;
class StandardController extends \TYPO3\Flow\Mvc\Controller\ActionController {
/**
* @return void
*/
public function indexAction() {
$this->view->assign('foos', array(
'bar', 'baz'
));
}
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><f:render section="Title" /></title>
<f:base />
</head>
<body>
<f:flashMessages class="flashmessages" />
<h1><f:render section="Title" /></h1>
<f:render section="Content" />
</body>
</html>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="Title">Index view of Standard controller</f:section>
<f:section name="Content">
<h1>A freshly created Fluid template!</h1>
<p>Some data set by the controller:</p>
<ul>
<f:for each="{foos}" as="foo">
<li>{foo}</li>
</f:for>
</ul>
</f:section>
\ No newline at end of file
{
"name": "sgalinski/typoscriptreferencefrontend",
"type": "typo3-flow-package",
"description": "Add description here",
"require": {
"typo3/flow": "*"
},
"autoload": {
"psr-0": {
"SGalinski\\TypoScriptReferenceFrontend": "Classes"
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment