首页 热点专区 义务教育 高等教育 出国留学 考研考公

phalcon是有个bug的?

发布网友

我来回答

1个回答

热心网友

=, function() { $flash = new , ,在controller里面,please modify the article title; =;falsh;服务;save()) { $this-: public function validation() { $this-;set(;flash;;Mvc. Register the flash service with custom CSS classes */ $di-: , ;The slug already exists in other articles;getMessages() as $message) { $this-;flashSession-;success;error($message);redirect($paginateUrl); $this-;, ;warning; =; ;alert alert-warning; )); return $flash; }); 以;** 1;validate(new Uniqueness(array( ;view-;disable(); } 当然. ;success($Article-;title ;Phalcon; ;Phalcon: if ($Article-;slug;;Flash;message;, ;notice;alert alert-success;Direct(array( ;error; =; ;alert alert-danger callout callout-danger;;Model为例; =; ;validationHasFailed() == true) { return false; ,你也可以自定义验证信息; =; ;alert alert-info;flash-; ))); if ($this-;has been updated;); } else { foreach ($Article-; } return $this-;response-;field假设你已经注册

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com