diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-06-08 15:09:08 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-06-08 21:42:34 +0100 |
| commit | 76692c8b291f16d9251d67f27078779f6737fe7e (patch) | |
| tree | d92ba170d781d60d4fcff107d5a46bad5bdbce4f /app/Module/InteractiveTreeModule.php | |
| parent | 238d6f46440eb68ffb982a7af1ec9dd37c8e75d7 (diff) | |
| download | webtrees-76692c8b291f16d9251d67f27078779f6737fe7e.tar.gz webtrees-76692c8b291f16d9251d67f27078779f6737fe7e.tar.bz2 webtrees-76692c8b291f16d9251d67f27078779f6737fe7e.zip | |
PHPDoc
Diffstat (limited to 'app/Module/InteractiveTreeModule.php')
| -rw-r--r-- | app/Module/InteractiveTreeModule.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app/Module/InteractiveTreeModule.php b/app/Module/InteractiveTreeModule.php index c8c6eb310f..8cb5450e01 100644 --- a/app/Module/InteractiveTreeModule.php +++ b/app/Module/InteractiveTreeModule.php @@ -1,6 +1,4 @@ <?php -namespace Fisharebest\Webtrees\Module; - /** * webtrees: online genealogy * Copyright (C) 2015 webtrees development team @@ -15,6 +13,8 @@ namespace Fisharebest\Webtrees\Module; * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +namespace Fisharebest\Webtrees\Module; + use Fisharebest\Webtrees\Auth; use Fisharebest\Webtrees\Controller\ChartController; use Fisharebest\Webtrees\Filter; @@ -88,7 +88,12 @@ class InteractiveTreeModule extends AbstractModule implements ModuleTabInterface </script>'; } - /** {@inheritdoc} */ + /** + * This is a general purpose hook, allowing modules to respond to routes + * of the form module.php?mod=FOO&mod_action=BAR + * + * @param string $mod_action + */ public function modAction($mod_action) { global $controller, $WT_TREE; @@ -144,6 +149,7 @@ class InteractiveTreeModule extends AbstractModule implements ModuleTabInterface } /** + * URL for our style sheet. * @return string */ public function css() { @@ -151,6 +157,8 @@ class InteractiveTreeModule extends AbstractModule implements ModuleTabInterface } /** + * URL for our JavaScript. + * * @return string */ public function js() { |
