You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
342 B
PHTML
17 lines
342 B
PHTML
2 years ago
|
<?php
|
||
|
namespace Mobile\Logic;
|
||
|
|
||
|
/**
|
||
|
* 文档模型子模型 - 文章模型
|
||
|
*/
|
||
|
class ArticleLogic extends BaseLogic{
|
||
|
/* 自动验证规则 */
|
||
|
protected $_validate = array(
|
||
|
array('content', 'require', '内容不能为空!', self::MUST_VALIDATE , 'regex', self::MODEL_BOTH),
|
||
|
);
|
||
|
|
||
|
/* 自动完成规则 */
|
||
|
protected $_auto = array();
|
||
|
|
||
|
}
|