Commit e9c5af1f015d85cffda249a2e74d0c225069a5fb
1 parent
9fc347b9
added copyright and gpl notice
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2554 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
10 changed files
with
165 additions
and
48 deletions
lib/alert/AlertContent.inc
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * | |
| 4 | 3 | * $Id$ |
| 5 | - * | |
| 4 | + * | |
| 6 | 5 | * Contains the content for subscription alerts. Also responsible for inserting dynamic |
| 7 | 6 | * data into the notification text before the alert is sent |
| 8 | 7 | * |
| 9 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 8 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 9 | + * | |
| 10 | + * This program is free software; you can redistribute it and/or modify | |
| 11 | + * it under the terms of the GNU General Public License as published by | |
| 12 | + * the Free Software Foundation; either version 2 of the License, or | |
| 13 | + * (at your option) any later version. | |
| 14 | + * | |
| 15 | + * This program is distributed in the hope that it will be useful, | |
| 16 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | + * GNU General Public License for more details. | |
| 19 | + * | |
| 20 | + * You should have received a copy of the GNU General Public License | |
| 21 | + * along with this program; if not, write to the Free Software | |
| 22 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 10 | 23 | * |
| 11 | 24 | * @version $Revision$ |
| 12 | 25 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 13 | - * | |
| 14 | 26 | * @package lib.subscriptions |
| 15 | - */ | |
| 27 | + */ | |
| 16 | 28 | class AlertContent { |
| 17 | 29 | |
| 18 | 30 | /** | ... | ... |
lib/alert/delivery/EmailAlert.inc
| 1 | 1 | <?php |
| 2 | 2 | require_once("$default->fileSystemRoot/lib/email/Email.inc"); |
| 3 | - | |
| 4 | 3 | /** |
| 5 | - * | |
| 6 | 4 | * $Id$ |
| 7 | - * | |
| 5 | + * | |
| 8 | 6 | * Sends an email (subscription) alert. |
| 9 | 7 | * |
| 10 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 8 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 9 | + * | |
| 10 | + * This program is free software; you can redistribute it and/or modify | |
| 11 | + * it under the terms of the GNU General Public License as published by | |
| 12 | + * the Free Software Foundation; either version 2 of the License, or | |
| 13 | + * (at your option) any later version. | |
| 14 | + * | |
| 15 | + * This program is distributed in the hope that it will be useful, | |
| 16 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | + * GNU General Public License for more details. | |
| 19 | + * | |
| 20 | + * You should have received a copy of the GNU General Public License | |
| 21 | + * along with this program; if not, write to the Free Software | |
| 22 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 11 | 23 | * |
| 12 | 24 | * @version $Revision$ |
| 13 | 25 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 14 | - * | |
| 15 | 26 | * @package lib.alert.delivery |
| 16 | 27 | */ |
| 17 | 28 | class EmailAlert { | ... | ... |
lib/alert/delivery/SMSAlert.inc
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * | |
| 4 | 3 | * $Id$ |
| 5 | - * | |
| 6 | - * Sends an sms (subscription) alert. | |
| 7 | 4 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 5 | + * Sends an sms (subscription) alert (UNIMPLEMENTED). | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 12 | - * | |
| 13 | 25 | * @package lib.alert.delivery |
| 14 | 26 | */ |
| 15 | 27 | class SMSAlert { | ... | ... |
lib/archiving/ArchiveRestorationRequest.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 4 | + * | |
| 5 | + * Represents restoration requests for a document. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 5 | 13 | * |
| 6 | - * Represents restoration request for a document | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 7 | 18 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 12 | 25 | * @package lib.archiving |
| 13 | - */ | |
| 14 | - | |
| 26 | + */ | |
| 15 | 27 | class ArchiveRestorationRequest { |
| 16 | 28 | |
| 17 | 29 | /** | ... | ... |
lib/archiving/ArchivingSettings.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 5 | - * | |
| 4 | + * | |
| 6 | 5 | * Represents archive settings for a document. |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 7 | 18 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 12 | 25 | * @package lib.archiving |
| 13 | 26 | */ |
| 14 | - | |
| 15 | 27 | class ArchivingSettings { |
| 16 | 28 | |
| 17 | 29 | /** | ... | ... |
lib/archiving/ArchivingType.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 4 | + * | |
| 5 | + * Represents archiving types. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 5 | 13 | * |
| 6 | - * Represents archiving types | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 7 | 18 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 12 | 25 | * @package lib.archiving |
| 13 | 26 | */ |
| 14 | - | |
| 15 | 27 | class ArchivingType { |
| 16 | 28 | |
| 17 | 29 | /** | ... | ... |
lib/archiving/DocumentArchiveSettingsFactory.inc
| ... | ... | @@ -2,19 +2,31 @@ |
| 2 | 2 | require_once("$default->fileSystemRoot/lib/archiving/DocumentArchiving.inc"); |
| 3 | 3 | require_once("$default->fileSystemRoot/lib/archiving/ArchivingSettings.inc"); |
| 4 | 4 | require_once("$default->fileSystemRoot/lib/archiving/TimePeriod.inc"); |
| 5 | - | |
| 6 | 5 | /** |
| 7 | 6 | * $Id$ |
| 8 | - * | |
| 9 | - * Business logic for setting document archive settings | |
| 10 | 7 | * |
| 11 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 8 | + * Business logic for setting document archive settings. | |
| 9 | + * | |
| 10 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 11 | + * | |
| 12 | + * This program is free software; you can redistribute it and/or modify | |
| 13 | + * it under the terms of the GNU General Public License as published by | |
| 14 | + * the Free Software Foundation; either version 2 of the License, or | |
| 15 | + * (at your option) any later version. | |
| 16 | + * | |
| 17 | + * This program is distributed in the hope that it will be useful, | |
| 18 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 | + * GNU General Public License for more details. | |
| 21 | + * | |
| 22 | + * You should have received a copy of the GNU General Public License | |
| 23 | + * along with this program; if not, write to the Free Software | |
| 24 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 12 | 25 | * |
| 13 | 26 | * @version $Revision$ |
| 14 | 27 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 15 | - * @package lib.archiving | |
| 28 | + * @package lib.archiving | |
| 16 | 29 | */ |
| 17 | - | |
| 18 | 30 | class DocumentArchiveSettingsFactory { |
| 19 | 31 | |
| 20 | 32 | function handleTimePeriod($iTimeUnitID, $iUnits) { | ... | ... |
lib/archiving/DocumentArchiving.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 4 | + * | |
| 5 | + * Represents archive settings for a document. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 5 | 13 | * |
| 6 | - * Represents archive settings for a document | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 7 | 18 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 12 | 25 | * @package lib.archiving |
| 13 | 26 | */ |
| 14 | - | |
| 15 | 27 | class DocumentArchiving { |
| 16 | - | |
| 17 | 28 | /** |
| 18 | 29 | * The primary key |
| 19 | 30 | */ | ... | ... |
lib/archiving/TimePeriod.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 4 | + * | |
| 5 | + * Represents a time period. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 5 | 13 | * |
| 6 | - * Represents a time period | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 7 | 18 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 12 | 25 | * @package lib.archiving |
| 13 | 26 | */ |
| 14 | - | |
| 15 | 27 | class TimePeriod { |
| 16 | - | |
| 17 | 28 | /** |
| 18 | 29 | * The primary key |
| 19 | 30 | */ | ... | ... |
lib/archiving/TimeUnit.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 4 | + * | |
| 5 | + * Represents time units. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 5 | 13 | * |
| 6 | - * Represents time units | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 7 | 18 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file COPYING. | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| 12 | 25 | * @package lib.archiving |
| 13 | 26 | */ |
| 14 | - | |
| 15 | 27 | class TimeUnit { |
| 16 | 28 | |
| 17 | 29 | /** | ... | ... |