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
# Action | |
/** | |
* Shows a list of books | |
* | |
* @return void | |
*/ | |
public function booksAction() { | |
$genre = $this->getQueryStringVar('genre'); | |
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
TYPO3: | |
Flow: | |
persistence: | |
backendOptions: | |
host: '127.0.0.1' | |
dbname: 'flow_dev' | |
user: '****' | |
password: '****' | |
security: | |
enable: TRUE |
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
roles: | |
Admin: [] | |
Visitor: [] | |
resources: | |
methods: | |
adminMethods: 'method(VendorName\PackageName\.*->admin*())' | |
bookBooksMethods: 'method(VendorName\PackageName\Controller\BookController->books.*())' | |
bookShowMethods: 'method(VendorName\PackageName\Controller\BookController->show.*())' | |
bookIndexMethods: 'method(VendorName\PackageName\Controller\BookController->index.*())' |
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
// This is what I currently have, but of course $category is also found | |
public function findSiblings($category = NULL) { | |
$query = $this->createQuery(); | |
$query->matching( | |
$query->logicalAnd( | |
$query->equals('hidden', 0), | |
$query->equals('published', 1), | |
$query->equals('parent', $category->getParent()) | |
) |
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
<?php | |
namespace Vendor\Package\ViewHelpers\Numbers; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Vendor.Package". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
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
{namespace ro=Vendor\Package\ViewHelpers} | |
<section id="tab-user-2" class="tabPane"> | |
<div class="fieldContainer"> | |
<div class="accounts"> | |
<f:for each="{user.accounts}" as="account"> | |
<div class="account"> | |
<p class="fieldRowLabel">{account.accountIdentifier}</p> | |
<div class="rolesContainer"> | |
<table class="roles" cellspacing="0"> |
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
<?php | |
namespace Vendor\Package\\Domain\Model\User; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Vendor.Package". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use Doctrine\ORM\Mapping as ORM; |
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
... | |
$sourceGdImage = FALSE; | |
switch ($this->getOriginalResource()->getFileExtension()) { | |
case 'gif': | |
$sourceGdImage = imagecreatefromgif($fileTemp); | |
break; | |
case 'jpeg': |
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
... | |
$sourceGdImage = imagecreatefromjpeg($fileTemp); | |
switch ($this->getOriginalResource()->getFileExtension()) { | |
case 'gif': | |
$sourceGdImage = imagecreatefromgif($fileTemp); | |
break; | |
case 'jpeg': |
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
<form method="post" action="http://dev.ubuntuvb.localhost/book/update" id="page" class="jsBindForms jsSetupForms" name="book" enctype="multipart/form-data" autocomplete="off"> | |
<div style="display: none"> | |
<input type="hidden" value="83adac8b-eed3-b216-5342-f30c8a83db73" name="book[__identity]"> | |
<input type="hidden" value="c0bcb76e-2737-9430-38b9-a67b17eb9a08" name="book[image][__identity]"> | |
<input type="hidden" value="Gamebook.Gamebook" name="__referrer[@package]"> | |
<input type="hidden" value="" name="__referrer[@subpackage]"> | |
<input type="hidden" value="Book" name="__referrer[@controller]"> |
OlderNewer