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
->add('orderdatefrom', 'doctrine_orm_callback', | |
array | |
( | |
'callback' => function(\Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery $queryBuilder, $alias, $field, $options) | |
{ | |
if(!isset($options['value']) || !$options['value']) | |
{ | |
return; | |
} | |
$value = $options['value']; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<config> | |
<propel> | |
<datasources default="silextest"> | |
<datasource id="silextest"> | |
<adapter>mysql</adapter> <!-- sqlite, mysql, mssql, oracle, or pgsql --> | |
<connection> | |
<dsn>mysql:host=localhost;dbname=silextest</dsn> | |
<user>root</user> | |
<password>root</password> |
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 encode_to_utf8 ($input) { | |
$output = $input; | |
if($encoding == get_encoding($input)) { | |
$output = iconv($encoding, "UTF-8", $output); | |
} | |
return($output); | |
} |
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 | |
/* MYSQL Verbindungsdaten */ | |
$mysql_connection['host'] = ""; | |
$mysql_connection['username'] = ""; | |
$mysql_connection['password'] = ""; | |
$mysql_connection['database'] = ""; | |
/* POSTGRESQL Verbindungsdaten */ | |
$pgsql_connection['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 | |
//header('content-type: text/html; charset=latin1'); | |
header('content-type: text/html; charset=utf8'); | |
$connection['host'] = "localhost"; | |
$connection['username'] = ""; | |
$connection['password'] = ""; | |
$connection['database'] = ""; |
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 | |
/** | |
* | |
* Distributed under the GNU Lesser General Public License (LGPL v3) | |
* (http://www.gnu.org/licenses/lgpl.html) | |
* This program is distributed in the hope that it will be useful - | |
* WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
* |
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 | |
/** | |
* xls.class.php | |
* | |
* Distributed under the GNU Lesser General Public License (LGPL v3) | |
* (http://www.gnu.org/licenses/lgpl.html) | |
* This program is distributed in the hope that it will be useful - | |
* WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
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 | |
/** | |
* ftp.class.php | |
* | |
* Distributed under the GNU Lesser General Public License (LGPL v3) | |
* (http://www.gnu.org/licenses/lgpl.html) | |
* This program is distributed in the hope that it will be useful - | |
* WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
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
<!-- indexer::stop --> | |
<!-- Google Analytics --> | |
<script type="text/javascript"> | |
<!--//--><![CDATA[//><!-- | |
window.addEvent('load', function() | |
{ | |
var gaJsHost = (('https:' == document.location.protocol) ? 'https://ssl.' : 'http://www.'); | |
Asset.javascript(gaJsHost + 'google-analytics.com/ga.js', | |
{ | |
onload: function() |
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
<!-- indexer::stop --> | |
<!-- Piwik --> | |
<script type="text/javascript"> | |
<!--//--><![CDATA[//><!-- | |
window.addEvent('load', function() | |
{ | |
var pkBaseURL = 'https:' == document.location.protocol ? 'https://www.<domain>.<tld>/' : 'http://www.<domain>.<tld>/'; | |
Asset.javascript(pkBaseURL + 'piwik.js', | |
{ | |
onLoad: function(){ |