Hello,
I'm using an own PagesController with a pageModel which is not using a
table ($useTable = false).
The Page-Model has an attribute "hasOne = array('Member' =>
array('className' => 'Member', 'foreignKey' => 'mID'))" to make the
access to the Member-Controller in Page-Controller possible.
why?
-------
clearly, I've a function index() in Pages Controller with this
content:
function index(){
$tmp = $this->Page->Member->find("`updated` > '".$this->Session-
>read('lastlogin')."'");
var_dump($tmp);
}// end checkNewFriends
So I want to read some information out of my member-table by using the
find-Operation of the corresponding class.
But this is the problem. That don't want to work.
Here is the error message
"Notice: Undefined property: Page::$Member in C:\wwwroot\..."
I hope to find some help here :-)
Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---