/[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.3 by joko, Wed Mar 5 18:54:45 2003 UTC revision 1.5 by joko, Fri Apr 4 21:18:37 2003 UTC
# Line 12  Line 12 
12   */   */
13    
14  /**  /**
15     * <b>Cvs-Log:</b>
16     *
17     * <pre>
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
25     * + fixed metadata for phpDocumentor
26     *
27   * Revision 1.3  2003/03/05 18:54:45  joko   * Revision 1.3  2003/03/05 18:54:45  joko
28   * updated docu - phpDocumentor is very strict about its 'blocks'...   * updated docu - phpDocumentor is very strict about its 'blocks'...
29   *   *
# Line 33  Line 42 
42   *   *
43   * Revision 1.1  2003/03/01 17:02:09  joko   * Revision 1.1  2003/03/01 17:02:09  joko
44   * + initial commit, inheriting from DesignPattern::MVC   * + initial commit, inheriting from DesignPattern::MVC
45   *   * </pre>
46   *   *
47   */   */
48    
# Line 85  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.3  
changed lines
  Added in v.1.5

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