摘要: selectAdd 以搜索方式插入一条数据 阅读全文
posted @ 2012-12-13 11:29 Thinking In Code 阅读(260) 评论(0) 推荐(0) 编辑
摘要: /** * 动态切换扩展模型 * @access public * @param string $type 模型类型名称 * @param mixed $vars 要传入扩展模型的属性变量 * @return Model */ public function switchModel($type,$vars=array()) { $class = ucwords(strtolower($type)).'Model'; if(!class_exists($class)) throw_excep... 阅读全文
posted @ 2012-12-13 10:15 Thinking In Code 阅读(1819) 评论(1) 推荐(0) 编辑