OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / widgets / wiki_main / include / plugin / calendar_read.inc.php
1 <?php
2 /**
3  * calendar_readプラグイン
4  *
5  * PHP versions 5
6  *
7  * LICENSE: This source file is licensed under the terms of the GNU General Public License.
8  *
9  * @package    Magic3 Framework
10  * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
11  * @copyright  Copyright 2006-2008 Magic3 Project.
12  * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
13  * @version    SVN: $Id: calendar_read.inc.php 1131 2008-10-26 02:47:29Z fishbone $
14  * @link       http://www.magic3.org
15  */
16 // Copyright (C)
17 //   2003,2005 PukiWiki Developers Team
18 //   2001-2002 Originally written by yu-ji
19 // License: GPL v2 or (at your option) any later version
20 //
21 // Calendar_read plugin (needs calendar plugin)
22
23 function plugin_calendar_read_convert()
24 {
25         global $command;
26
27         if (! file_exists(PLUGIN_DIR . 'calendar.inc.php')) return FALSE;
28
29         require_once PLUGIN_DIR.'calendar.inc.php';
30         if (! function_exists('plugin_calendar_convert')) return FALSE;
31
32         $command = 'read';
33         $args = func_num_args() ? func_get_args() : array();
34         return call_user_func_array('plugin_calendar_convert', $args);
35 }
36 ?>