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
if ((boolean) $GLOBALS['TSFE']->beUserLogin === TRUE) { | |
unset($GLOBALS['TCA']['tt_content']['ctrl']['enablecolumns']['starttime']); | |
unset($GLOBALS['TCA']['tt_content']['ctrl']['enablecolumns']['endtime']); | |
} |
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
$model->setStatus(Model::STATUS_INVOICE); |
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
/** | |
* Get all electronic address types | |
* | |
* @return array $allElectronicAddressTypes | |
*/ | |
public function getAllElectronicAddressTypes() { | |
return $this->getConstants('TYPE_'); | |
} | |
/** |
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
if ($operand === NULL) { | |
return $this->queryBuilder->expr()->isNull($this->getPropertyNameWithAlias($propertyName)); | |
} | |
if ($caseSensitive === TRUE) { | |
return $this->queryBuilder->expr()->eq($this->getPropertyNameWithAlias($propertyName), $this->getParamNeedle($operand)); | |
} | |
return $this->queryBuilder->expr()->eq($this->queryBuilder->expr()->lower($this->getPropertyNameWithAlias($propertyName)), $this->getParamNeedle(strtolower($operand))); |
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
/** | |
* Inject some page variables | |
* | |
* @param Tx_Extbase_MVC_View_ViewInterface $view | |
* @return void | |
*/ | |
protected function initializeView(Tx_Extbase_MVC_View_ViewInterface $view) { | |
parent::initializeView($view); | |
$this->view->assign('var', $var); | |
} |
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
/** | |
* @var \TYPO3\Flow\Persistence\PersistenceManagerInterface | |
*/ | |
protected $persistenceManager; | |
´ | |
/** | |
* Injects the Persistence Manager | |
* | |
* @param \TYPO3\Flow\Persistence\PersistenceManagerInterface $persistenceManager | |
* @return void |
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
<?php | |
namespace TYPO3\Flow\Validation\Validator; | |
/* * | |
* This script belongs to the TYPO3 Flow framework. * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License, either version 3 * | |
* of the License, or (at your option) any later version. * | |
* * |
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
/** | |
* @var Tx_Acme_Repository_AcmeRepository | |
*/ | |
protected $repository; | |
/** | |
* @return void | |
*/ | |
public function initializeObject() { |
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
<?php | |
namespace TYPO3\Flow\Validation\Validator; | |
/* * | |
* This script belongs to the TYPO3 Flow framework. * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License, either version 3 * | |
* of the License, or (at your option) any later version. * | |
* * |
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
<?php | |
namespace TYPO3\Flow\Validation\Validator; | |
/* * | |
* This script belongs to the TYPO3 Flow framework. * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License, either version 3 * | |
* of the License, or (at your option) any later version. * | |
* * |