This file contains 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
################# | |
##### DEBUG ##### | |
################# | |
[MailSettings] | |
Transport=file | |
[ContentSettings] | |
ViewCaching=disabled |
This file contains 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 | |
// @rodneyrehm | |
// http://stackoverflow.com/a/7917979/99923 | |
class ParensParser | |
{ | |
protected $length = null; | |
// something to keep track of parens nesting | |
protected $stack = null; | |
// current level |
This file contains 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 addLocation( | |
eZContentObject $object, | |
$parentNodeId, | |
$addAsMain = false | |
) { | |
$node = $object->mainNode(); | |
$parentNode = eZContentObjectTreeNode::fetch($parentNodeId); |
This file contains 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
-- 4.5.0 -> 4.6.0 | |
UPDATE ezsite_data SET value='4.6.0' WHERE name='ezpublish-version'; | |
UPDATE ezsite_data SET value='1' WHERE name='ezpublish-release'; | |
CREATE SEQUENCE ezorder_nr_incr_s | |
START 1 | |
INCREMENT 1 | |
MAXVALUE 9223372036854775807 | |
MINVALUE 1 |
This file contains 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 | |
require 'autoload.php'; | |
$script = eZScript::instance( array( 'description' => ( 'Check image ini' ), | |
'use-session' => false, | |
'use-modules' => true, | |
'use-extensions' => true ) ); | |
$script->startup(); |
This file contains 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 | |
require 'autoload.php'; | |
$script = eZScript::instance( array( 'description' => ( "OpenPA Cambio password\n\n" ), | |
'use-session' => false, | |
'use-modules' => true, | |
'use-extensions' => true ) ); | |
$script->startup(); |
This file contains 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 | |
require 'autoload.php'; | |
$script = eZScript::instance( array( 'description' => ( 'Download images from endpoint' ), | |
'use-session' => false, | |
'use-modules' => true, | |
'use-extensions' => true ) ); | |
$script->startup(); |
This file contains 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 Opencontent\Opendata\Api\Values\ExtraData; | |
use Opencontent\Opendata\Api\Values\ExtraDataProviderInterface; | |
class ezfIndexAccountInfo implements ezfIndexPlugin, ExtraDataProviderInterface | |
{ | |
/** | |
* @param eZContentObject $contentObject | |
* @param eZSolrDoc[] $docList |
This file contains 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 | |
require 'autoload.php'; | |
$script = eZScript::instance( array( 'description' => ( 'Download images from endpoint' ), | |
'use-session' => false, | |
'use-modules' => true, | |
'use-extensions' => true ) ); | |
$script->startup(); |
This file contains 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 cleanFilterValue = function(values){ | |
if(!$.isArray(values)){ | |
values = [values]; | |
} | |
var data = $.map(values, function(str){ | |
str = $.trim(str); | |
str = str.replace(/'/g, "\\'"); | |
//str = str.replace("(","\\("); //solo ocopendata >= 2.13 interpreta l'escape delle parentesi | |
//str = str.replace(")","\\)"); //solo ocopendata >= 2.13 interpreta l'escape delle parentesi | |
return str; |
OlderNewer