PageRenderTime 30ms CodeModel.GetById 25ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/app/Model/PerguntaResposta.php

https://github.com/decapattack/fishbox
PHP | 15 lines | 12 code | 2 blank | 1 comment | 0 complexity | cb89df58a2ed6f3fb06af3b5e416f558 MD5 | raw file
 1<?php
 2
 3class PerguntaResposta extends AppModel {
 4    //public $hasMany = array('Resposta');
 5        public $hasMany = array(
 6    'Resposta' => array(
 7        'className'  => 'Resposta',
 8        'foreignKey' => 'pergunta_respostas_id',
 9        'conditions' =>'',
10        'order'      => ''
11        )
12);
13}
14
15?>