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
# A unique name for this application | |
name: 'my-app' | |
# The language and version to use | |
type: 'php:7.4' | |
runtime: | |
extensions: | |
- apcu | |
- redis |
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
{% set html = content.getFieldValue( "my_xmltext_field" ).xml|xmltext_to_html5 %} | |
<div> | |
{{ html }} | |
</div> |
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 | |
/** | |
* AcmeTestBundle/Controller/AdminController.php | |
*/ | |
namespace Acme\TestBundle\Controller; | |
use eZ\Bundle\EzPublishCoreBundle\Controller; | |
/** | |
* Here is your Symfony controller, defined as a service (see service definition below) |
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 | |
namespace Vendor\Bundle\ProjectBundle\Core\Search\Solr\Query\Content\FacetBuilder; | |
use eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder; | |
class SuggestionFacetBuilder extends FacetBuilder | |
{ | |
public $prefix; | |
} |
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
https://gist.github.com/anonymous/05db9797771918c31635 |
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 | |
namespace Acme\TestBundle\Controller; | |
use eZ\Publish\Core\Pagination\Pagerfanta\ContentSearchAdapter; | |
use Pagerfanta\Pagerfanta; | |
use Symfony\Component\HttpFoundation\Response; | |
use eZ\Bundle\EzPublishCoreBundle\Controller; | |
use eZ\Publish\API\Repository\Values\Content\Query\Criterion\ContentTypeIdentifier; | |
use eZ\Publish\API\Repository\Values\Content\Query; |
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 Composer\Package\Version\VersionParser; | |
require 'vendor/autoload.php'; | |
$parser = new VersionParser(); | |
$constraint = $parser->parseConstraints('2013.09.*'); | |
$single = $parser->parseConstraints('v2013.09.0'); |
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 | |
/** | |
* Router script for running eZ Publish CMS on top of PHP 5.4 built-in webserver | |
* WARNING !!! Use it for DEVELOPMENT purpose ONLY !!! | |
* This script is provided as is, use it at your own risk ! | |
* | |
* @copyright Copyright (C) 2011 Jérôme Vieilledent. All rights reserved. | |
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 | |
*/ |
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 | |
// Router script for running eZ Publish CMS on top of PHP 5.4 built-in webserver | |
// WARNING !!! Use it for development purpose ONLY !!! | |
// This script is provided as is, use it at your own risk | |
// Determine which script to redirect to depending on rewrite rule to apply | |
// If the request needs to be served directly, $script needs to be null | |
$uri = $_SERVER['REQUEST_URI']; | |
$script = 'index.php'; |
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
<html> | |
<head> | |
<title>JQuery - FadeIn() et FadeOut() - Exemple</title> | |
<script type="text/javascript" src="jquery-1.3.1.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$("#boutonFadeOut").click(function () { | |
$("#contenu").fadeOut(); | |
}); | |
$("#boutonFadeIn").click(function () { |
NewerOlder