= 2 && $len <= 16); } /** * [IsExistSon 校验节点下是否存在子级数据] * @author Devil * @blog http://gong.gg/ * @version 0.0.1 * @datetime 2016-12-10T14:09:40+0800 */ public function IsExistSon() { return ($this->db(0)->where(array('pid'=>I('id')))->count() == 0); } } ?>