Policy - technical documentation?

Author Message

Lisa Pini

Thursday 06 August 2009 2:35:27 am

Hi all,
I would like to know if anybody could provide me a link to some technical documentation about policies.
I’ve already read official documentation, but I would like to read a doc on how each policie is structured and his effect (in particular use of single module and function).
In particular I need explanations about policies regarding Thrash, how could a user (not admin) restore items from it ?

Thanks

Lisa

Łukasz Serwatka

Friday 07 August 2009 2:29:49 am

Hi,

That kind of documentation does not exist I'm afraid. List of all modules you can see in the administration interface when you create a new policy. List of available functions for module you can see only after choosing a module. Or read it from PHP code in the module.php file.

For restoring content. See module: content, function: restore.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Lisa Pini

Monday 31 August 2009 1:15:43 am

Hi,
Thanks for the reply

Lisa

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 00:41:45
Script start
Timing: Jan 31 2025 00:41:45
Module start 'layout'
Timing: Jan 31 2025 00:41:45
Module start 'content'
Timing: Jan 31 2025 00:41:46
Module end 'content'
Timing: Jan 31 2025 00:41:46
Script end

Main resources:

Total runtime0.7828 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1328151.2109
Module start 'layout' 0.00470.0032 739.3438220.6875
Module start 'content' 0.00790.7740 960.03134,441.4609
Module end 'content' 0.78190.0009 5,401.49227.8438
Script end 0.7827  5,409.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4487160.0002
Check MTime0.00130.1684160.0001
Mysql Total
Database connection0.00080.105310.0008
Mysqli_queries0.706790.2793570.0124
Looping result0.00050.0601550.0000
Template Total0.738794.420.3694
Template load0.00210.269820.0011
Template processing0.736694.103320.3683
Template load and register function0.00160.206110.0016
states
state_id_array0.00150.191410.0015
state_identifier_array0.00080.107820.0004
Override
Cache load0.00180.2241180.0001
Sytem overhead
Fetch class attribute can translate value0.00160.210720.0008
Fetch class attribute name0.00180.233040.0005
XML
Image XML parsing0.00060.078720.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00170.2151180.0001
String conversion0.00000.000640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6

Time used to render debug report: 0.0001 secs