Skip to content

Instantly share code, notes, and snippets.

View gharlan's full-sized avatar

Gregor Harlan gharlan

  • Yakamara Media GmbH & Co. KG
  • Frankfurt, Germany
  • X @gregorharlan
View GitHub Profile
@gharlan
gharlan / Modul mit Wrapper.php
Last active August 1, 2016 19:42
Module mit Wrapper
<?php
if (rex::isBackend()) {
// Ausgabe im Backend ohne Wrapper
echo 'item';
return;
}
// Aktueller Slice
$slice = '<li>item</li>';
@gharlan
gharlan / REDAXO Coding Standards.launch
Created May 29, 2012 14:00
REDAXO Coding Standards - Eclipse Launch Configuration
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${resource}"/>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<!-- Needs this plugin: http://www.mihai-nita.net/eclipse/ -->
<mapEntry key="ANSICON" value="1"/>
</mapAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
</listAttribute>