/[cvs]/nfo/php/libs/org.netfrag.glib/Site/WebAppMVC.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/Site/WebAppMVC.php

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

revision 1.4 by joko, Tue Mar 11 01:22:27 2003 UTC revision 1.5 by joko, Fri Apr 4 21:18:37 2003 UTC
# Line 18  Line 18 
18   * $Id$   * $Id$
19   *   *
20   * $Log$   * $Log$
21     * Revision 1.5  2003/04/04 21:18:37  joko
22     * modified exception handling
23     *
24   * Revision 1.4  2003/03/11 01:22:27  joko   * Revision 1.4  2003/03/11 01:22:27  joko
25   * + fixed metadata for phpDocumentor   * + fixed metadata for phpDocumentor
26   *   *
# Line 91  class Site_WebAppMVC extends DesignPatte Line 94  class Site_WebAppMVC extends DesignPatte
94        //print "MVC - performed result: " . Dumper($this->_performed_result);        //print "MVC - performed result: " . Dumper($this->_performed_result);
95        //exit;        //exit;
96    
97      if (!sizeof($this->_performed_result)) {      if ($this->check_performed_result()) {
98        user_error("MVC failed - performed result was empty.");        // encapsulation here - no passthrough!!!
99          $result = array(
100            'view' => $this->_performed_result[view],
101            'options' => $this->_performed_result[options],
102          );
103          return $result;
104      }      }
105        
     // encapsulation here - no passthrough!!!  
     $result = array(  
       'view' => $this->_performed_result[view],  
       'options' => $this->_performed_result[options],  
     );  
       
     return $result;  
106    }    }
107        
108    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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