示例#1
0
文件: search.php 项目: ecj2/kaku
 public function __construct()
 {
     Extension::setName("Simple Search");
     $GLOBALS["Hook"]->addFilter("search", $this, "manageSearch");
 }
示例#2
0
文件: truncate.php 项目: ecj2/kaku
 public function __construct()
 {
     Extension::setName("Truncate Posts");
     $GLOBALS["Hook"]->addFilter("post_body", $this, "truncatePostBody");
 }
示例#3
0
文件: disqus.php 项目: ecj2/kaku
 public function __construct()
 {
     Extension::setName("Disqus Forum");
     $GLOBALS["Hook"]->addFilter("comment_source", $this, "getDisqusForum");
 }
示例#4
0
文件: pagination.php 项目: ecj2/kaku
 public function __construct()
 {
     Extension::setName("Post Pagination");
     $GLOBALS["Hook"]->addFilter("next_page", $this, "getNextPage");
     $GLOBALS["Hook"]->addFilter("previous_page", $this, "getPreviousPage");
 }