And/or:
$found_username = $this->Username->find(am($this->postConditions(),
array('language_id' => $lang));

-or-

$found_username =
$this->Username->findByNameAndLanguageId($this->data['User']['name'],
$lang));
(PHP 5)

-or-

$found_username =
$this->Username->findByName_and_language_id($this->data['User']['name'],
$lang));
(PHP 4 & 5, but less elegant)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to