Author: chabotc
Date: Thu Aug 14 02:09:54 2008
New Revision: 685825

URL: http://svn.apache.org/viewvc?rev=685825&view=rev
Log:
SHINDIG-512 by Erel Segal: GadgetBlacklist should be an interface, and 
BasicGadgetBlacklist should implement it

Modified:
    incubator/shindig/trunk/php/src/gadgets/GadgetBlacklist.php
    
incubator/shindig/trunk/php/src/gadgets/samplecontainer/BasicGadgetBlacklist.php

Modified: incubator/shindig/trunk/php/src/gadgets/GadgetBlacklist.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/GadgetBlacklist.php?rev=685825&r1=685824&r2=685825&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/GadgetBlacklist.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/GadgetBlacklist.php Thu Aug 14 
02:09:54 2008
@@ -18,7 +18,6 @@
  * 
  */
 
-abstract class GadgetBlacklist {
-
-       abstract function isBlacklisted($url);
-}
\ No newline at end of file
+interface GadgetBlacklist {
+        function isBlacklisted($url);
+}

Modified: 
incubator/shindig/trunk/php/src/gadgets/samplecontainer/BasicGadgetBlacklist.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/samplecontainer/BasicGadgetBlacklist.php?rev=685825&r1=685824&r2=685825&view=diff
==============================================================================
--- 
incubator/shindig/trunk/php/src/gadgets/samplecontainer/BasicGadgetBlacklist.php
 (original)
+++ 
incubator/shindig/trunk/php/src/gadgets/samplecontainer/BasicGadgetBlacklist.php
 Thu Aug 14 02:09:54 2008
@@ -24,7 +24,7 @@
  * The default file location is {$base_path}/blacklist.txt
  *
  */
-class BasicGadgetBlacklist {
+class BasicGadgetBlacklist implements GadgetBlacklist {
        private $rules = array();
 
        public function __construct($file = false)


Reply via email to