Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Masquer les espaces
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Styles de texte
Modifier l’apparence
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled diff
Créé
il y a 9 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
0 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
64 lignes
Copier tout
1 ajout
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
64 lignes
Copier tout
<?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()
{
{
Copier
Copié
Copier
Copié
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();
}
}
}
}
?>
?>
Différences enregistrées
Texte d'origine
Ouvrir un fichier
<?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(); } } ?>
Texte modifié
Ouvrir un fichier
<?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(); } } ?>
Trouver la différence