Next Version Number

Author Message

Maxime Thomas

Thursday 02 February 2006 5:56:16 am

Hi,

I would like to know how and where is computed the number of the next version in an URL like :

http://ez.no/content/edit/112934/<b>1</b>

Thanx.

Max

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Kåre Køhler Høvik

Thursday 02 February 2006 6:05:33 am

See : <i>kernel/content/edit.php</i>, function <i>checkForExistingVersion()</i>

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

Main resources:

Total runtime0.0150 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.0055 588.0313151.1953
Module start 'layout' 0.00550.0023 739.226636.6172
Module start 'content' 0.00770.0059 775.843890.0313
Module end 'content' 0.01360.0014 865.875029.9922
Script end 0.0150  895.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.1571140.0002
Check MTime0.00117.2220140.0001
Mysql Total
Database connection0.00074.426410.0007
Mysqli_queries0.002617.271330.0009
Looping result0.00000.066610.0000
Template Total0.00117.310.0011
Template load0.00096.003310.0009
Template processing0.00021.296410.0002
Override
Cache load0.00074.399410.0007
General
dbfile0.001812.230080.0002
String conversion0.00000.046040.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