Classes and Object Name Pattern

Author Message

Edwin Metselaar

Thursday 10 April 2003 11:39:13 pm

Hello,

I was wondering as an admin, you can make new classes. I created some stuff which had to do with downloads of files (like .zip and .pdf etc) and I tried to figure out what you could do with the "Object Name Pattern". I always put in <name>. That works of course. What is however the exact function of this field? Only to display a string of text in the admin/content section. Or can you do other things with it as well?

Thanks, Edwin

Bård Farstad

Friday 11 April 2003 1:31:19 am

This field will create a textual representation of the object. This is needed e.g. to be able to generate a path. You can in this field combine normal text and reference to attribute identifiers. E.g.
"User <first_name>, <last_name>"
Would generate a string which always startes with User followed by the first name and last name for that given user. The values inside <> must be a valid identifier. eZ publish will default to the first identifier.

--bård

Documentation: http://ez.no/doc

Edwin Metselaar

Friday 11 April 2003 1:39:39 am

Thanks! Edwin

Martin Ulrich

Saturday 04 October 2003 11:44:14 am

< You can in this field combine normal text and reference to attribute identifiers. E.g. >

but it seems it doesnt work with the datatype "Matrix".
If I put in the identifiers from matrix field I can see nothing in admins.
?
?

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

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

Main resources:

Total runtime0.7983 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 587.9141152.6250
Module start 'layout' 0.00450.0022 740.539139.4609
Module start 'content' 0.00670.7902 780.0000574.4453
Module end 'content' 0.79700.0013 1,354.445312.1641
Script end 0.7983  1,366.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3764160.0002
Check MTime0.00120.1525160.0001
Mysql Total
Database connection0.00080.097210.0008
Mysqli_queries0.749993.9387620.0121
Looping result0.00070.0861600.0000
Template Total0.772796.820.3864
Template load0.00230.286320.0011
Template processing0.770496.508020.3852
Template load and register function0.00020.027110.0002
states
state_id_array0.00120.151210.0012
state_identifier_array0.00180.222120.0009
Override
Cache load0.00190.2404200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.093530.0002
Fetch class attribute name0.00160.200350.0003
XML
Image XML parsing0.00080.094730.0003
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00070.0841170.0000
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs