table ezcontentbrowserecent need information

Author Message

stephane couzinier

Thursday 22 March 2007 3:19:31 pm

I need some explication about the table ezcontentbrowserecent.
1) what the purpose of this table?

2) Every time a user create (edit ?) a object, the system insert a new row.
In the browse.ini file, can I set the MaximumRecentItems to 0?

thank's for your help

Stephane

don't flush the cache

Bruce Morrison

Thursday 22 March 2007 6:33:04 pm

Hi Stephane

http://pubsvn.ez.no/doxygen/classeZContentBrowseRecent.html may help

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Heath

Thursday 22 March 2007 6:59:15 pm

These files include that class and use it,

kernel/classes/ezcontentobjecttreenode.php
kernel/content/ezcontentfunctioncollection.php
kernel/content/ezcontentoperationcollection.php

There is also a settings/browse.ini setting

# The default value for maximum recent items to show
MaximumRecentItems=10

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

stephane couzinier

Friday 23 March 2007 2:27:52 pm

Thanks for your answer.

I don't use the browse recent sytem .
So I try to set the MaximumRecentItems to 0 but EZ continu to insert data in the table
(1 row per user) when somebody create content
For my use this functionality make unnecessary query.

Do you have another way to disable this function.
I don't want to change ez code...

tks

Stephane

don't flush the cache

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 11:40:14
Script start
Timing: Jan 18 2025 11:40:14
Module start 'layout'
Timing: Jan 18 2025 11:40:14
Module start 'content'
Timing: Jan 18 2025 11:40:14
Module end 'content'
Timing: Jan 18 2025 11:40:14
Script end

Main resources:

Total runtime0.0200 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.0072 589.1875152.6406
Module start 'layout' 0.00720.0049 741.828139.4766
Module start 'content' 0.01200.0057 781.304793.4922
Module end 'content' 0.01770.0023 874.796934.3047
Script end 0.0200  909.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002412.0411140.0002
Check MTime0.00104.9953140.0001
Mysql Total
Database connection0.00157.258610.0015
Mysqli_queries0.003718.423130.0012
Looping result0.00000.189110.0000
Template Total0.00189.110.0018
Template load0.00094.699210.0009
Template processing0.00094.389910.0009
Override
Cache load0.00063.097110.0006
General
dbfile0.00031.290580.0000
String conversion0.00000.055940.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