Assembla home | Assembla project page
 

Changeset 148

Show
Ignore:
Timestamp:
03/09/08 10:04:32 (9 months ago)
Author:
Slynderdale
Message:

Added a getPlugins function that returns the data for every plugin instead of a single plugin with getPlugin.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Driver/Abstract.php

    r103 r148  
    7676 
    7777    /** 
    78     * Converts a delimited string of hostmasks into a regular expression  
     78    * Converts a delimited string of hostmasks into a regular expression 
    7979    * that will match any hostmask in the original string. 
    8080    * 
     
    137137 
    138138        /** 
     139        * Returns all the plugins. 
     140    * 
     141        * @return Phergie_Plugin_Abstract_Base 
     142        */ 
     143        public abstract function getPlugins(); 
     144 
     145        /** 
    139146        * Returns a plugin instance 
    140147        * 
  • trunk/Phergie/Driver/Streams.php

    r105 r148  
    9595        $this->plugins[strtolower($plugin->getName())] = $plugin; 
    9696    } 
     97 
     98        /** 
     99        * Returns all the plugins. 
     100    * 
     101        * @return Phergie_Plugin_Abstract_Base 
     102        */ 
     103        public function getPlugins() 
     104        { 
     105            return $this->plugins; 
     106        } 
    97107 
    98108        /**