Revision: 6404
http://care2002.svn.sourceforge.net/care2002/?rev=6404&view=rev
Author: robertmeggle
Date: 2010-06-29 08:58:29 +0000 (Tue, 29 Jun 2010)
Log Message:
-----------
translation of the comments
Modified Paths:
--------------
care2x/trunk/classes/ladezeit/ladezeitclass.php
Modified: care2x/trunk/classes/ladezeit/ladezeitclass.php
===================================================================
--- care2x/trunk/classes/ladezeit/ladezeitclass.php 2010-06-28 17:56:14 UTC
(rev 6403)
+++ care2x/trunk/classes/ladezeit/ladezeitclass.php 2010-06-29 08:58:29 UTC
(rev 6404)
@@ -1,17 +1,16 @@
<?php
-/* G\xFCnni <guenni1981 at lycos dot de> */
-// Erstellen der neuen Klasse
+/* G�nni <guenni1981 at lycos dot de> */
+// Create of the new class
class ladezeit {
- // Festlegen der von der Klasse intern genutzten Variablen
+ // definition of the local variables
var $starttime;
var $endtime;
- // Erstellen der Funktion start()
function start() {
- // Microsekunden und sekundenn in Variablen speichern
+ // Microseconds and store it to a local vairable
list($usec, $sec) = explode(" ",microtime());
- // Speichern des Ergebnisses in der internen Variable $starttime
+ // Save the result to the internal $starttime
$this->starttime = ((float)$usec + (float)$sec);
}
@@ -21,10 +20,10 @@
}
function ausgabe() {
- // Endzeit - Startzeit = gebrauchte ladezeit
+ // Endtime - Starttime = relative time what we want to know
$time = $this->endtime - $this->starttime;
- // Ausgabe des Ergebnisses
+ // Show it
echo 'Page generation time: '.$time;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers