/app/Model/Premio.php
https://github.com/decapattack/fishbox · PHP · 12 lines · 12 code · 0 blank · 0 comment · 0 complexity · 0a270e8bccf01176f0083f6970a382f7 MD5 · raw file
- <?php
- class Premio extends AppModel{
- public $validate = array(
- 'nome'=>array(
- 'rule'=>'notEmpty'
- ),
- 'descricao'=>array(
- 'rule'=>'notEmpty'
- )
- );
- }
- ?>