Tutorials & articles written by David Linnard

Creating Custom Admin Modules & Views

In this tutorial we will explore how to add custom modules and views to the CMS. By doing this you can extend the functionality of the back office to use your custom PHP to carry out various tasks. Once this tutorial is complete you should be comfortable with creating modules and views for any siteaccess with the CMS and be able to appreciate situations when creating custom modules and views would be suitable.

 

Fetching User Objects with PHP - part 2

At the end of this tutorial you should be comfortable with exporting multiple users from PHP scripts into a external file using a cronjob. You should also be comfortable with filtering fetch statements in PHP.

Fetching User Objects with PHP - part 1

At the end of this tutorial you should be comfortable with exporting user information from PHP scripts.

Creating eZ Publish Objects in PHP

This tutorial will show you how to create eZ Publish objects using PHP to allow you to dynamically create or import content from elsewhere. After reading this article you should be able to create objects for any situation including those with XML fields, image or file fields and object relations.

eZ debug

Timing: Jan 27 2025 19:03:45
Script start
Timing: Jan 27 2025 19:03:45
Module start 'community'
Timing: Jan 27 2025 19:03:45
Module end 'community'
Timing: Jan 27 2025 19:03:45
Script end

Main resources:

Total runtime0.1200 sec
Peak memory usage2,048.0000 KB
Database Queries61

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 587.7500159.8828
Module start 'community' 0.00410.1058 747.6328639.8047
Module end 'community' 0.10990.0100 1,387.437546.8125
Script end 0.1199  1,434.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00262.1402120.0002
Check MTime0.00110.8835120.0001
Mysql Total
Database connection0.00080.691610.0008
Mysqli_queries0.079566.2281610.0013
Looping result0.00060.4681570.0000
Template Total0.104887.320.0524
Template load0.00151.259020.0008
Template processing0.103286.040120.0516
Template load and register function0.00010.089210.0001
Override
Cache load0.00100.8595120.0001
states
state_id_array0.00373.106840.0009
state_identifier_array0.00161.371540.0004
Sytem overhead
Fetch class attribute name0.00040.373340.0001
class_abstraction
Instantiating content class attribute0.00000.005840.0000
General
dbfile0.00625.173490.0007
String conversion0.00000.002410.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1community/articles.tpl<No override>extension/community_design/design/suncana/templates/community/articles.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/separator.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs