Wrox Programmer Forums
|
BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1
This is the forum to discuss the Wrox book Professional PHP5 by Ed Lecky-Thompson, Heow Eide-Goodman, Steven D. Nowicki, Alec Cove; ISBN: 9780764572821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2013, 04:34 PM
Registered User
 
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Professional PHP5 ISBN:0-7645-7282-2

Hello guys,

I need help for test.php from pages 70-71. I am trying to understand where I am missing to be able write line code to show up information about Organization.

Code:
//PAGE 68
class Organiztion extends Entity{
...
public function __toString(){
  return $this->name
}
...
}

//PAGE 70
...
print "<h1>Organization - ".$objEntity->__toString()."</h1>";
...
When I call this method ($objEntity->__toString()), is it supposed to show the name of organization immediatly or I have modify this line of code?

Best Regards,
Peter
 
Old February 7th, 2013, 05:54 PM
Registered User
 
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please forget this thread!!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Issues - Beginning ASP.Net 2.0 ISBN 0-7645-8850-8 Amyh ASP.NET 2.0 Basics 3 February 5th, 2009 10:06 AM
Professional Javascript (ISBN 186100270X) keenlearner All Other Wrox Books 1 January 21st, 2007 11:02 AM
ISBN: 0-7645-6800-0 :Beginning VB.NET Databases Aiking BOOK: Beginning VB.NET Databases 1 July 11th, 2006 09:37 AM
Professional Java Security , ISBN 81-7366-293-2, p jaskaran Wrox Book Feedback 4 April 21st, 2006 08:21 AM
j2ee design and development ISBN:0-7645-4385-7 orabbit BOOK: Expert One-on-One J2EE Design and Development 1 June 7th, 2004 09:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.