Thanks for adding the triggers. I think operationIsAvailable should be not moved into eZContentOperationCollection::operationIsAvailable(). The function has a more global meaning. Is could be used for other modules as content.
I would put it in eZOperationHandler or eZTrigger. Best regards, Björn Dieding ----------------------------------------------- Björn Dieding | Executive Director xrow GmbH Enterprise Content Management Am Lindener Berge 22 30449 Hannover Phone: +49 (511) 473 91 54 01 Mobile: +49 (151) 12169868 Skype: bjoerndieding Email: [email protected] Web: http://www.xrow.com Phone (general office): +49 (511) 473 91 54 00 CEO: Björn Dieding, Sören Meyer TIN: DE257265797 HRB: Hannover 202464 ----------------------------------------------- Disclaimer: This electronic transmission is strictly confidential and intended solely for the addressee. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error it would be helpful if you could notify xrow GmbH as soon as possible. -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Jerome Renard Gesendet: Montag, 23. Februar 2009 17:54 An: [email protected] Betreff: [sdk-svn] "[Commit: Trunk]" 23024 [1/2] - in /trunk: doc/bc/4.1/ doc/changelogs/4.1/unstable/ kernel/content/ settings/ Author: jr Date: Mon Feb 23 17:53:51 2009 New Revision: 23024 Log: - Implemented enhancement #14481: Add new triggers Modified: trunk/doc/bc/4.1/changes-4.1.0.txt trunk/doc/changelogs/4.1/unstable/CHANGELOG-4.1.0alpha2-to-4.1.0beta1 trunk/kernel/content/action.php trunk/kernel/content/ezcontentoperationcollection.php trunk/kernel/content/hide.php trunk/kernel/content/operation_definition.php trunk/kernel/content/removeobject.php trunk/kernel/content/section_edit.php trunk/kernel/content/state_edit.php trunk/kernel/content/translation.php trunk/kernel/content/view.php trunk/settings/workflow.ini -- Sdk-public mailing list [email protected] http://lists.ez.no/mailman/listinfo/sdk-public
