ezroot, ezurl operators in Php ?

Author Message

H-Works Agency

Tuesday 07 September 2010 4:36:17 am

Hello everyone,

In a custom php file how can i use ezroot or ezurl operators ?

What ezp classes & methods should i use ? Is this only possible ?

Regards

EZP is Great

Matthieu Sévère

Tuesday 07 September 2010 4:42:49 am

Hey Martin,

You can use eZURI::transformURI() in lib/ezutils/ezuri.php

Cheers

--
eZ certified developer: http://ez.no/certification/verify/346216

H-Works Agency

Tuesday 07 September 2010 6:58:47 am

Great thanks a lot !

EZP is Great

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:10:07
Script start
Timing: Jan 18 2025 02:10:07
Module start 'layout'
Timing: Jan 18 2025 02:10:07
Module start 'content'
Timing: Jan 18 2025 02:10:08
Module end 'content'
Timing: Jan 18 2025 02:10:08
Script end

Main resources:

Total runtime0.9429 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9141152.6250
Module start 'layout' 0.00510.0022 740.539139.4453
Module start 'content' 0.00730.9341 779.9844538.3984
Module end 'content' 0.94140.0015 1,318.382812.1563
Script end 0.9429  1,330.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3319160.0002
Check MTime0.00140.1471160.0001
Mysql Total
Database connection0.00130.139810.0013
Mysqli_queries0.892694.6638570.0157
Looping result0.00050.0543550.0000
Template Total0.916197.220.4580
Template load0.00230.242620.0011
Template processing0.913896.909420.4569
Template load and register function0.00010.011710.0001
states
state_id_array0.00200.214010.0020
state_identifier_array0.00080.089720.0004
Override
Cache load0.00190.2005160.0001
Sytem overhead
Fetch class attribute can translate value0.00120.130220.0006
Fetch class attribute name0.00140.150950.0003
XML
Image XML parsing0.00130.135720.0006
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00080.0878230.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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