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 | |
use ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\DefaultProperty; | |
use ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent; | |
return array | |
( | |
BuildDataDefinitionEvent::NAME => array( | |
array( | |
function (BuildDataDefinitionEvent $event) { |
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 | |
/** | |
* Generate the tree view for a given collection. | |
* | |
* @param CollectionInterface $objCollection The collection to iterate over. | |
* | |
* @param string $treeClass The class to use for the tree. | |
* | |
* @return string |
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 | |
/** | |
* Created by PhpStorm. | |
* User: stefan.heimes | |
* Date: 10.11.2014 | |
* Time: 11:53 | |
*/ | |
namespace FooBaa\MetaModels; |
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 | |
/** | |
* PHP version 5 | |
* | |
* @copyright MEN AT WORK 2014 | |
* @license LGPL-3.0+ | |
* @filesource | |
*/ |
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 | |
/** | |
* Contao Open Source CMS | |
* | |
* @copyright MEN AT WORK 2014 | |
* @package Helper | |
* @license GNU/LGPL | |
* @filesource | |
*/ |
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 | |
/** | |
* Contao Open Source CMS | |
* | |
* @copyright MEN AT WORK 2014 | |
* @package ..... | |
* @license GNU/LGPL | |
* @filesource | |
*/ |
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 | |
function log_place() | |
{ | |
$e = new \Exception(); | |
$trace = $e->getTrace(); | |
$file = @$trace[0]['file']; | |
$line = @$trace[0]['line']; | |
$class = @$trace[1]['class']; |
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
mysql -u [user] -p[password] [database] -P [port] -h [host] |
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 | |
// config.php | |
$GLOBALS['TL_HOOKS']['replaceInsertTags'][] = array('ExtendedComments', 'myReplaceInsertTags'); | |
class ExtendedComments | |
{ | |
/** | |
* Replace a inserttag. | |
* | |
* @param $strTag The inserttag. |
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 | |
/** | |
* The MetaModels extension allows the creation of multiple collections of custom items, | |
* each with its own unique set of selectable attributes, with attribute extendability. | |
* The Front-End modules allow you to build powerful listing and filtering of the | |
* data in each collection. | |
* | |
* PHP version 5 | |
* @package MetaModels |
NewerOlder