-
Clone the base repository into
oro-platform
directory:git clone git@github.com:lolautruche/platform.git oro-platform git remote add upstream git@github.com:orocrm/platform.git git config branch.master.remote upstream
-
Run the 2 shell scripts,
split_oro_config_component.sh
andsplit_oro_distribution_bundle.sh
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 | |
$foo = function (&$arg) { | |
var_dump($arg); | |
}; | |
$a = 'bar'; | |
$b =& $a; | |
// Warning: Parameter 1 to {closure}() expected to be a reference, value given in /Users/lolautruche/Desktop/reference.php on line 8 | |
call_user_func_array($foo, [$b]); |
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
{# Pagelayout from SiteBundle #} | |
{% block menu %} | |
{# Assuming you may have your own menu markup here as well #} | |
{# Defaults to the current route, unless routeRef is already defined #} | |
{% set routeRef = routeRef|default( ez_route( params={"language": "esl-ES"} ) ) %} | |
{% endblock %} |
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
parameters: | |
acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
services: | |
acme_test.my_service: | |
class: %acme_test.my_service.class% | |
arguments: [@ezpublish.config.resolver] |
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
parameters: | |
acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
services: | |
acme_test.my_service: | |
class: %acme_test.my_service.class% | |
calls: | |
# Will resolve ezsettings.<current_siteaccess>.languages | |
- [setLanguages, ["$languages$"]] | |
- [setRootLocationId, ["$content.tree_root.location_id$"]] |
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
parameters: | |
acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
services: | |
acme_test.my_service: | |
class: %acme_test.my_service.class% | |
arguments: ["$languages$", "$content.tree_root.location_id$"] |
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
parameters: | |
acme_test.my_service.class: Acme\TestBundle\MyServiceClass | |
# "acme" is our parameter namespace. | |
# Null is the default value. | |
acme.default.some_parameter: ~ | |
acme.ezdemo_site.some_parameter: foo | |
acme.ezdemo_site_admin.some_parameter: bar | |
services: |
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
parameters: | |
acme.my_siteaccess.css.files: | |
- "foo.css" | |
- "some_dir/bar.css" |
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 | |
public function trashSubtree( $locationId ) | |
{ | |
$location = $this->load( $locationId ); | |
// Create new trashed location and remove original location from tree | |
$params = (array)$location; | |
$params['locationId'] = $locationId; | |
// Be sure to not overlap id | |
unset( $params['id'] ); |
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 () { |
OlderNewer