Skip to content

Instantly share code, notes, and snippets.

View rvollebregt's full-sized avatar

Richard Vollebregt rvollebregt

  • BlueTea
  • Rhenoy, Netherlands
View GitHub Profile
@rvollebregt
rvollebregt / gist:18d19cd77a391fc4cd99
Last active August 29, 2015 14:06
Autoload Typoscript Setup / Constants in Extensions
http://api.typo3.org/typo3cms/47/html/classt3lib__ext_mgm.html#a05505e7c16c4a7c0d47c531a8436d096
##################
static addTypoScriptConstants ($content)
Adds $content to the default TypoScript constants code as set in $GLOBALS['TYPO3_CONF_VARS'][FE]['defaultTypoScript_constants'] Prefixed with a [GLOBAL] line FOR USE IN ext_localconf.php FILES
Parameters
string TypoScript Constants string

Keybase proof

I hereby claim:

  • I am rvollebregt on github.
  • I am richardvlbt (https://keybase.io/richardvlbt) on keybase.
  • I have a public key ASAJseOlgUX2pcZPL5StGOtOiesTQiLEaYw0it117IGzzQo

To claim this, I am signing this object:

@rvollebregt
rvollebregt / debug-sql
Last active September 8, 2021 14:34
Debug SQL query in TYPO3 8 Extbase
/** @var ObjectManager $objm */
$dbParser = $this->objectManager->get(Typo3DbQueryParser::class);
$sql = $dbParser->convertQueryToDoctrineQueryBuilder($query)->getSQL();
DebuggerUtility::var_dump($sql);
@rvollebregt
rvollebregt / keybase.md
Created October 25, 2019 09:02
keybase.md

Keybase proof

I hereby claim:

  • I am rvollebregt on github.
  • I am richardvlbt (https://keybase.io/richardvlbt) on keybase.
  • I have a public key ASCWWgIrgrkyTQ3lBWfM5c_KgsKrxFB2R200alPDKsGGwQo

To claim this, I am signing this object: