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
| {if edit_mode()} | |
| <span class="ez-start-editable-region" data-ez-truc="foo"></span> | |
| {/if} | |
| {$attribute.content|wash()} | |
| {if edit_mode()} | |
| <span class="ez-end-editable-region"></span> | |
| {/if} |
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
| {* design/admin/templates/children_detailed.tpl *} | |
| {* ... *} | |
| <script type="text/javascript"> | |
| YUI(YUI3_config).use('updatepanels', function (Y) { | |
| {/literal} | |
| // lots of code JS here... | |
| {literal} | |
| // here Y.eZ.updatePanelsHeight is available! |
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 \eZ\Publish\API\Repository\Values\Content\Query; | |
| $locationService = $this->getRepository()->getLocationService(); | |
| $searchService = $this->getRepository()->getSearchService(); | |
| $urlAliasService = $this->getRepository()->getUrlAliasService(); | |
| $typeService = $this->getRepository()->getContentTypeService(); | |
| $identifiers = array( 'folder', 'page', 'contact' ); | |
| $ids = array(); |
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
| $ ab -c 10 -n 1000 http://www.planet-ezpublish.fr/ | |
| [...] | |
| Server Software: Apache/2.2.16 | |
| Server Hostname: www.planet-ezpublish.fr | |
| Server Port: 80 | |
| Document Path: / | |
| Document Length: 20922 bytes |
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
| <pre id="rest-output"></pre> | |
| <script> | |
| var resource = '/api/ezp/v2/content/objects/102', | |
| log = document.getElementById( 'rest-output' ); | |
| log.innerHTML = "Loading the content info from " + resource + "..."; | |
| var request = new XMLHttpRequest(); | |
| request.open('GET', resource, true); | |
| request.onreadystatechange = 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
| 11 SELECT `ezuser_role`.`contentobject_id` `ezuser_role_contentobject_id`, `ezrole`.`id` `ezrole_id`, `ezrole`.`name` `ezrole_name`, `ezpolicy`.`id` `ezpolicy_id`, `ezpolicy`.`function_name` `ezpolicy_function_name`, `ezpolicy`.`module_name` `ezpolicy_module_name`, `ezpolicy_limitation`.`identifier` `ezpolicy_limitation_identifier`, `ezpolicy_limitation_value`.`value` `ezpolicy_limitation_value_value` FROM `ezuser_role` AS `ezuser_role_search` LEFT JOIN `ezrole` ON `ezrole`.`id` = `ezuser_role_search`.`role_id` LEFT JOIN `ezuser_role` ON `ezuser_role`.`role_id` = `ezrole`.`id` LEFT JOIN `ezpolicy` ON `ezpolicy`.`role_id` = `ezrole`.`id` LEFT JOIN `ezpolicy_limitation` ON `ezpolicy_limitation`.`policy_id` = `ezpolicy`.`id` LEFT JOIN `ezpolicy_limitation_value` ON `ezpolicy_limitation_value`.`limitation_id` = `ezpolicy_limitation`.`id` WHERE `ezuser_role_search`.`contentobject_id` IN ( '42' ) | |
| 11 SELECT `ezcontentobject_tree`.`path_string` FROM `ezcontentobject_tree` WHERE `ezcontentobject_tree`.`contentobject_i |
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
| { | |
| "ContentCreate": { | |
| "ContentType": { | |
| "_href": "/content/types/26" | |
| }, | |
| "mainLanguageCode": "eng-GB", | |
| "LocationCreate": { | |
| "ParentLocation": { | |
| "_href": "/content/locations/1/43/52" | |
| }, |
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
| { | |
| "languageCode" : "eng-GB", | |
| "fieldDefinitionIdentifier" : "image", | |
| "fieldValue" : { | |
| "variants" : [ | |
| { | |
| "variant" : "original", | |
| "url" : "http://example.com/fancy_site/original/images/{path}", | |
| "contentType" : "image/jpeg" | |
| }, |
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
| $ phpunit --coverage-text eZ/Publish/Core/SignalSlot/Tests/ | |
| PHPUnit 3.7.10 by Sebastian Bergmann. | |
| Configuration read from /home/dp/dev/ezpublish5/vendor/ezsystems/ezpublish-kernel/phpunit.xml | |
| ............................................................... 63 / 243 ( 25%) | |
| ............................................................... 126 / 243 ( 51%) | |
| ............................................................... 189 / 243 ( 77%) | |
| ...................................................... |
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
| YUI.add('ez-stuff', function (Y) { | |
| "use strict"; | |
| var L = Y.Lang, | |
| MY_CLASS = 'ez-stuff-renderer'; | |
| /** | |
| * Provides Y.eZ.Stuff | |
| * | |
| * @module ez-stuff |