Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16591 anikendra 1
<?php
2
/**
3
 * Test App Comment Model
4
 *
5
 * CakePHP :  Rapid Development Framework (http://cakephp.org)
6
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7
 *
8
 * Licensed under The MIT License
9
 * For full copyright and license information, please see the LICENSE.txt
10
 * Redistributions of files must retain the above copyright notice.
11
 *
12
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
13
 * @link          http://cakefoundation.org/projects/info/cakephp CakePHP Project
14
 * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model
15
 * @since         CakePHP v 1.2.0.7726
16
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
17
 */
18
 
19
/**
20
 * Class TestPluginAuthors
21
 *
22
 * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model
23
 */
24
class TestPluginAuthors extends TestPluginAppModel {
25
 
26
	public $useTable = 'authors';
27
 
28
	public $name = 'TestPluginAuthors';
29
 
30
	public $validate = array(
31
		'field' => array(
32
			'notBlank' => array(
33
				'rule' => 'notBlank',
34
				'message' => 'I can haz plugin model validation message',
35
			),
36
		),
37
	);
38
 
39
}