[contributions(DRUPAL-7--1):fago] /modules/faces README.txt faces.inc faces.module faces.test
User: fago Branch: DRUPAL-7--1 Date: Mon, 18 Jan 2010 11:17:43 +0000 Modified files: /modules/faces README.txt faces.inc faces.module faces.test Log message: overhauled the API: * added a new FacesRoot base clase which allows Extenders to access protected class properties * changed Extender Classes to be not instantiated. This makes reuseing code easier and avoids garbage collection troubles with PHP 5.2. Thus the extended methods are now invoked statically and get the Extendable object passed as function callbacks. * Extender Classes need not implement the extended interfaces any more, so the function signature may differ (e.g. to add the passed $element). Instead they have to declare their faces in the implementsFaces() method. * improved faces.inc inclusion method to be more robust Links: http://cvs.drupal.org/diff.php?path=contributions/modules/faces/README.txt&o... http://cvs.drupal.org/diff.php?path=contributions/modules/faces/faces.inc&ol... http://cvs.drupal.org/diff.php?path=contributions/modules/faces/faces.module... http://cvs.drupal.org/diff.php?path=contributions/modules/faces/faces.test&o...
participants (1)
-
drupal-cvs@drupal.org