Filter classes now ends with _filter in config entry
[shipsimu.git] / application / ship-simu / main / actions / web / class_WebLoginRefillAction.php
index 543d3fe3313706a0347c28924515bea65d5c8376..3120fac0c00aa89023e2ff8b4ae281c923396a0a 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class WebLoginMoneyRefillAction extends BaseAction implements Commandable, Registerable {
+class WebLoginRefillAction extends BaseAction implements Commandable, Registerable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebLoginMoneyRefillAction extends BaseAction implements Commandable, Regis
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebLoginMoneyRefillAction (ActionResolver $resolverInstance) {
+       public final static function createWebLoginRefillAction (ActionResolver $resolverInstance) {
                // Get a new instance
-               $actionInstance = new WebLoginMoneyRefillAction();
+               $actionInstance = new WebLoginRefillAction();
 
                // Set the resolver instance
                $actionInstance->setResolverInstance($resolverInstance);
@@ -70,10 +70,10 @@ class WebLoginMoneyRefillAction extends BaseAction implements Commandable, Regis
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Add user status filter here
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_class'));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
 
                // Is the refill page active?
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('refill_page_class'));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('refill_page_filter'));
        }
 }