This file contains hidden or 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
SELECT * FROM tx_spreise_domain_model_reise r JOIN tx_spreise_domain_model_tour t ON(r.tour = t.uid) | |
WHERE t.schiff = '1' AND t.land = '1' AND r.anfang <= '1345154400' AND r.ende >= '1345154400' AND (r.max - r.belegt) >= '1' AND r.hidden = 0 AND r.deleted = 0 AND t.hidden = 0 AND t.deleted = 0 |
This file contains hidden or 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
$controller = new \TYPO3\PackageBuilder\Strategy\TYPO3Flow\Controller\StrategyController(); | |
$request = new \TYPO3\Flow\Http\Request(array(), array(), array(), array()); | |
$actionRequest = $request->createActionRequest(); | |
$actionRequest->setControllerPackageKey('TYPO3.PackageBuilder'); | |
$actionRequest->setControllerActionName('lol'); | |
$actionRequest->setArgument('package', array()); | |
$controller->processRequest($actionRequest, new \TYPO3\Flow\Http\Response()); |
This file contains hidden or 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
{ | |
"identifier":"TYPO3.TestThingy", | |
"type":"TYPO3.PackageBuilder:Package", | |
"label":"Package Name", | |
"description":"A description of the Package.", | |
"children":{ | |
"0":{ | |
"type":"TYPO3.PackageBuilder:Container", | |
"identifier":"DomainObject", | |
"label":"DomainObjects", |
This file contains hidden or 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
$resultArray = array(); | |
foreach ($data as $object){ | |
$resultArray[] = array( | |
'firm' => $object->getFirma(), | |
'anschr' => $object->getAnschrift() | |
); | |
} | |
$this->view->assign('json', json_encode($resultArray)); |
This file contains hidden or 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
/** | |
* Returns the value of the Value Object. Must be overwritten by a concrete value object. | |
* | |
* @return void | |
*/ | |
public function getValue() { | |
return $this->__toString(); | |
} |
This file contains hidden or 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
class Money { | |
protected $amount; | |
public function __construct($amount) { | |
$this->amount = $amount; | |
} | |
public function subtract($amount) { | |
return new Money($this->amount - $amount); | |
} |
This file contains hidden or 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
$hashSource = $proxyClassName; | |
foreach ($hashSourceParts as $hashSourceKey => $hashSource) { | |
$hashSource .= $hashSourceKey . ':' . $hashSource; | |
} |
This file contains hidden or 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
lib.slideshow = COA | |
lib.slideshow { | |
10 = TEXT | |
10.data = levelmedia:-1, slide | |
10.split { | |
token=, | |
cObjNum=1 | |
1 { | |
1 = IMG_RESOURCE | |
1 { |
This file contains hidden or 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
// SERVER_NAME is a defined constant | |
// Create dictionary of search parameters | |
NSDictionary* dict = [NSDictionary dictionaryWithObjectsAndKeys:(__bridge id)(kSecClassInternetPassword), kSecClass, SERVER_NAME, kSecAttrServer, kCFBooleanTrue, kSecReturnAttributes, nil]; | |
// Remove any old values from the keychain | |
OSStatus err = SecItemDelete((__bridge CFDictionaryRef) dict); | |
// Create dictionary of parameters to add | |
NSData* passwordData = [credentials.password dataUsingEncoding:NSUTF8StringEncoding]; |
This file contains hidden or 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
ajax_page = PAGE | |
ajax_page { | |
typeNum = 1400579457 | |
config { | |
disableAllHeaderCode = 1 | |
xhtml_cleaning = 0 | |
admPanel = 0 | |
debug = 0 | |
no_cache = 1 | |
additionalHeaders ( |
OlderNewer