$proprietarios =
$this->Multa->Veiculo->Proprietario->find('list',
array(
'order' => 'nome',
'fields' => 'nome' ));
result:
Array
(
[57] =>
[19] => -
[15] => -
[27] => aaaa!
[26] => aaaaaaaa
[25] => aaaaaaaa
[51] => bla
[16] => celso
[17] => celso
[9] => Celso
[46] => Frederico
[3] => Gabriel
[45] => Gloria7777
[55] => paulo
[70] => qqqqqqqqqqqqqqqqqq
[7] => Rafael
[44] => Rita
[56] => Rita
[63] => Rita
[61] => Rita
[5] => Rita P
[65] => RitaRita
[67] => RitaRita
[66] => RitaRita
[18] => rufino
[48] => teste
[59] => Teste
[58] => Teste
[42] => teste
[10] => Testolino da Silva
[60] => tiago
[62] => tiago
[6] => Tiago Imazio
[36] => tom, o gato
[13] => Ultimos ultimatos
[1] => Usla
[69] => uuuuuuuuuuuuuuuuuu
[71] => Velinho da Silva
[68] => wefwerwedwerwe
[43] => Zé Ramalho
)
$proprietarios =
$this->Multa->Veiculo->Proprietario->find('list',
array(
'order' => 'nome',
'fields' => 'email,nome' ));
Array
(
[] => Zé Ramalho
[cels...@gmailcom] => aaaaaaaa
[d] => celso
[[email protected]] => wefwerwedwerwe
[[email protected]] => Rita
[[email protected]] => tiago
[[email protected]] => uuuuuuuuuuuuuuuuuu
[[email protected]] => Velinho da Silva
)
***Why?
--
You received this message because you are subscribed to the Google Groups
"CakePHP" 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=.