Datatype "Option"

Author Message

Thomas Brandl

Thursday 24 July 2003 7:42:34 am

Hi,

can someone explain me what I can do with this datatype and how to use it? I tried it with a class and when instantiating an object, I don't really no what kind of values it expects.

I thought this was some kind of enum-field?

Esben Maaløe

Thursday 24 July 2003 3:44:33 pm

You can use it as a toggle

this item 2nd hand ? (checked if yes - otherwise not)

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

Main resources:

Total runtime0.6004 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.7813152.6094
Module start 'layout' 0.00650.0038 740.390639.3984
Module start 'content' 0.01030.5882 779.7891450.5859
Module end 'content' 0.59850.0018 1,230.37508.1953
Script end 0.6004  1,238.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5977160.0002
Check MTime0.00140.2384160.0001
Mysql Total
Database connection0.00150.245710.0015
Mysqli_queries0.558893.0789540.0103
Looping result0.00060.1068520.0000
Template Total0.565494.220.2827
Template load0.00200.328920.0010
Template processing0.563493.836920.2817
Template load and register function0.00030.042110.0003
states
state_id_array0.00070.121410.0007
state_identifier_array0.00140.232420.0007
Override
Cache load0.00160.259090.0002
Sytem overhead
Fetch class attribute can translate value0.00080.137120.0004
Fetch class attribute name0.00140.228220.0007
XML
Image XML parsing0.00020.040820.0001
class_abstraction
Instantiating content class attribute0.00000.001420.0000
General
dbfile0.00070.1123100.0001
String conversion0.00000.001740.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs