I would like to save my date with this method:
function saveDocument($document){
if ($this->Document->save($document))
{
$this->flash('Das Dokument wurde
gespeichert.','/documents/view/'.$this->Document->getLastInsertId());
}
}
but i don't know, how can i calling this method from an other
controller.
Thank you.
Klaus Schwarzkopf
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---