summaryrefslogtreecommitdiff
path: root/poc/poc02-compiling-cake/src/workdir/in/app/Model/Post.php
blob: 847be831ab128f93783b83a5bed4036827c8af0c (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
class Post extends AppModel {
    public $validate = array(
        'title' => array(
            'rule' => 'notEmpty'
        ),
        'body' => array(
            'rule' => 'notEmpty'
        )
    );
}