Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
隐藏空白更改
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
文本样式
更改外观
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
9年前
差异永不过期
清除
导出
分享
解释
0 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
64 行
全部复制
1 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
64 行
全部复制
<?php
<?php
/*##################################################
/*##################################################
* BlogExtensionPointProvider.class.php
* BlogExtensionPointProvider.class.php
* -------------------
* -------------------
* begin : November 04, 2014
* begin : November 04, 2014
* copyright : (C) 2014 Anthony VIOLET
* copyright : (C) 2014 Anthony VIOLET
* email : anthony.violet@outlook.fr
* email : anthony.violet@outlook.fr
*
*
*
*
###################################################
###################################################
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*
###################################################*/
###################################################*/
class BlogExtensionPointProvider extends ExtensionPointProvider
class BlogExtensionPointProvider extends ExtensionPointProvider
{
{
public function __construct()
public function __construct()
{
{
parent::__construct('blog');
parent::__construct('blog');
}
}
public function menus()
public function menus()
{
{
return new ModuleMenus(array(
return new ModuleMenus(array(
new BlogModuleMiniMenu()
new BlogModuleMiniMenu()
));
));
}
}
public function comments()
public function comments()
{
{
return new CommentsTopics(array(new BlogCommentsTopic()));
return new CommentsTopics(array(new BlogCommentsTopic()));
}
}
public function url_mappings()
public function url_mappings()
{
{
复制
已复制
复制
已复制
return new UrlMappings(array(new DispatcherUrlMapping('
/index.php')));
return new UrlMappings(array(new DispatcherUrlMapping('
/blog
/index.php')));
}
}
public function css_files()
public function css_files()
{
{
$module_css_files = new ModuleCssFiles();
$module_css_files = new ModuleCssFiles();
$module_css_files->adding_running_module_displayed_file('blog.css');
$module_css_files->adding_running_module_displayed_file('blog.css');
return $module_css_files;
return $module_css_files;
}
}
public function tree_links()
public function tree_links()
{
{
return new BlogTreeLinks();
return new BlogTreeLinks();
}
}
}
}
?>
?>
已保存差异
原始文本
打开文件
<?php /*################################################## * BlogExtensionPointProvider.class.php * ------------------- * begin : November 04, 2014 * copyright : (C) 2014 Anthony VIOLET * email : anthony.violet@outlook.fr * * ################################################### * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/ class BlogExtensionPointProvider extends ExtensionPointProvider { public function __construct() { parent::__construct('blog'); } public function menus() { return new ModuleMenus(array( new BlogModuleMiniMenu() )); } public function comments() { return new CommentsTopics(array(new BlogCommentsTopic())); } public function url_mappings() { return new UrlMappings(array(new DispatcherUrlMapping('/index.php'))); } public function css_files() { $module_css_files = new ModuleCssFiles(); $module_css_files->adding_running_module_displayed_file('blog.css'); return $module_css_files; } public function tree_links() { return new BlogTreeLinks(); } } ?>
更改后文本
打开文件
<?php /*################################################## * BlogExtensionPointProvider.class.php * ------------------- * begin : November 04, 2014 * copyright : (C) 2014 Anthony VIOLET * email : anthony.violet@outlook.fr * * ################################################### * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/ class BlogExtensionPointProvider extends ExtensionPointProvider { public function __construct() { parent::__construct('blog'); } public function menus() { return new ModuleMenus(array( new BlogModuleMiniMenu() )); } public function comments() { return new CommentsTopics(array(new BlogCommentsTopic())); } public function url_mappings() { return new UrlMappings(array(new DispatcherUrlMapping('/blog/index.php'))); } public function css_files() { $module_css_files = new ModuleCssFiles(); $module_css_files->adding_running_module_displayed_file('blog.css'); return $module_css_files; } public function tree_links() { return new BlogTreeLinks(); } } ?>
查找差异