cvs: presentations /slides/php5intro/nl domxml-load.xml gtk-simple.xml simplexml-change.xml simplexml-load.xml streams.xml trace.png vardump.png
xdebug-cb-dump.xml xdebug-demo.xml xdebug-profile.xml xdebug-trace.xml xdebug.xml
| From: | Derick Rethans | Date: | Fri, 04 Jul 2003 18:46:19 +0000 |
| Subject: | cvs: presentations /slides/php5intro/nl domxml-load.xml gtk-simple.xml simplexml-change.xml simplexml-load.xml streams.xml trace.png vardump.png xdebug-cb-dump.xml xdebug-demo.xml xdebug-profile.xml xdebug-trace.xml xdebug.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-773@lists.php.net to get a copy of this message | ||
derick Fri Jul 4 14:46:19 2003 EDT
Removed files:
/presentations/slides/php5intro/nl trace.png vardump.png
xdebug-cb-dump.xml
xdebug-demo.xml
xdebug-profile.xml
xdebug-trace.xml xdebug.xml
Modified files:
/presentations/slides/php5intro/nl domxml-load.xml gtk-simple.xml
simplexml-change.xml
simplexml-load.xml streams.xml
Log:
- Updated slides
Index: presentations/slides/php5intro/nl/domxml-load.xml
diff -u presentations/slides/php5intro/nl/domxml-load.xml:1.1
presentations/slides/php5intro/nl/domxml-load.xml:1.2
--- presentations/slides/php5intro/nl/domxml-load.xml:1.1 Wed May 21 17:10:05 2003
+++ presentations/slides/php5intro/nl/domxml-load.xml Fri Jul 4 14:46:18 2003
@@ -24,6 +24,6 @@
echo "{$title} was written by {$author}\n";
}
}
-?>]]></example>
+? >]]></example>
</slide>
Index: presentations/slides/php5intro/nl/gtk-simple.xml
diff -u presentations/slides/php5intro/nl/gtk-simple.xml:1.1
presentations/slides/php5intro/nl/gtk-simple.xml:1.2
--- presentations/slides/php5intro/nl/gtk-simple.xml:1.1 Wed May 21 17:10:05 2003
+++ presentations/slides/php5intro/nl/gtk-simple.xml Fri Jul 4 14:46:18 2003
@@ -2,6 +2,35 @@
<slide fontsize="6em">
<title>PHP-GTK Simple</title>
- <example filename="hello.php" fontsize="1.2em" />
+ <example fontsize="1.2em"><![CDATA[<?php
+if (!extension_loaded('gtk')) {
+ dl( 'php_gtk.' . PHP_SHLIB_SUFFIX);
+}
+/* Called when the window is being destroyed. Simply quit the main loop. */
+function destroy()
+{
+ Gtk::main_quit();
+}
+
+/* Called when button is clicked. Print the message and destroy the window. */
+function hello()
+{
+ global $window;
+ print "Hello World!\n";
+ $window->destroy();
+}
+
+$window = &new GtkWindow();
+$window->connect('destroy', 'destroy');
+
+/* Create a button, connect its clicked signal to hello() function and add
+ * the button to the window. */
+$button = &new GtkButton('Hello World!');
+$button->connect('clicked', 'hello');
+$window->add($button);
+
+$window->show_all();
+Gtk::main();
+? >]]></example>
</slide>
Index: presentations/slides/php5intro/nl/simplexml-change.xml
diff -u presentations/slides/php5intro/nl/simplexml-change.xml:1.1
presentations/slides/php5intro/nl/simplexml-change.xml:1.2
--- presentations/slides/php5intro/nl/simplexml-change.xml:1.1 Wed May 21 17:10:05 2003
+++ presentations/slides/php5intro/nl/simplexml-change.xml Fri Jul 4 14:46:18 2003
@@ -17,7 +17,7 @@
echo $s->id;
$s->id = 20;
simplexml_save_file($s, 'security.new.xml');
-?>]]></example>
+? >]]></example>
<break />
Index: presentations/slides/php5intro/nl/simplexml-load.xml
diff -u presentations/slides/php5intro/nl/simplexml-load.xml:1.1
presentations/slides/php5intro/nl/simplexml-load.xml:1.2
--- presentations/slides/php5intro/nl/simplexml-load.xml:1.1 Wed May 21 17:10:05 2003
+++ presentations/slides/php5intro/nl/simplexml-load.xml Fri Jul 4 14:46:18 2003
@@ -10,7 +10,7 @@
foreach ($books as $book) {
echo "{$book->title} was written by {$book->author}\n";
}
-?>]]></example>
+? >]]></example>
<break lines="3" />
Index: presentations/slides/php5intro/nl/streams.xml
diff -u presentations/slides/php5intro/nl/streams.xml:1.1
presentations/slides/php5intro/nl/streams.xml:1.2
--- presentations/slides/php5intro/nl/streams.xml:1.1 Fri May 23 19:13:50 2003
+++ presentations/slides/php5intro/nl/streams.xml Fri Jul 4 14:46:18 2003
@@ -7,7 +7,7 @@
<bullet marginleft="2em">php://</bullet>
<bullet marginleft="2em">http://, https://, ftp://, ftps://</bullet>
<bullet marginleft="2em">compression.gzip://, compression.bz2://</bullet>
- <bullet>Gebruikers streams (register_filter() )</bullet>
+ <bullet>User streams (register_streams() )</bullet>
<bullet>Filters (php://filter)</bullet>
</list>