![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
phalcon
leonpengweicn
这个作者很懒,什么都没留下…
展开
-
Phalcon分页功能
Controller代码:<?php// Current page to show// In a controller this can be:// $this->request->getQuery('page', 'int'); // GET// $this->request->getPost('page', 'int'); // POST$currentPage = (int)转载 2015-04-10 13:42:23 · 2573 阅读 · 0 评论 -
phalcon的验证机制
Phalcon的Validation有二个层级的,Form, Model ,下面列出各个层面的validation的classForm:NameExplanationExamplePresenceOfValidates that a field’s value is not null or empty原创 2015-04-10 11:57:30 · 2437 阅读 · 0 评论