PageRenderTime 37ms CodeModel.GetById 29ms app.highlight 1ms RepoModel.GetById 5ms app.codeStats 0ms

/app/Model/Premio.php

https://github.com/decapattack/fishbox
PHP | 12 lines | 12 code | 0 blank | 0 comment | 0 complexity | 0a270e8bccf01176f0083f6970a382f7 MD5 | raw file
 1<?php
 2class Premio extends AppModel{
 3    public $validate = array(
 4        'nome'=>array(
 5            'rule'=>'notEmpty'
 6        ),
 7        'descricao'=>array(
 8            'rule'=>'notEmpty'
 9        )
10    );
11}
12?>