What can I do with Input Handlers ?

Author Message

Arnaud Lafon

Monday 29 October 2007 3:57:07 am

Hi !

I've just discovered a feature when reading the attribute_edit.php...

Actually, I need to customize my register form with a kind of pre-filter : If input #1 is filled, no need to fill the #2 input, and if #2 is filled, no need to fill #1....
The class administration does not provide such a feature (setting an attribute to "required" if another is empty)

Input Handler sounds good to me, but I need a fast brief about this ;)

Could someone give me more information, or exemple about InputHandler implementation ?

Thanks a lot

Regards,
Arnaud

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com

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

Main resources:

Total runtime0.0343 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.1406151.2109
Module start 'layout' 0.00600.0040 739.3516220.7031
Module start 'content' 0.00990.0224 960.0547993.8047
Module end 'content' 0.03240.0019 1,953.859429.9922
Script end 0.0343  1,983.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00329.3750140.0002
Check MTime0.00123.4258140.0001
Mysql Total
Database connection0.00092.606010.0009
Mysqli_queries0.00236.636430.0008
Looping result0.00000.131210.0000
Template Total0.00144.010.0014
Template load0.00102.978710.0010
Template processing0.00030.981610.0003
Override
Cache load0.00072.035310.0007
General
dbfile0.006518.865180.0008
String conversion0.00000.020140.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