Yeah. my mistake.
The post I referred also was saying user("id"). :D
Thanks for your kind reply. Raymond.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP relat
If it is not a typo, the reason is that it is not $this->Auth-
>user["id] but $this->Auth->user("id).
user() is a function of the AuthComponent, not a property.
Regards,
nIcO
On Jan 24, 11:49 am, raymond wrote:
> Hi, everyone.
> I ve entered CakePHP world recently and bumped into one issue.
> I
Hi, everyone.
I ve entered CakePHP world recently and bumped into one issue.
I need to get logged users information, especially primary key value
in user table.
I have tried $this->Auth->user["id] because I have read it from one
post in this group, but I checked that $this->Auth does not have any
u