/[cvs]/nfo/php/libs/org.netfrag.glib/DesignPattern/Object.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/DesignPattern/Object.php

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

revision 1.3 by joko, Sun Feb 9 17:16:06 2003 UTC revision 1.4 by joko, Sat Feb 22 16:34:16 2003 UTC
# Line 3  Line 3 
3  //  $Id$  //  $Id$
4  // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
5  //  $Log$  //  $Log$
6    //  Revision 1.4  2003/02/22 16:34:16  joko
7    //  + minor fix: can seperate namespace identifier with slashes ('/') now
8    //
9  //  Revision 1.3  2003/02/09 17:16:06  joko  //  Revision 1.3  2003/02/09 17:16:06  joko
10  //  + handling arguments perl style ;-)  //  + handling arguments perl style ;-)
11  //  //
# Line 43  function mkObject() { Line 46  function mkObject() {
46    $classname = $namespacedClassname;    $classname = $namespacedClassname;
47    if (loadModule($namespacedClassname)) {    if (loadModule($namespacedClassname)) {
48      $classname = str_replace('::', '_', $namespacedClassname);      $classname = str_replace('::', '_', $namespacedClassname);
49        $classname = str_replace('/', '_', $classname);
50    }    }
51    $obj = new DesignPattern_Bridge($classname, $attributes);    $obj = new DesignPattern_Bridge($classname, $attributes);
52    return $obj;    return $obj;

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

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