上一页 1 ··· 92 93 94 95 96 97 98 99 100 ··· 164 下一页
摘要: Postman - REST Client或者Dev HTTP Client 阅读全文
posted @ 2013-03-28 16:16 火腿骑士 阅读(924) 评论(0) 推荐(0)
摘要: CodeIgniter中设计一个全局exception hook博客分类:PHPPHP在CodeIgniter中,当发生异常时,经常要通知系统管理员,因此有必要在全局的高度上 捕捉异常,因此可以写一个hook, 比如在config目录的hook.php中,加入: $hook['pre_controller'][] = array( 'class' => 'ExceptionHook', 'function' => 'SetExceptionHandler', 'filename' =&g 阅读全文
posted @ 2013-03-28 15:26 火腿骑士 阅读(193) 评论(0) 推荐(0)
摘要: SQL to Aggregation Framework Mapping Chart¶The aggregation framework allows MongoDB to provide native aggregation capabilities that corresponds to many common data aggregation operations in SQL. If you’re new to MongoDB you might want to consider the Frequently Asked Questions section for a sel 阅读全文
posted @ 2013-03-28 13:53 火腿骑士 阅读(303) 评论(0) 推荐(0)
摘要: SQL to MongoDB Mapping Chart¶In addition to the charts that follow, you might want to consider theFrequently Asked Questions section for a selection of common questions about MongoDB.Executables¶The following table presents the MySQL/Oracle executables and the corresponding MongoDB executa 阅读全文
posted @ 2013-03-28 13:49 火腿骑士 阅读(243) 评论(0) 推荐(0)
摘要: 分享jQuery瀑布流的插件和案例、几款jquery瀑布流插件、jquery瀑布流下载2012-11-06 分类:Jquery、技术分享 244 views“瀑布流布局”随着pinterest网的流行而出名,现在国内使用这种风格布局的网站也越来越多,比如说Mark之,蘑菇街,点点网,哇哦等等。今天,主要向大家介绍一些相关的制作插件,以及成功的案例,希望能给大家今后的工作有所帮助。制作瀑布流布局的优秀插件首先简单的向大家推荐几款制作瀑布流的jQuery插件,这些插件能帮助大家轻松的实现类似于pinterest的布局效果:1.MasonryMasonry是一个动态的网格布局插件。每个元素水平方向都 阅读全文
posted @ 2013-03-27 10:44 火腿骑士 阅读(260) 评论(0) 推荐(0)
摘要: PHP JQUERY JSON 实现瀑布流jquert.html 页面<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" 阅读全文
posted @ 2013-03-27 10:43 火腿骑士 阅读(178) 评论(0) 推荐(0)
摘要: php常用函数总结PHP String 函数 PHP:指示支持该函数的最早的 PHP 版本。 函数 描述 PHP addcslashes() 在指定的字符前添加反斜杠。 4 addslashes() 在指定的预定义字符前添加反斜杠。 3 bin2hex() 把 ASCII 字符的字符串转换为十六进制值。 3 chop() rtrim() 的别名。 3 chr() 从指定的 ASCII 值返回字符。 3 chunk_split() 把字符串分割为一连串更小的部分。 3 convert_cyr_string() 把字符由一种 Cyrillic 字符转换成另一种。 3 convert_uudecod 阅读全文
posted @ 2013-03-27 10:33 火腿骑士 阅读(249) 评论(0) 推荐(0)
摘要: php如何比较两个数组是否相等???有两个数组$a = array('aaa','bbb','ddd','aaa');$b = array('aaa','ddd','aaa','bbb');如何比较这两个数组是否相等,前提是不能使用sort()之类的内置函数进行排序。如果一定要使用内置函数,哪一个排序函数速度最快???++++++++++++++++++++++++++++++++++++++++++++++ $a = array('aaa',' 阅读全文
posted @ 2013-03-27 10:22 火腿骑士 阅读(297) 评论(0) 推荐(0)
摘要: PHP 为你提供一个叫__toString() 的函数,你可以用它来返回表示对象的字符串信息,而且一旦定义它,打印命令将调用它并打印出返回的字符串。View Code <?phpclass Person{ private $name; function __construct($name) { $this->name = $name; } function __toString() { return $this->name; }}$obj = new Person("小明");print $obj;?>输出结... 阅读全文
posted @ 2013-03-22 10:43 火腿骑士 阅读(1001) 评论(0) 推荐(0)
摘要: class Foo{ private function priFunc(){} protected function proFunc(){} public function pubFunc(){}} function get_class_all_methods($class){ $r = new ReflectionClass($class);//反射类 foreach($r->getMethods() as $key=>$methodObj){ if($methodObj->isPrivate()) $methods[$key... 阅读全文
posted @ 2013-03-22 10:39 火腿骑士 阅读(159) 评论(0) 推荐(0)
上一页 1 ··· 92 93 94 95 96 97 98 99 100 ··· 164 下一页