Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #3437 Wrong method name in example
Submitted: 2005-02-11 17:51 UTC
From: twinther at chello dot no Assigned: mj
Status: Bogus Package: Documentation
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-02-11 17:51 UTC] twinther at chello dot no
Description: ------------ Hi, this is what I assume is an error in the code listing for 'Example 21-1, Typical usage example for PEAR::Auth', PEAR::Auth, on the page called 'Introduction'. A method that doesn't exist in the class is called on line 22. Reproduce code: --------------- if ($a->checkAuth()) { /** * The output of your site goes here. */ } Expected result: ---------------- An error reporting that checkAuth() is a non-existing method. The code, I guess, should be: if ($a->getAuth()) { /** * The output of your site goes here. */ }

Comments

 [2005-02-11 19:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-02-24 16:31 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-10-23 17:37 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!