Most Content Management System requirements can be fulfilled by eZ Publish without any custom PHP coding. But sooner or later experienced eZ Publish implementers get to the point where a project needs some special functionality and it becomes necessary to develop extensions.
(This tutorial was initially published on 21/01/2008, and refreshed to match the 4.x series on 10/12/2010)
This tutorial will explain how template fetch functions work and how to develop custom ones. It will also show you how to call them from PHP.
This tutorial will show you how to deal with custom security policy limitations for your modules. Once read, you will be able to fully take advantage of the granularity in eZ Publish's security and access control system.
Sometimes, during a web application development, you need to interface with your client's software(s) and/or websites in order to keep a common and coherent session within its applicative environment. To do this, it is often useful to use a special tool : SSO (Single Sign On). This article illustrates one way of integrating an eZ Publish based web application into an existing SSO architecture
Timing: | Jan 30 2025 00:55:55 |
Script start | |
Timing: | Jan 30 2025 00:55:55 |
Module start 'layout' | |
Timing: | Jan 30 2025 00:55:55 |
Module start 'community' | |
Timing: | Jan 30 2025 00:55:55 |
Module end 'community' | |
Timing: | Jan 30 2025 00:55:55 |
Script end |
Total runtime | 0.0898 sec |
Peak memory usage | 4,096.0000 KB |
Database Queries | 60 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0059 | 588.0078 | 151.1953 |
Module start 'layout' | 0.0059 | 0.0015 | 739.2031 | 16.2734 |
Module start 'community' | 0.0074 | 0.0817 | 755.4766 | 457.7891 |
Module end 'community' | 0.0891 | 0.0006 | 1,213.2656 | 14.3281 |
Script end | 0.0897 | 1,227.5938 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0025 | 2.7507 | 14 | 0.0002 |
Check MTime | 0.0009 | 1.0441 | 14 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0008 | 0.9145 | 1 | 0.0008 |
Mysqli_queries | 0.0597 | 66.4997 | 60 | 0.0010 |
Looping result | 0.0004 | 0.4492 | 57 | 0.0000 |
Template Total | 0.0763 | 85.1 | 2 | 0.0382 |
Template load | 0.0008 | 0.8978 | 2 | 0.0004 |
Template processing | 0.0755 | 84.1513 | 2 | 0.0378 |
Template load and register function | 0.0001 | 0.1004 | 1 | 0.0001 |
Override | ||||
Cache load | 0.0006 | 0.6877 | 15 | 0.0000 |
states | ||||
state_id_array | 0.0039 | 4.3439 | 4 | 0.0010 |
state_identifier_array | 0.0014 | 1.5844 | 4 | 0.0004 |
Sytem overhead | ||||
Fetch class attribute name | 0.0005 | 0.6016 | 4 | 0.0001 |
class_abstraction | ||||
Instantiating content class attribute | 0.0000 | 0.0088 | 4 | 0.0000 |
General | ||||
dbfile | 0.0002 | 0.1854 | 7 | 0.0000 |
String conversion | 0.0000 | 0.0066 | 3 | 0.0000 |
Note: percentages do not add up to 100% because some accumulators overlap |
Usage | Requested template | Template | Template loaded | Edit | Override |
---|---|---|---|---|---|
1 | community/articles.tpl | <No override> | extension/community_design/design/suncana/templates/community/articles.tpl | ||
4 | content/datatype/view/ezxmltext.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tpl | ||
5 | content/datatype/view/ezxmltags/paragraph.tpl | <No override> | extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tpl | ||
1 | content/datatype/view/ezxmltags/emphasize.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/emphasize.tpl | ||
1 | content/datatype/view/ezxmltags/separator.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tpl | ||
1 | content/datatype/view/ezxmltags/strong.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/strong.tpl | ||
1 | print_pagelayout.tpl | <No override> | extension/community/design/community/templates/print_pagelayout.tpl | ||
Number of times templates used: 14 Number of unique templates used: 7 |
Time used to render debug report: 0.0001 secs