diff options
Diffstat (limited to 'examples/class')
-rw-r--r-- | examples/class/externuser.class.php | 40 | ||||
-rw-r--r-- | examples/class/issue.class.php | 44 | ||||
-rw-r--r-- | examples/class/message.class.php | 40 | ||||
-rw-r--r-- | examples/class/pad.class.php | 40 | ||||
-rw-r--r-- | examples/class/stage.class.php | 39 |
5 files changed, 0 insertions, 203 deletions
diff --git a/examples/class/externuser.class.php b/examples/class/externuser.class.php deleted file mode 100644 index 73c41bd..0000000 --- a/examples/class/externuser.class.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott 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 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -require_once "class/object.class.php"; - -/* - * Non-application users - */ -class ExternUser extends Object -{ - /* - * Constructor - */ - function __construct($guid = null) - { - $cols = array( - "guid", - "email", - "emailConfKey" - ); - - parent::__construct("extern-user", $cols); - $this->loadObj($guid); - } -} - -?> diff --git a/examples/class/issue.class.php b/examples/class/issue.class.php deleted file mode 100644 index 10b1661..0000000 --- a/examples/class/issue.class.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php - -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott 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 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -require_once "class/object.class.php"; - -/* - * Pad issues - */ -class Issue extends Object -{ - /* - * Constructor - */ - function __construct($guid = null) - { - $cols = array( - "guid", - "number", - "assignee", - "unread", - "desc", - "due", - "tags" - ); - - parent::__construct("issue", $cols); - $this->loadObj($guid); - } -} - -?> diff --git a/examples/class/message.class.php b/examples/class/message.class.php deleted file mode 100644 index ac8444c..0000000 --- a/examples/class/message.class.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott 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 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -require_once "class/object.class.php"; - -/* - * User messages and log messages - */ -class Message extends Object -{ - /* - * Constructor - */ - function __construct($guid = null) - { - $cols = array( - "guid", - "author", - "message" - ); - - parent::__construct("message", $cols); - $this->loadObj($guid); - } -} - -?> diff --git a/examples/class/pad.class.php b/examples/class/pad.class.php deleted file mode 100644 index 32994e5..0000000 --- a/examples/class/pad.class.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott 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 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -require_once "class/object.class.php"; - -/* - * Scrott pads - */ -class Pad extends Object -{ - /* - * Constructor - */ - function __construct($guid = null) - { - $cols = array( - "guid", - "stage", - "nextIssueNumber" - ); - - parent::__construct("pad", $cols); - $this->loadObj($guid); - } -} - -?> diff --git a/examples/class/stage.class.php b/examples/class/stage.class.php deleted file mode 100644 index 1a2aadb..0000000 --- a/examples/class/stage.class.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php - -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott 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 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -require_once "class/object.class.php"; - -/* - * Pad stages - */ -class Stage extends Object -{ - /* - * Constructor - */ - function __construct($guid = null) - { - $cols = array( - "guid", - "stage" - ); - - parent::__construct("stage", $cols); - $this->loadObj($guid); - } -} - -?> |