/[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.4 by joko, Sat Feb 22 16:34:16 2003 UTC revision 1.5 by joko, Thu Feb 27 16:36:02 2003 UTC
# Line 3  Line 3 
3  //  $Id$  //  $Id$
4  // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
5  //  $Log$  //  $Log$
6    //  Revision 1.5  2003/02/27 16:36:02  joko
7    //  re-allowed underscores ('_') in php classnames
8    //  does this break something?
9    //
10  //  Revision 1.4  2003/02/22 16:34:16  joko  //  Revision 1.4  2003/02/22 16:34:16  joko
11  //  + minor fix: can seperate namespace identifier with slashes ('/') now  //  + minor fix: can seperate namespace identifier with slashes ('/') now
12  //  //
# Line 38  function mkObject() { Line 42  function mkObject() {
42  //print Dumper($arg_list);  //print Dumper($arg_list);
43    $namespacedClassname = array_shift($arg_list);    $namespacedClassname = array_shift($arg_list);
44    if (strstr($namespacedClassname, '_')) {    if (strstr($namespacedClassname, '_')) {
45      print "mkObject: unallowed character in namespaced classname: '_' ($namespacedClassname)<br/>";      //print "mkObject: unallowed character in namespaced classname: '_' ($namespacedClassname)<br/>";
46      return;      //return;
47    }    }
48    //print "class: $classname<br>";    //print "class: $classname<br>";
49    $attributes = $arg_list;    $attributes = $arg_list;

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