Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Widgets.php, Inline.php and a bunch of other stuff
- Loading branch information
Marc Neuhaus
committed
Oct 18, 2012
1 parent
8420aaf
commit c1b086e
Showing
14 changed files
with
554 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
namespace Famelo\Demo\Admin\Controller; | ||
|
||
/* * | ||
* This script belongs to the FLOW3 package "Debug.Toolbar". * | ||
* * | ||
* */ | ||
|
||
use TYPO3\Flow\Annotations as Flow; | ||
use Debug\Toolbar\Annotations as Debug; | ||
|
||
/** | ||
*/ | ||
class FormController extends \TYPO3\Flow\Mvc\Controller\ActionController { | ||
/** | ||
* Index action | ||
* | ||
* @return void | ||
*/ | ||
public function indexAction() { | ||
} | ||
|
||
/** | ||
* Index action | ||
* | ||
* @return void | ||
*/ | ||
public function editAction() { | ||
$widget = new \Famelo\Demo\Admin\Domain\Model\Widgets(); | ||
$widget->setString('Hello World'); | ||
$this->view->assign('widget', $widget); | ||
} | ||
|
||
/** | ||
* Index action | ||
* | ||
* @return void | ||
*/ | ||
public function saveAction() { | ||
$objects = $this->request->getInternalArgument('__objects'); | ||
return '<div class="container">yea! i\'ve received an object :)</div>'; | ||
} | ||
|
||
} | ||
|
||
?> |
31 changes: 31 additions & 0 deletions
31
Classes/Famelo/Demo/Admin/Controller/TypoScriptController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
namespace Famelo\Demo\Admin\Controller; | ||
|
||
/* * | ||
* This script belongs to the FLOW3 package "Debug.Toolbar". * | ||
* * | ||
* */ | ||
|
||
use TYPO3\Flow\Annotations as Flow; | ||
use Debug\Toolbar\Annotations as Debug; | ||
|
||
/** | ||
*/ | ||
class TypoScriptController extends \TYPO3\Flow\Mvc\Controller\ActionController { | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $defaultViewObjectName = 'TYPO3\\TypoScript\\View\\TypoScriptView'; | ||
|
||
/** | ||
* Index action | ||
* | ||
* @return void | ||
*/ | ||
public function indexAction() { | ||
} | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.