View Issue Details

IDProjectCategoryView StatusLast Update
0012690mantisbtcode cleanuppublic2014-11-07 17:01
Reportersveyret Assigned To 
PrioritylowSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Product Version1.2.3 
Summary0012690: Mantis object classes
Description

When I write a patch or a plug-in for Mantis, I often notice that a lot of code is re-used again and again in the different APIs. Especially, API managing objects (bugs, projects, users, etc.) often have the same basic functions, written the same way.
As I wanted to avoid this copy-paste, with always the risk not to modify something that should be, and as I am always worrying of forgetting something somewhere, I wrote a couple of classes which I can re-use for each object.

These classes could be included with the standard Mantis classes.

Hope this can help others.

Additional Information

Please find the classes, examples and readme in the attached tgz file.

TagsNo tags attached.
Attached Files
MantisObject.tgz (9,901 bytes)

Activities