Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 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
 * @version       $Revision$
17
 * @modifiedby    $LastChangedBy$
18
 * @lastmodified  $Date$
19
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
20
 */
21
 
22
/**
23
 * Class TestPluginAuthors
24
 *
25
 * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model
26
 */
27
class TestPluginAuthors extends TestPluginAppModel {
28
 
29
	public $useTable = 'authors';
30
 
31
	public $name = 'TestPluginAuthors';
32
 
33
	public $validate = array(
34
		'field' => array(
35
			'notEmpty' => array(
36
				'rule' => 'notEmpty',
37
				'message' => 'I can haz plugin model validation message',
38
			),
39
		),
40
	);
41
 
42
}