Newbie questions
| From: | Madeleine D. | Date: | Tue, 18 Mar 2003 00:01:01 +0000 |
| Subject: | Newbie questions | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3103@lists.php.net to get a copy of this message | ||
Hi!
Apologies in advance for very basic questions.
We have decided to do a major new project in PHP/GTK in order to get the
cross-platform, Web-based future aspects that we need. I've spent some
time with the tutorials and some code snippets, so I have a rough idea of
the pieces and parts.
But....
1. Can anybody give me the idea behind the '$this' aspect? It appears
that this will matter to us because we want to have use ItemFactory calling
other screens off the main one.
2. Is there anything written down about the general flow of processing?
For instance: I discovered today that, while I can include a function file
in my main php file (which then sets up the main window), I can't get to
the functions directly via the ItemFactory items. I have to setup another
function in the main window that calls the actual function in the external
function file. Why can't it get there, when the file has already been
included above?
Example: mb.php includes functions.inc which has a date function
mb.php includes window.php which sets up the ItemFactory menu
one of the IF's calls the date function
window.php requires a function that calls the date function again
3. Is there any problem with field edits? I.e., we need to check data and
entry as the user leaves the field.
Appreciate the help.
Madeleine D.