[contributions:drewish] /sandbox/drewish/project_metrics/modules metrics.inc /sandbox/drewish/project_metrics/modules project_metric_test.inc /sandbox/drewish/project_metrics metrics.install metrics.module
User: drewish Branch: HEAD Date: Wed, 11 Jul 2007 22:03:48 +0000 Added files: /sandbox/drewish/project_metrics/modules metrics.inc Removed files: /sandbox/drewish/project_metrics/modules project_metric_test.inc Modified files: /sandbox/drewish/project_metrics metrics.install metrics.module Log message: I'm getting pretty excited about the way this is coming together. * Metrics can now return form elements to be placed on the admin/content/metrics/*/metrics form. The resulting values are serialized and stored in a new field in the {metrics_metric} table. * The .inc files in the modules directory now must be named after a module. They are only loaded if that module is enabled. * Added metrics_call_metric() to make it clearer when a metric was being called. * Changed around the operations on the metric calling api. Now there are only three operations, 'info', 'compute', and 'configure' all of which return arrays containing all the related information. This minimizes the number of repeated calls to a metric. * Now that metrics have options, it makes sense to relax the one metric per property restriction. You might want one metric to give you a point for a 50 word or greater title and another to give you a point for a 100 word or longer body. Links: http://cvs.drupal.org/diff.php?path=contributions/sandbox/drewish/project_me... http://cvs.drupal.org/diff.php?path=contributions/sandbox/drewish/project_me... http://cvs.drupal.org/diff.php?path=contributions/sandbox/drewish/project_me...
participants (1)
-
drupal-cvs@drupal.org