/app/Model/PerguntaResposta.php
https://github.com/decapattack/fishbox · PHP · 15 lines · 12 code · 2 blank · 1 comment · 0 complexity · cb89df58a2ed6f3fb06af3b5e416f558 MD5 · raw file
- <?php
- class PerguntaResposta extends AppModel {
- //public $hasMany = array('Resposta');
- public $hasMany = array(
- 'Resposta' => array(
- 'className' => 'Resposta',
- 'foreignKey' => 'pergunta_respostas_id',
- 'conditions' =>'',
- 'order' => ''
- )
- );
- }
- ?>