/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/controller/WebMVC.inc
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/controller/WebMVC.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by joko, Sat Mar 1 21:19:02 2003 UTC revision 1.3 by joko, Sat Mar 1 22:43:56 2003 UTC
# Line 15  Line 15 
15   * $Id$   * $Id$
16   *   *
17   * $Log$   * $Log$
18     * Revision 1.3  2003/03/01 22:43:56  joko
19     * propagating options properly
20     *
21   * Revision 1.2  2003/03/01 21:19:02  joko   * Revision 1.2  2003/03/01 21:19:02  joko
22   * now actually does something via '->handle'   * now actually does something via '->handle'
23   * established static component registry here   * established static component registry here
# Line 79  class WebMVC extends DesignPattern_MVC { Line 82  class WebMVC extends DesignPattern_MVC {
82    }    }
83        
84    function handle() {    function handle() {
85      print "MVC - performed result: " . Dumper($this->_performed_result);  
86      //exit;      // trace
87          print "MVC - performed result: " . Dumper($this->_performed_result);
88          //exit;
89    
90      if (!sizeof($this->_performed_result)) {      if (!sizeof($this->_performed_result)) {
91        user_error("MVC failed - performed result was empty.");        user_error("MVC failed - performed result was empty.");
92      }      }
# Line 88  class WebMVC extends DesignPattern_MVC { Line 94  class WebMVC extends DesignPattern_MVC {
94      // encapsulation here - no passthrough!!!      // encapsulation here - no passthrough!!!
95      $result = array(      $result = array(
96        'view' => $this->_performed_result[view],        'view' => $this->_performed_result[view],
97          'options' => $this->_performed_result[options],
98      );      );
99            
100      return $result;      return $result;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed