svnno****@sourc*****
svnno****@sourc*****
2012年 6月 2日 (土) 00:14:46 JST
Revision: 111
http://sourceforge.jp/projects/smartupload/scm/svn/commits/111
Author: hryksbt
Date: 2012-06-02 00:14:46 +0900 (Sat, 02 Jun 2012)
Log Message:
-----------
バリデーション修正
Modified Paths:
--------------
trunk/src/Engine/app/models/content.php
-------------- next part --------------
Modified: trunk/src/Engine/app/models/content.php
===================================================================
--- trunk/src/Engine/app/models/content.php 2012-06-01 15:12:56 UTC (rev 110)
+++ trunk/src/Engine/app/models/content.php 2012-06-01 15:14:46 UTC (rev 111)
@@ -12,6 +12,14 @@
//'last' => false, // Stop validation after this rule
//'on' => 'create', // Limit validation to 'create' or 'update' operations
),
+ 'alphanumeric' => array(
+ 'rule' => array('alphanumeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
),
'category_id' => array(
'numeric' => array(