Search the web
Sign In
New User? Sign Up
php-objects · Discussions about Object Oriented Programming in PHP
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 956 - 985 of 9232   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
956
I think I was once able to assign to the $this reference in the constructor of a php class so that the new operator would return the object I've assigned...
Matt Friedman
mattfriedman...
Offline Send Email
Jan 1, 2003
3:59 pm
957
... The previous behaviour sounds to me like the bug ;-). Usually when I need to handle this dynamic creation of objects, I use a factory method from a manager...
Jesus M. Castagnetto
jcastagnetto
Offline Send Email
Jan 1, 2003
11:25 pm
958
I'm pretty sure I can do it in Javascript, but that's not a formal oop language although one can write and create objects. I'm familiar with the book you...
Matt Friedman
mattfriedman...
Offline Send Email
Jan 1, 2003
11:47 pm
959
... 4.4.0-dev from CVS), none returns an ... On 4.2.2, it can be made to transform into an Error object by ommiting the ampersand in the assignment to $this. ...
Derek Scruggs
derekscruggs
Offline Send Email
Jan 2, 2003
4:43 pm
960
I just switched some code to use "=" instead of "=&" and it seems to have worked on 4.3. So it would seem that you can assign to $this but you cannot reassign ...
Matt Friedman
mattfriedman...
Offline Send Email
Jan 2, 2003
6:35 pm
961
Indeed it seems to work even in 4.4.0-dev (CVS code), but I am not sure it will be a supported feature in general. See the thread from: ...
Jesus M. Castagnetto
jcastagnetto
Offline Send Email
Jan 3, 2003
1:17 am
962
FYI, I have reported this as requested: Bug #21380 Ability to assign to $this in constructor of class Hope this is helpful! Thanks... now I've got to go and...
Matt Friedman
mattfriedman...
Offline Send Email
Jan 3, 2003
4:23 am
963
Hello, This is just a reminder to let you know that the following polls are going on the php-objects mailing list that you are a subscriber. Please do not...
php-objects@yahoogrou...
Send Email
Jan 5, 2003
11:14 am
964
Is there any way to tell what type a variable is? My problem is this: I query a db table for a primary key that is an integer. If the key exists I return it,...
Rob
rcherry@...
Send Email
Jan 10, 2003
8:34 am
965
... Try if ($key === false) { // false it is } The third '=' compares the two to see that they are also of the same type. Or if you just want to check the...
John Luxford
lux1955
Offline Send Email
Jan 10, 2003
8:59 am
966
Awesome, thanks!! ... Rob ************************** Rob Cherry mailto:rob@... +27 21 447 7440 Jam Warehouse RSA Smart Business Innovation ...
Rob
rcherry@...
Send Email
Jan 10, 2003
9:08 am
967
... Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com...
almisr
Offline Send Email
Jan 10, 2003
11:47 am
968
Apart from the identity comparison operator mentioned in the list before (===), you can of course the functions gettype() or any of the is_*() functions that ...
Jesus M. Castagnetto
jcastagnetto
Offline Send Email
Jan 11, 2003
1:52 am
969
I am inserting dates into mysql using the curdate() function, which is generating a date in 2003-01-13 format. I need to do 2 things: 1. be able to retrieve...
Steve Miller
steve@...
Send Email
Jan 13, 2003
10:35 pm
970
This is not really a OOP in PHP type of question [grin]. A quick look at the MySQL manual would've answer your questions faster than anyone could: ...
Jesus M. Castagnetto
jcastagnetto
Offline Send Email
Jan 14, 2003
7:08 am
971
Maybe: <? $fromDB_date = "2003-01-14"; $date_array = explode("-", $fromDB_date); // add ten days to the day paramater $new_date = mktime(0,0,0,$date_array[1],...
Christopher Hendry
rollemus
Offline Send Email
Jan 14, 2003
10:20 am
972
Hi Steve, If you use PHP, you can get the desired result. See the code snippet below: // $SQLdate is the result from a database query. It is of the form: //...
Brian Hickey
slickhickus001
Offline Send Email
Jan 14, 2003
10:27 am
973
Thanks all! <tail between legs> And sorry about posting in the wrong list... </<tail between legs> steve...
Steve Miller
steve@...
Send Email
Jan 14, 2003
1:32 pm
974
... Don't think this will work is date_array[2} + 10 is greater than the number of days in the month. mktime() (check php.net) returns the time in seconds....
Urb LeJeune
urb@...
Send Email
Jan 14, 2003
3:54 pm
975
Hi, I'm pretty new to PHP and I'm trying to create a PDF file. I would like to create a page header (some specific data needs to be displayed at the top of...
karissa96 <karissa.ne...
karissa96
Online Now Send Email
Jan 14, 2003
5:15 pm
976
Look at http://www.fpdf.org HTH ... From: karissa96 <karissa.newby@...> [mailto:karissa.newby@...] Sent: Tuesday, January 14, 2003 11:10 AM ...
Jay Blanchard
jay.blanchard@...
Send Email
Jan 14, 2003
5:17 pm
977
open a pdf file ans see the header and make the same man pdflib(4) /usr/local/man On mardi, jan 14, 2003, at 18:09 Europe/Paris, karissa96...
plumber
almisr
Offline Send Email
Jan 14, 2003
5:21 pm
978
Try fpdf http://www.fpdf.org/* They have tutorials at the site, you will most likely want Tutorial 2. Basically you extend the fpdf class and define a header...
mebarker
mbarker68@...
Send Email
Jan 14, 2003
5:36 pm
979
http://partners.adobe.com/asn/developer/acrosdk/docs/PDF_Creation_APIs/ PDFWriterAPIReference.pdf ___________________________________________________________...
plumber
almisr
Offline Send Email
Jan 14, 2003
5:47 pm
980
http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/ PDF/ ___________________________________________________________ Do You Yahoo!? -- Une...
plumber
almisr
Offline Send Email
Jan 14, 2003
5:53 pm
981
HOW TO CONVERT MYSQL DATABASE TO XML FILE USING PHP?...
srikant palivela <sri...
srikant_pv
Online Now Send Email
Jan 15, 2003
5:20 am
982
Try http://www.phpclasses.org/browse.html/package/782.html ... De : srikant palivela <srikant_pv@...> [mailto:srikant_pv@...] Envoye : mercredi 15...
Pierre Vaudrey
pierre.vaudrey@...
Send Email
Jan 15, 2003
7:02 am
983
... Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com...
plumber
almisr
Offline Send Email
Jan 15, 2003
7:31 am
984
I want to insert the following data into a database. <xml> <value1>56</value1> <value2>1222</value2> <value3>78.5</value3> </xml> This is easy and the SQL...
Fredrik Davidsson
fdqps@...
Send Email
Jan 15, 2003
8:52 am
985
Hi Fredrik, ... One option would be to use a database that support array/list/enumeration fields. If the values for 'value2' are one of a possible set, you can...
Jesus M. Castagnetto
jcastagnetto
Offline Send Email
Jan 15, 2003
9:26 am
Messages 956 - 985 of 9232   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help