/[cvs]/nfo/php/libs/org.netfrag.app/WebExplorer/MVC.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.app/WebExplorer/MVC.php

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

revision 1.11 by joko, Fri Apr 11 00:51:10 2003 UTC revision 1.12 by jonen, Fri Apr 18 13:40:54 2003 UTC
# Line 4  Line 4 
4   * $Id$   * $Id$
5   *   *
6   * $Log$   * $Log$
7     * Revision 1.12  2003/04/18 13:40:54  jonen
8     * + added 'topic' to requested vars which will currently be merged with the 'ap' var
9     *
10   * Revision 1.11  2003/04/11 00:51:10  joko   * Revision 1.11  2003/04/11 00:51:10  joko
11   * minor update: just testing stuff...   * minor update: just testing stuff...
12   *   *
# Line 96  class WebExplorer_MVC extends Site_WebAp Line 99  class WebExplorer_MVC extends Site_WebAp
99      $this->add_model( array(      $this->add_model( array(
100        //args => array( 'classname', 'guid', 'action', 'data_locator_key', 'block' ),        //args => array( 'classname', 'guid', 'action', 'data_locator_key', 'block' ),
101        request_args => array(        request_args => array(
102            // ApplicationTopic
103            'topic',
104          // ApplicationPage          // ApplicationPage
105          'ap',          'ap',
106          // important/required parameters for valid ecom-components          // important/required parameters for valid ecom-components
# Line 109  class WebExplorer_MVC extends Site_WebAp Line 114  class WebExplorer_MVC extends Site_WebAp
114          'ecom_data_source_key'          'ecom_data_source_key'
115        ),        ),
116        request_arg => array(        request_arg => array(
117            'topic' => array( query_arg => 't' ),
118          'ap' => array( query_arg => 'ap' ),          'ap' => array( query_arg => 'ap' ),
119          'ecom_label' => array( query_arg => 'ecl' ),          'ecom_label' => array( query_arg => 'ecl' ),
120          'ecom_type' => array( query_arg => 'ect' ),          'ecom_type' => array( query_arg => 'ect' ),
# Line 209  class WebExplorer_MVC extends Site_WebAp Line 215  class WebExplorer_MVC extends Site_WebAp
215    
216          // rewrite idents          // rewrite idents
217          create_function('&$_in, &$_out', '          create_function('&$_in, &$_out', '
218               // map Topic to Page if exists
219               if($_in[topic]) {
220                $_in[ap] = $_in[topic];
221              }
222            $idents = array ( ap, );            $idents = array ( ap, );
223            foreach($idents as $key) {            foreach($idents as $key) {
224              $_out[options][idents][$key] = $_in[$key];              $_out[options][idents][$key] = $_in[$key];

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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