bjori           Thu Aug  9 15:15:40 2007 UTC

  Modified files:              
    /phd/include        PhDHelper.class.php 
    /phd        build.php 
  Log:
  rename getMap to getElementMap
  
  
http://cvs.php.net/viewvc.cgi/phd/include/PhDHelper.class.php?r1=1.1&r2=1.2&diff_format=u
Index: phd/include/PhDHelper.class.php
diff -u phd/include/PhDHelper.class.php:1.1 phd/include/PhDHelper.class.php:1.2
--- phd/include/PhDHelper.class.php:1.1 Wed Aug  8 23:45:26 2007
+++ phd/include/PhDHelper.class.php     Thu Aug  9 15:15:40 2007
@@ -1,5 +1,5 @@
 <?php
-/*  $Id: PhDHelper.class.php,v 1.1 2007/08/08 23:45:26 bjori Exp $ */
+/*  $Id: PhDHelper.class.php,v 1.2 2007/08/09 15:15:40 bjori Exp $ */
 
 class PhDHelper {
     private $IDs            = array();
@@ -25,7 +25,7 @@
     final public function getParent($id) {
         return $this->IDMap[$id]["parent"];
     }
-    final public function getMap() {
+    final public function getElementMap() {
         return $this->elementmap;
     }
     final public function getTextMap() {
http://cvs.php.net/viewvc.cgi/phd/build.php?r1=1.11&r2=1.12&diff_format=u
Index: phd/build.php
diff -u phd/build.php:1.11 phd/build.php:1.12
--- phd/build.php:1.11  Thu Aug  9 15:14:07 2007
+++ phd/build.php       Thu Aug  9 15:15:40 2007
@@ -1,5 +1,5 @@
 <?php
-/*  $Id: build.php,v 1.11 2007/08/09 15:14:07 bjori Exp $ */
+/*  $Id: build.php,v 1.12 2007/08/09 15:15:40 bjori Exp $ */
 
 function err($no, $str, $file, $line) {
        global $notify;
@@ -55,7 +55,7 @@
 
     require "./formats/$output_format.php";
     $format = new $classname($IDs, $IDMap);
-    $formatmap = $format->getMap();
+    $formatmap = $format->getElementMap();
 
     $themes = $elementmaps = $textmaps = array();
 foreach($OPTIONS["output_theme"][$output_format] as $theme => $array) {
@@ -78,7 +78,7 @@
             default:
                 $themes[$themename] = new $themename($IDs, $IDMap);
         }
-        $elementmaps[$themename] = $themes[$themename]->getMap();
+        $elementmaps[$themename] = $themes[$themename]->getElementMap();
         $textmaps[$themename]    = $themes[$themename]->getTextMap();
     }
 }

Reply via email to