PHP reload inside a module

Author Message

Mahesh Arvind

Friday 09 July 2004 9:01:52 pm

Hi,

Is it possible to reload the same PHP file using PHP_SELF, which is called by a module? When I tried it through http://www.sitename/reports/overview, I was able to reload the page. However, when I called this module inside a new site, the reloading is not happenning. Please provide suggestions as to how to do this.

Thanks
Mahesh

Thanks & Regards
Mahesh

Kåre Køhler Høvik

Sunday 11 July 2004 10:50:26 pm

You can use

$Module->redirectTo( <your url> );

to force a redirection on client level. Please check existing eZ publish code if you have any questions.

Kåre Høvik

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 31 2025 06:20:52
Script start
Timing: Jan 31 2025 06:20:52
Module start 'layout'
Timing: Jan 31 2025 06:20:52
Module start 'content'
Timing: Jan 31 2025 06:20:53
Module end 'content'
Timing: Jan 31 2025 06:20:53
Script end

Main resources:

Total runtime1.1410 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1328151.2109
Module start 'layout' 0.00570.0028 739.343836.6484
Module start 'content' 0.00841.1318 775.9922923.4531
Module end 'content' 1.14020.0007 1,699.44537.8516
Script end 1.1410  1,707.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2759160.0002
Check MTime0.00130.1119160.0001
Mysql Total
Database connection0.00090.076410.0009
Mysqli_queries1.089695.4914540.0202
Looping result0.00060.0507520.0000
Template Total1.107297.020.5536
Template load0.00200.179520.0010
Template processing1.105196.851420.5525
Template load and register function0.00130.115910.0013
states
state_id_array0.00110.099510.0011
state_identifier_array0.00200.174320.0010
Override
Cache load0.00170.1462130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.056020.0003
Fetch class attribute name0.00250.221840.0006
XML
Image XML parsing0.00410.356920.0020
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00400.3545210.0002
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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs