As I am weeding my way through Zend Sessions and Authentication, I noticed a
possible typo in the Zend_Auth_Adapter_DbTable manual (
http://framework.zend.com/manual/en/zend.auth.adapter.dbtable.html):

[code]

<?php
// Print the identity
echo $result->getIdentity() . "\n\n";

// Print the result row
print_r($identity);

[/code]

should most likely read:

[code]

<?php
//get the identity row object for the current authentication
$identity = $authAdapter->getResultRowObject();

// Print the identity
echo $result->getIdentity() . "\n\n";

// Print the result row
print_r($identity);

[/code]

Looks like there has been missing a line of code.


The other day there has been a post regarding adding comments on the manual
(similar to php.net). Had a look but didn't seem to see any links that allow
for commenting on the manual. Maybe I missed something. If yes, please point
it out to me. If no, it might be a nice feature for down the road to add
some code snippets or comments.

I am also looking forward to a demo app that uses all possible options in
the Zend Framework. So far it's pretty time consuming to piece it together.

Cheers,

Gunter

Reply via email to