Guest User

test-session view helper TYPO3 Flow

a guest
May 26th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <?php
  2. namespace Company\Demo01\ViewHelpers;
  3.  
  4. use TYPO3\Flow\Annotations as Flow;
  5.  
  6. /**
  7. * SessionViewHelper
  8. *
  9. * = Examples =
  10. *
  11. * <ff:bla />
  12. *
  13. * @Flow\Scope("prototype")
  14. */
  15. class SessionViewHelper extends \TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper {
  16.  
  17.     /**
  18.     * print session id
  19.     * @param string $bla test
  20.     */
  21.  
  22.     public function render($bla) {
  23.         $out = '0001';
  24.         return $out;
  25.     }
  26. }
  27.  
  28. ?>
Advertisement
Add Comment
Please, Sign In to add comment