Changeset 1401

Show
Ignore:
Timestamp:
06/18/2009 04:12:59 AM (15 months ago)
Author:
BrianKoontz
Message:

Initial proof-of-concept, WikkaAction

Location:
branches/plugin_arch2
Files:
9 added
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • branches/plugin_arch2/libs/Wakka.class.php

    r1346 r1401  
    2525 */ 
    2626 
     27require_once('action.class.php'); 
     28 
    2729/**#@+ 
    2830 * Numeric constant used as default. May be made a configurable value. 
     
    589591                        ob_start(); 
    590592                        include $fullfilepath;                  // this is where it all happens! 
     593                        if(TRUE === class_exists("WikkaAction_".basename($filename, '.php'))) 
     594                        { 
     595                                $action_class = "WikkaAction_".basename($filename, '.php'); 
     596                                $action = new $action_class ($this); 
     597                                $action->process($vars); 
     598                        } 
    591599                        $output = ob_get_contents(); 
    592600                        ob_end_clean();