can_create_class_list customization ?

Author Message

Xavier Portebois

Friday 18 May 2007 6:01:07 am

Hello everyone.

I put on a web site the "<i>website_toolbar</i>" template, which allows the admin to edit and create content directly from the Front End.

Doing this, I notice a property on the content object :

can_create_class_list

Its contains all the Ids of the class that can be created under the current object, therefore its seems a really great way to avoid the users to create any object anywhere.
The problem is I cannot find a way to modify its value.

Does anyone know something about this property ? It's "not documented yet", alas.

Thanks by advance,

:Xavier Portebois.

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

Main resources:

Total runtime0.0130 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.0051 588.2500151.2266
Module start 'layout' 0.00510.0026 739.476636.6641
Module start 'content' 0.00770.0039 776.140686.1563
Module end 'content' 0.01160.0014 862.296929.9922
Script end 0.0130  892.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002317.8737140.0002
Check MTime0.00118.2293140.0001
Mysql Total
Database connection0.00075.526010.0007
Mysqli_queries0.002418.405930.0008
Looping result0.00000.099110.0000
Template Total0.00107.610.0010
Template load0.00085.973810.0008
Template processing0.00021.638910.0002
Override
Cache load0.00054.072510.0005
General
dbfile0.00032.279480.0000
String conversion0.00000.045940.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