embedded object inline view bug?

Author Message

M Desdin

Monday 20 October 2003 3:30:15 am

this code is taken from kernel/classes/datatypes/ezxmltext/handlers/output/ezxhtmlxmloutput.php, lines 335-344:

// Check if the template overrides the block flow setting
if ( $tpl->hasVariable( 'is_block', 'xmltagns:ContentView' ) )
{
$isBlockTagOverride = $tpl->variable( 'is_block', 'xmltagns' );

if ( $isBlockTagOverride == 'true' )
$isBlockTag = true;
else
$isBlockTag = false;
}

shouldn't both namespaces be equal (in condition and assignment )?
and why use :ContentView at all?

TIA, MD.

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 04:26:05
Script start
Timing: Jan 31 2025 04:26:05
Module start 'layout'
Timing: Jan 31 2025 04:26:05
Module start 'content'
Timing: Jan 31 2025 04:26:05
Module end 'content'
Timing: Jan 31 2025 04:26:05
Script end

Main resources:

Total runtime0.0135 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.1328151.2109
Module start 'layout' 0.00520.0030 739.343836.6484
Module start 'content' 0.00820.0039 775.992286.0469
Module end 'content' 0.01210.0014 862.039129.9922
Script end 0.0135  892.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.7498140.0002
Check MTime0.00117.9033140.0001
Mysql Total
Database connection0.00075.301710.0007
Mysqli_queries0.002316.758830.0008
Looping result0.00000.117910.0000
Template Total0.00117.810.0011
Template load0.00085.905410.0008
Template processing0.00031.897510.0003
Override
Cache load0.00064.171710.0006
General
dbfile0.00021.749680.0000
String conversion0.00000.059840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs