Class specific upload handler

Author Message

Oree Eyo

Wednesday 27 July 2005 1:30:58 am

Hello.
I'm writing an upload handler to handle html uploads and create article objects from them.
I'm using webdav to upload a html file and my handler creates a folder that represents the article object.
I can upload files into this folder, and all uploads are created as sub items of the article object.

I'd like to extend it to handle a folder that contains files which are related to the article.
I want to write anoter upload handler for folder that are inside the article object, but not to override the normal folder upload handler.
In other words. ezp should call my folder upload handler only if uploading into this (in that case, article) class.
Is it possible?

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 03:29:38
Script start
Timing: Jan 31 2025 03:29:38
Module start 'layout'
Timing: Jan 31 2025 03:29:38
Module start 'content'
Timing: Jan 31 2025 03:29:38
Module end 'content'
Timing: Jan 31 2025 03:29:38
Script end

Main resources:

Total runtime0.0240 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.1328151.2109
Module start 'layout' 0.00440.0039 739.3438220.6875
Module start 'content' 0.00830.0141 960.0313993.6797
Module end 'content' 0.02250.0015 1,953.710929.9922
Script end 0.0240  1,983.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002510.3221140.0002
Check MTime0.00104.3416140.0001
Mysql Total
Database connection0.00072.945610.0007
Mysqli_queries0.00239.393530.0008
Looping result0.00000.045610.0000
Template Total0.00114.510.0011
Template load0.00083.478410.0008
Template processing0.00020.969310.0002
Override
Cache load0.00052.171810.0005
General
dbfile0.00228.977880.0003
String conversion0.00000.038740.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